MCP GitHub Issue Server

MCP GitHub Issue Server

使大型语言模型能够与 GitHub issues 互动,通过将 issue 详情作为任务提供,从而实现无缝集成和通过 GitHub 平台进行任务管理。

版本控制
访问服务器

Tools

get_issue_task

Fetch GitHub issue details to use as a task

README

MCP GitHub Issue 服务器

smithery badge

smithery badge

一个 MCP 服务器,为 LLM 提供使用 GitHub issues 作为待完成任务的能力。 此服务器允许 LLM 获取 GitHub issue 详细信息并将其用作任务描述。

<a href="https://glama.ai/mcp/servers/enk3b2bcjr"><img width="380" height="200" src="https://glama.ai/mcp/servers/enk3b2bcjr/badge" alt="GitHub Issue Server MCP server" /></a>

安装

手动安装

npx mcp-github-issue

通过 Smithery 安装

要通过 Smithery 为 Claude Desktop 自动安装 MCP GitHub Issue 服务器:

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

用法

作为 MCP 服务器

添加到您的 MCP 配置:

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

可用工具

get_issue_task

获取 GitHub issue 详细信息以用作任务。

输入 Schema:

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "GitHub issue 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": "Issue Title",
    "description": "Issue Description/Body",
    "source": "https://github.com/owner/repo/issues/123"
  }
}

特性

  • 从公共存储库获取 GitHub issue 详细信息
  • 公共存储库无需身份验证
  • 返回结构化的任务数据,包括标题、描述和源 URL
  • 与模型上下文协议 (MCP) 兼容

开发

# 安装依赖
npm install

# 构建项目
npm run build

# 在本地运行服务器
npm run serve

# 格式化代码
npm run format

# 运行 MCP 检查器
npm run inspector

许可证

MIT

作者

Sam McLeod (https://smcleod.net)

推荐服务器

MCP Package Docs Server

MCP Package Docs Server

促进大型语言模型高效访问和获取 Go、Python 和 NPM 包的结构化文档,通过多语言支持和性能优化来增强软件开发。

精选
本地
TypeScript
Gitingest-MCP

Gitingest-MCP

一个用于 gitingest 的 MCP 服务器。它允许像 Claude Desktop、Cursor、Cline 等 MCP 客户端快速提取关于 Github 仓库的信息,包括仓库摘要、项目目录结构、文件内容等。

精选
本地
Python
Linear MCP Server

Linear MCP Server

一个模型上下文协议(Model Context Protocol)服务器,它与 Linear 的问题跟踪系统集成,允许大型语言模型(LLM)通过自然语言交互来创建、更新、搜索和评论 Linear 问题。

精选
JavaScript
JSON Resume MCP Server

JSON Resume MCP Server

一个服务器,它通过分析你的代码项目来增强 AI 助手的能力,使其能够更新你的 JSON 简历,自动提取技能并生成专业的描述。

官方
本地
TypeScript
Edit File Lines MCP Server

Edit File Lines MCP Server

一个基于 TypeScript 的 MCP 服务器,它提供工具,用于对允许目录内的文本文件进行精确的、基于行的编辑。

本地
TypeScript
Git File Forensics MCP

Git File Forensics MCP

提供深入的 Git 文件级别取证工具,用于分析 Git 仓库中详细的文件历史、变更和模式,侧重于单个文件的分析,而非仓库范围的操作。

本地
JavaScript
MCP Code Indexer

MCP Code Indexer

一个基于模型上下文协议的智能代码检索工具,为大型语言模型提供高效、准确的代码仓库搜索能力。

本地
Python
MCP-JIRA-Python Server

MCP-JIRA-Python Server

一个基于 Python 的服务器,允许与 JIRA 无缝集成,通过自定义 API 管理和交互项目。

本地
Python
Git MCP Server

Git MCP Server

Git MCP 服务器允许 AI 助手通过模型上下文协议执行增强的 Git 操作,支持核心 Git 功能、分支和标签管理、GitHub 集成等。

本地
TypeScript
MCP Tasks Organizer

MCP Tasks Organizer

一个 MCP 服务器,可以将 Cursor agent 计划转换为结构化的 Markdown 任务列表,并将其组织在您的存储库中,帮助您将 AI 生成的计划和建议作为可执行的规范进行跟踪。

本地
Python