GitHub MCP Server
Provides tools for interacting with GitHub, including creating repositories, issues, pull requests, listing commits, searching repositories, and managing repository settings.
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 ServerCreate an issue in repo: add tests for auth"
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 v3
A production-ready Remote MCP (Model Context Protocol) Server for GitHub with full OAuth authentication.
This server allows Claude Desktop and Claude Web to securely access GitHub repositories using each user's own GitHub account.
Features
✅ Remote MCP (HTTP Streamable Transport)
✅ GitHub OAuth Authentication
✅ OAuth 2.1 Authorization Code Flow
✅ PKCE (S256)
✅ Dynamic Client Registration
✅ OAuth Discovery Endpoints
✅ Bearer Token Authentication
✅ Encrypted GitHub Token Storage
✅ Personal API Keys
✅ JWT Browser Sessions
✅ SQLite (Development)
✅ PostgreSQL (Production)
✅ Claude Desktop Compatible
✅ Claude Web Compatible
Architecture
Claude
│
▼
Remote MCP Server
│
OAuth 2.1
│
GitHub OAuth
│
GitHub APIEach user authenticates with their own GitHub account.
No GitHub Personal Access Token is required.
Supported Authentication
GitHub OAuth
OAuth Access Tokens
JWT Sessions
Personal API Keys
Shared MCP API Key (optional)
Requirements
Python 3.11+
PostgreSQL (Production)
SQLite (Development)
Installation
Clone the repository
git clone https://github.com/<your-username>/github-mcp-server-v3.git
cd github-mcp-server-v3Create virtual environment
python -m venv .venvActivate
Windows
.venv\Scripts\activateLinux/macOS
source .venv/bin/activateInstall dependencies
pip install -r requirements.txtEnvironment Variables
Create a .env
APP_ENV=development
DATABASE_URL=sqlite:///./github_mcp.db
GITHUB_CLIENT_ID=YOUR_GITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET=YOUR_GITHUB_CLIENT_SECRET
GITHUB_REDIRECT_URI=http://localhost:8000/auth/callback
JWT_SECRET_KEY=CHANGE_ME
ENCRYPTION_KEY=CHANGE_ME
MCP_API_KEY=
APP_PORT=8000Production
DATABASE_URL=postgresql://...Running
python -m app.mainor
uvicorn app.main:api --reloadOAuth Endpoints
Authorization
GET /authorizeToken
POST /tokenDynamic Client Registration
POST /registerProtected Resource Metadata
GET /.well-known/oauth-protected-resourceAuthorization Server Metadata
GET /.well-known/oauth-authorization-serverMCP Endpoint
https://github-mcp-server-2.onrender.com/mcpUsing with Claude
MCP URL
https://github-mcp-server-2.onrender.com/mcpRelated MCP server: GitHub MCP Server
OAuth Client ID
If Claude asks for an OAuth Client ID, use:
p3FQ-WhAuYOtGbAp-8FPPJ8Q6cCQZiUqLR8xmTK9QTsThis is the public client ID for the GitHub MCP Server.
Connection Steps
Add a new Remote MCP Server.
MCP URL
https://github-mcp-server-2.onrender.com/mcpIf prompted, enter the OAuth Client ID:
VKmg59kQfMxcWaeoPeXuSoYWphwU_Uiq83GMBu208QEClick Connect.
Claude redirects you to GitHub.
Sign in using your own GitHub account.
Approve access.
You're ready to use GitHub tools.
Important
The OAuth Client ID is shared by all users.
Each user authenticates with their own GitHub account.
Your GitHub account is never shared.
Your repositories remain private.
The server stores each user's encrypted GitHub access token separately.
Users can only access repositories they already have permission to access.
Example Prompts
List my repositories.
List my GitHub repositories.Show repository information.
Show details for my repository my-project.List issues.
List open issues in my-project.Create issue.
Create a GitHub issue titled "Bug Report" in my-project.List pull requests.
Show pull requests in my-project.Create branch.
Create a branch named feature/login.Security
OAuth 2.1
PKCE (S256)
Encrypted GitHub Tokens
Single-use Authorization Codes
Expiring Access Tokens
JWT Sessions
Personal API Keys
HTTPS Only
Secure Cookies
Development
Run locally
uvicorn app.main:api --reloadSQLite database
github_mcp.dbProduction uses PostgreSQL.
Deployment
Recommended platforms
Render
Railway
Fly.io
Azure
AWS
License
MIT
Author
Developed by Nitesh kumar Pandey
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.
Latest Blog Posts
- 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/nitesh-kumar-pandey/github-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server