GitHub MCP Server
GitHub MCP 服务器
用于通过 Cline 与 GitHub 问题交互的模型上下文协议 (MCP) 服务器实现。
特征
列出存储库中的 GitHub 问题
创建新的 GitHub 问题
错误处理和验证
通过环境变量进行安全身份验证
Related MCP server: GitHub MCP Server
安装
克隆存储库:
git clone https://github.com/timbuchinger/mcp-github.git
cd mcp-github使用 uv 安装依赖项:
pip install uv
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -r requirements.txt复制环境模板并配置你的 GitHub 令牌:
cp .env.template .env编辑.env并添加您的 GitHub 个人访问令牌:
GITHUB_TOKEN=your_token_here要创建 GitHub 个人访问令牌:
转到 GitHub 设置 -> 开发者设置 -> 个人访问令牌
生成具有
repo范围的新令牌复制令牌并将其粘贴到您的
.env文件中
用法
运行 MCP 服务器:
python -m src.mcp_github.server服务器将启动并向 Cline 公开两个工具:
获取问题
从 GitHub 存储库获取问题列表:
{
"repo": "owner/repo"
}创建问题
在 GitHub 存储库中创建新问题:
{
"repo": "owner/repo",
"title": "Issue title",
"body": "Issue description"
}错误处理
服务器处理常见错误:
缺少 GitHub 令牌
存储库名称无效
缺少必需参数
GitHub API 错误
错误响应包括描述性消息以帮助解决问题。
发展
该项目使用 uv 进行依赖管理。要设置开发环境:
# Install all dependencies (including dev dependencies)
uv pip install -r requirements.txt
# Run tests
pytest
# Format code
black .
# Type checking
mypy .This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceEnables LLMs to interact with GitHub issues by providing details as tasks, allowing for seamless integration and task management through GitHub's platform.11614MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables LLMs to interact with GitHub repositories, issues, pull requests, and workflows through the Model Context Protocol. It provides a comprehensive set of tools for repository management, issue tracking, code search, and CI/CD automation.
- AlicenseCqualityDmaintenanceEnables AI assistants to directly operate GitHub repositories, such as listing issues, through the Model Context Protocol.21072Apache 2.0

Tiger GitHub MCP Serverofficial
AlicenseNot gradedqualityCmaintenanceEnables LLMs to interact with GitHub via the Model Context Protocol, providing tools for repository management and other GitHub operations.31Apache 2.0
Related MCP Connectors
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/timbuchinger/mcp-github'
If you have feedback or need assistance with the MCP directory API, please join our Discord server