GitHub MCP Server
Provides tools for interacting with GitHub, including reading files, browsing repositories, creating and updating files with commits, listing and searching repos, commits, branches, managing issues (create, read, update, comment), and handling pull requests (list, read, merge).
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 Serverlist my recent pull requests"
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
A self-hosted MCP server that gives Claude access to your GitHub account — read files, browse repos, commit changes, and manage issues and pull requests, all from a conversation.
You deploy it to your own Railway account under your own GitHub token, so your code and credentials stay yours.
Setup
→ SETUP.md — full walkthrough, about 15 minutes.
Short version:
Create a fine-grained GitHub personal access token
Fork this repo (already forked it? sync your fork first)
Generate an auth token — a new random string you invent, not your GitHub token (
openssl rand -hex 32)Deploy to Railway with both tokens as variables
Add
https://your-app.up.railway.app/mcp?key=your-auth-tokenas a custom connector in ClaudeVerify —
/mcpwithout the key should return403 Forbidden, with the key should returnok
Related MCP server: Codelens-MCP
What Claude can do once it's connected
Read any file, directory, or full file tree in your repos
Create and update files with real commits
List and search repos, commits, and branches
Create, read, update, and comment on issues
List, read, and merge pull requests
Search code, repos, and issues across your account
Claude shows these as 15 read-only tools and 5 write/delete tools, and lets you require approval per tool. Worth gating the write ones.
Security
The /mcp endpoint requires a shared secret passed as ?key=. Without it, requests are rejected with 403 Forbidden. The server will not start at all unless MCP_AUTH_TOKEN is set, so it can never run unprotected.
Generate your own auth token. Do not reuse one from another deployment. Your Railway URL is public, and this server holds a GitHub token with write access to your repos — the auth token is the only thing standing between that and anyone who happens to have your URL.
/health is intentionally open so Railway's healthcheck can reach it. It exposes no data and runs no tools.
Requirements
A GitHub account
A Railway account (the free tier is enough to start)
A Claude plan that supports custom connectors
Stack
TypeScript, Express, and the official MCP SDK over streamable HTTP. Deployed via Dockerfile; Railway config is in railway.toml.
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
- FlicenseBqualityDmaintenanceAn MCP server that enables Claude and other compatible LLMs to interact with the GitHub API, supporting features like creating issues, retrieving repository information, listing issues, and searching repositories.Last updated4
- Alicense-qualityDmaintenanceAn MCP server that gives Claude Desktop complete intelligence about any public GitHub repository. Research libraries, compare packages, audit dependencies, and explore codebases through natural conversation.Last updated1MIT
- Alicense-qualityDmaintenanceAn MCP server that enables managing GitHub repositories, pull requests, issues, and more through natural language in Cursor or Claude Desktop.Last updated614MIT
- AlicenseBqualityCmaintenanceA minimal MCP server for GitHub that enables browsing repos, reading code, searching, and getting insights through natural language via Claude, Cursor, or any MCP client.Last updated7MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
A MCP server built for developers enabling Git based project management with project and personal…
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/keyona-rerev/founder-fork-github-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server