MCP GitHub问题服务器
](https://smithery.ai/protocol/mcp-github-issue)
](https://smithery.ai/server/mcp-github-issue)
一个MCP服务器,为LLM提供使用GitHub issues作为完成任务的能力。此服务器允许LLM获取GitHub问题详细信息并将其用作任务描述。
安装
手动安装
npx mcp-github-issue通过Smithery安装
通过以下方式自动安装MCP GitHub Issue Server for Claude Desktop 史密瑟里:
npx -y @smithery/cli install mcp-github-issue --client claude用法
作为MCP服务器
添加到MCP配置中:
{
"mcpServers": {
"github-issue": {
"command": "npx",
"args": ["mcp-github-issue"]
}
}
}可用工具
获取问题任务
获取GitHub问题详细信息以用作任务。
输入架构:
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "GitHub issue URL (https://github.com/owner/repo/issues/number)"
}
},
"required": ["url"]
}示例用法:
github-issue
get_issue_task
{
"url": "https://github.com/owner/repo/issues/123"
}
响应格式:
{
"task": {
"title": "Issue Title",
"description": "Issue Description/Body",
"source": "https://github.com/owner/repo/issues/123"
}
}特性
- 从公共存储库获取GitHub问题详细信息
- 公共存储库不需要身份验证
- 返回结构化任务数据,包括标题、描述和源URL
- 与模型上下文协议(MCP)兼容
发展
# Install dependencies
npm install
# Build the project
npm run build
# Run the server locally
npm run serve
# Format code
npm run format
# Run MCP inspector
npm run inspector许可证
麻省理工学院
作者
萨姆·麦克劳德(https://smcleod.net)

