Gitee MCP 服务器

Gitee MCP 服务器

通过 MCP 让 AI 自动管理 Gitee 仓库、问题和拉取请求。

快速入门

  1. 安装 使用 Smithery 安装:npx -y @smithery/cli install @normal-coder/gitee-mcp-server --client claude
  2. 配置环境变量 设置 GITEE_PERSONAL_ACCESS_TOKEN(必填) 和 GITEE_API_BASE_URL(可选,默认为 https://gitee.com/api/v5)。
  3. 运行服务
    • 使用 NPX:npx -y gitee-mcp-server
    • 使用 Docker: 拉取镜像:docker pull normalcoder/gitee-mcp-server 运行容器:docker run -e GITEE_PERSONAL_ACCESS_TOKEN=<YOUR_TOKEN> normalcoder/gitee-mcp-server
  4. 调试 创建 .env 文件并使用调试工具:npx @modelcontextprotocol/inspector npm run start --env-file=.env