GitHub MCP Server (Custom)
Provides tools for managing GitHub repositories, issues, pull requests, branches, comments, reviews, and commits via the GitHub REST API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub MCP Server (Custom)create a new issue in octocat/Hello-World"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub MCP Server (Custom)
A custom Model Context Protocol (MCP) server giving an AI agent full
CRUD access to GitHub: repositories, issues, pull requests, branches,
comments, reviews, and merges. Built with the official Python mcp SDK
(FastMCP) and GitHub's REST API via httpx.
23 tools total — see server.py for the full list. Highlights:
Area | Tools |
Repos |
|
Issues |
|
Branches |
|
Pull Requests |
|
Reviews |
|
Commits |
|
Setup
Install dependencies
pip install -r requirements.txtCreate a GitHub token
Go to https://github.com/settings/tokens and create either:
a classic PAT with the
reposcope, ora fine-grained PAT with
Contents,Issues,Pull requests, andMetadataset to Read & write, scoped to the repos you want the agent to touch.
Set the token as an environment variable
export GITHUB_TOKEN=ghp_your_token_hereRun it standalone (optional sanity check)
python server.pyIt will sit and wait for an MCP client to connect over stdio — that's expected, it's not a web server.
Related MCP server: GitHub MCP Server
Connecting it to Claude Desktop
Add this to your claude_desktop_config.json
(%APPDATA%\Claude\claude_desktop_config.json on Windows,
~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"github": {
"command": "python",
"args": ["/absolute/path/to/server.py"],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}Restart Claude Desktop and the GitHub tools will show up in the tool picker.
Connecting it to your own agent pipeline (e.g. the Jira → GitHub → Teams project)
Since this is a standard MCP stdio server, any MCP-compatible client or SDK can spawn it as a subprocess and talk to it over stdin/stdout — including a .NET host if you're using the MCP C# SDK, or the Python/TypeScript SDKs if your orchestrator is polyglot. Point the client at:
command: python
args: ["/absolute/path/to/server.py"]
env: { "GITHUB_TOKEN": "<token>" }Extending it
To add a new tool, just add a new @mcp.tool()-decorated function to
server.py that calls _request(method, path, ...) against the
GitHub REST API. The docstring becomes
the tool's description shown to the model, and type hints become the
input schema — so keep both accurate.
Notes
All write operations (
create_*,update_*,delete_*,merge_*) make real changes on GitHub — there's no dry-run mode. Consider testing against a scratch repo first, especiallymerge_pull_requestanddelete_branch.Rate limits follow GitHub's standard REST API limits (5,000 requests/hour for authenticated requests as of this writing) — the server doesn't do its own throttling.
Errors from GitHub (bad auth, 404s, merge conflicts, etc.) are raised as
RuntimeErrorwith the API's response body included, so the calling agent gets a readable message to react to.
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
- FlicenseNot gradedqualityDmaintenanceProvides secure, controlled access to GitHub operations through the Model Context Protocol with enterprise-grade security features including secret detection, vulnerability scanning, rate limiting, and full audit trails. Supports repository management, file operations, branch creation, commits, and GitHub Actions workflows.
- 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.21112Apache 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
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Git-backed platform for skills, tools, and context for AI agents
A Model Context Protocol (MCP) application for automated GitHub PR analysis and issue management.…
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/rishav0004/custom-github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server