MCP服务器创建工具

一个用于创建和管理MCP服务器的工具,支持Linux环境配置和Claude Desktop集成。

  • by ma3u
  • Python
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 ma3u/mcp-server-count-r-

使用说明

创建您的第一个自己的服务器

Linux

python3 -m venv .venv
source .venv/bin/activate
pip install mcp
touch server.py

更多MCP服务器和客户端

Claude桌面设置

  1. 安装 克劳德桌面

  2. 打开克劳德桌面

  3. 使用Apple Key+添加新的mcp服务器,更改为选项卡developer并打开

  4. 在claude_desktop_config json中添加一个新的mcp服务器

{
  "mcpServers": {
    "count-r": {
      "command": "/Users/ma3u/projects/mcp-server-count-r-/.venv/bin/python",
      "args": [
        "/Users/ma3u/projects/mcp-server-count-r-/server.py"
      ],
      "host": "127.0.0.1",
      "port": 5000,
      "timeout": 10000
    }
  }
}
  1. 重新启动克劳德桌面

  2. Test with Claude Desktop and the nice german word: 牛肉标签监督任务转移法

  1. 接受新的mcp服务器

8.检查克劳德桌面的日志:

tail -n 20 -F ~/Library/Logs/Claude/mcp*.log | grep "count-r"