MCP GitHub Issue Server

MCP GitHub Issue Server

一个提供给LLMs使用GitHub issues作为任务能力的MCP server。

smithery 徽章 GitHub Issue Server MCP 服务器

简介

MCP GitHub Issue Server 允许大型语言模型(LLMs)直接获取 GitHub issues 作为任务描述。

安装

方法 1:手动安装

npx mcp-github-issue

方法 2:通过 Smithery 安装

npx -y @smithery/cli install mcp-github-issue --client claude

配置

将以下内容添加到您的 MCP 配置:

{
  "mcpServers": {
    "github-issue": {
      "command": "npx",
      "args": ["mcp-github-issue"]
    }
  }
}

使用方法

使用 get_issue_task 工具获取 GitHub issue:

<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"
  }
}

特性

  • 从公共仓库获取 GitHub issue 详情
  • 公共仓库无需认证
  • 返回结构化任务数据
  • 兼容模型上下文协议(MCP)

许可证

MIT

作者

Sam McLeod (https://smcleod.net)