Model Context Protocol (MCP) Server for GitHub using Claude Desktop
@kylemabry95
Model Context Protocol (MCP) Server for GitHub using Claude Desktop について
概要はまだありません
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"git-hub-server": {
"command": "python3.11",
"args": [
"./{enter_your_full_file_path}/Claude_MCP_Server/main.py"
]
}
}
}ツール
5List all pull requests for a repository
Get detailed information about a specific PR
Fetch repository issues with filtering
Get README file content
Access any file from the repository
概要
What is Model Context Protocol (MCP) Server for GitHub using Claude Desktop?
A Model Context Protocol (MCP) server that provides tools for interacting with GitHub repositories. It enables Claude Desktop to retrieve pull requests, issues, README files, and other repository content through a standardized interface.
How to use Model Context Protocol (MCP) Server for GitHub using Claude Desktop?
Add the server configuration to claude_desktop_config.json with the command python3.11 and an argument pointing to main.py. Install the required Python packages (fastmcp, httpx, requests, urllib3, mcp, typing). Optionally set a GITHUB_TOKEN environment variable for higher API rate limits. Claude Desktop runs the server automatically.
Key features of Model Context Protocol (MCP) Server for GitHub using Claude Desktop
- List all pull requests for a repository
- Retrieve detailed information on a specific or latest PR
- Fetch repository issues with state and pagination filters
- Access README content in multiple formats (
.md,.rst,.txt) - Retrieve any file content from a repository
- Get files from a specific branch
Use cases of Model Context Protocol (MCP) Server for GitHub using Claude Desktop
- Ask Claude to list open pull requests in a repository
- Have Claude fetch the latest PR details with commits and changes
- Retrieve the README file for a project’s documentation
- Access a specific source code file from a repository
- Get repository issues filtered by state (open, closed, all)
FAQ from Model Context Protocol (MCP) Server for GitHub using Claude Desktop
What are the prerequisites?
Python 3.11.9 and the packages fastmcp, httpx, requests, urllib3, mcp, typing are required.
How do I configure the server?
Add the server definition to claude_desktop_config.json under mcpServers. Set command to python3.11 and args to the path of main.py. No local manual run is needed.
Do I need a GitHub token?
No, but setting a GITHUB_TOKEN environment variable is recommended to avoid GitHub’s unauthenticated API rate limits.
What tools does the server provide?
It provides five tools: list_pull_requests, get_specified_pr, get_repository_issues, get_repository_readme, and get_repository_file.
How does the server handle errors?
It handles network timeouts, connection errors, API rate limiting, invalid paths, authentication failures, and SSL certificate verification bypass (with warnings disabled).
「AI とエージェント」の他のコンテンツ
🔎 GPT Researcher
assafelovicAn autonomous agent that conducts deep research on any data using any LLM providers
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
Web Agent Protocol
OTA-Tech-AI🌐Web Agent Protocol (WAP) - Record and replay user interactions in the browser with MCP support
Hass-MCP
voskaControl and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.
Shell and Coding agent for Claude and other mcp clients
rusiaamanShell and coding agent on mcp clients
コメント