MCP服务器安装工具

一个用于安装和运行MCP服务器的工具,支持从Git仓库直接安装。

  • by bartpotrykus1
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 bartpotrykus1/mcpserverexample

使用说明

安装

  1. 先决条件

    • 必须安装Git。
  2. 将以下服务器条目添加到MCP服务器配置中(例如。, mcp-servers.json):

{
  "mcpServers": {
     "testServer": {
        "command": "uvx",
        "args": [
          "--from",
          "git+https://github.com/bartpotrykus1/mcpserverexample.git",
          "mcp-server"
        ]
     }
  }
}
  1. 安装/运行测试服务器(示例):

uvx——来自git+https://github.com/bartpotrykus1/mcpserverexample.gitmcp服务器

  1. 验证服务器是否已启动,并查阅logs/stdout以了解任何错误。