这是一个MCP服务器,提供LLMs使用GitHub问题作为任务完成的能力。此服务器允许LLMs获取GitHub问题详情,并将其用作任务描述。
<a href="https://glama.ai/mcp/servers/enk3b2bcjr"><img width="380" height="200" src="https://gips3.baidu.com/it/u=204091843,4167095633&fm=3081&app=3081&f=PNG?w=760&h=400" alt="GitHub Issue Server MCP服务器" /></a>
npx mcp-github-issue
要通过Smithery自动安装MCP GitHub Issue Server到Claude Desktop:
npx -y @smithery/cli install mcp-github-issue --client claude
添加到您的MCP配置中:
{
"mcpServers": {
"github-issue": {
"command": "npx",
"args": ["mcp-github-issue"]
}
}
}
获取GitHub问题详情以用作任务。
输入模式:
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "GitHub问题URL(https://github.com/owner/repo/issues/number)"
}
},
"required": ["url"]
}
示例用法:
<use_mcp_tool>
<server_name>github-issue</server_name>
<tool_name>get_issue_task</tool_name>
<arguments>
{
"url": "https://github.com/owner/repo/issues/123"
}
</arguments>
</use_mcp_tool>
响应格式:
{
"task": {
"title": "问题标题",
"description": "问题描述/正文",
"source": "https://github.com/owner/repo/issues/123"
}
}
# 安装依赖
npm install
# 构建项目
npm run build
# 在本地运行服务器
npm run serve
# 格式化代码
npm run format
# 运行MCP检查器
npm run inspector
MIT
Sam McLeod (https://smcleod.net)