MCP服务器配置工具

一个用于配置和管理MCP服务器的工具,支持通过JSON文件定义服务器参数和输入要求。

  • by ShuguBota
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 ShuguBota/MCP-Learning

使用说明

项目结构

pip install uv
uv init <project_name>
uv venv
uv add "mcp[cli]"

MCP服务器设置

(系统的)设置 .vscode 文件夹

文件 mcp.json

{
"inputs": [
  // The "inputs" section defines the inputs required for the MCP server configuration.
  {
    "type": "promptString"
  }
],
"servers": {
  // The "servers" section defines the MCP servers you want to use.
  "shell-server": {
    "command": "C:\\Programming\\MCP\\shellserver\\.venv\\Scripts\\python",
    "args": ["C:\\Programming\\MCP\\shellserver\\server.py"]
 }
}
}