GitHub 项目 MCP 服务器
MCP(模型上下文协议)服务器,使 AI 代理能够使用 GitHub 项目创建和管理基于 Agile Sprint 的项目。
特征
GitHub Projects v2 API :全面支持 GitHub 的 GraphQL Projects v2 API
GitHub 问题:创建、阅读和更新 GitHub 问题
GitHub 存储库:获取存储库详细信息
类型安全:使用 TypeScript 构建,以实现最大程度的类型安全
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 GitHub Projects MCP Server:
用法
手动安装
克隆此存储库:
git clone https://github.com/taylor-lindores-reeves/mcp-github-projects.git cd mcp-github-projects安装依赖项:
bun install使用您的 GitHub 令牌创建一个
.env文件:GITHUB_TOKEN=your_github_personal_access_token GITHUB_OWNER=your_github_username构建服务器:
bun run build使用以下设置配置您的 MCP 客户端:
环境变量
GITHUB_TOKEN:具有适当权限的 GitHub 个人访问令牌GITHUB_OWNER:GitHub 用户名或组织名称
GitHub 令牌权限
此 MCP 服务器需要具有以下权限的 GitHub 个人访问令牌(经典):
project——完全控制项目read:project项目的读取权限repo- 完全控制私有存储库repo:status- 访问提交状态repo_deployment- 访问部署状态public_repo- 访问公共存储库repo:invite- 访问存储库邀请security_events- 读取和写入安全事件
发展
命令
构建:
bun run build生成 GraphQL 类型:
bun run graphql-codegen
项目结构
该项目是 GitHub GraphQL API 的 MCP 服务器,专注于项目 V2 的操作。代码库通过 GraphQL 提供对 GitHub 项目功能的类型化访问。
可用操作
项目
创建、读取、更新和删除 GitHub 项目
管理项目字段、项目和状态更新
将草稿问题转换为实际问题
存档和取消存档项目
问题
获取问题详细信息
将问题添加到项目
存储库
获取存储库信息
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
使用户能够通过自然语言与 GitHub 的 Projects v2 API 进行交互,实现敏捷项目管理,支持存储库详细信息、问题跟踪和项目板管理操作。
Related Resources
Related MCP Servers
- Asecurity-licenseAqualityProvides comprehensive tools for managing GitHub projects, milestones, tasks, and sprints. This server integrates deeply with GitHub Projects V2, offering features like automated kanban workflows, sprint planning, and custom field management.Last updated -461070MIT License
- -security-license-qualityEnables interaction with GitHub through the GitHub API, supporting file operations, repository management, advanced search, and issue tracking with comprehensive error handling and automatic branch creation.Last updated -3,2641
- Asecurity-licenseAqualityEnables comprehensive GitHub operations through natural language including file management, repository administration, issue tracking, and advanced code searching.Last updated -4711
- Asecurity-licenseAqualityEnables interaction with GitHub repositories through the GitHub API, allowing file operations, repository management, issue tracking, and code search through natural language commands.Last updated -3322MIT License