GitHub 自然语言管理工具
一款通过自然语言命令管理 GitHub 仓库的 MCP 服务器。
快速入门
-
克隆仓库
-
安装依赖:运行
npm install
-
构建服务:运行
npm run build
-
配置环境:在 MCP 设置文件中添加 GitHub Token
{ "mcpServers": { "github": { "command": "node", "args": ["path/to/github-server/build/index.js"], "env": { "GITHUB_TOKEN": "your-github-token" } } } }
-
使用示例:创建仓库
const result = await use_mcp_tool({ server_name: "github", tool_name: "create_repo", arguments: { command: "Create a repository for my project with tags example demo website https://example.com" } });