Tool connections (MCP)
GitHub MCP Server
Let your AI assistant work with GitHub code, issues, and pull requests.
Install
Cursor MCP settingsConfiguration to paste
- A service account is required; check its available plan and permissions.
- In GitHub Settings → Developer settings → Personal access tokens, create a token with only the repository permissions you need.
- Replace the placeholder values below before running or saving.
- Merge into the existing configuration; keep other tools and settings.
- Save the configuration, then restart or reload your assistant or editor.
Cursor MCP settings
Configuration file ~/.cursor/mcp.json
Replace these values: YOUR_GITHUB_PAT
{
"mcpServers": {
"github": {
"url": "https://api.githubcopilot.com/mcp/",
"headers": {
"Authorization": "Bearer YOUR_GITHUB_PAT"
}
}
}
}Requirements, costs and detailed steps
GitHub MCP Server setup and requirements
- What you need
- An MCP-capable assistant and a GitHub account.
- Prepare an access token for documented remote setup; local Docker setup also needs Docker.
- Costs
- The project code is open source. AI assistant usage and third-party service quotas are separate.
- Required permissions
- It can read or change repositories, issues, and pull requests within its granted permissions. Limit access to what you need and never send tokens to this site.
CodexOfficial setup documented
The project documents Codex setup. Its remote configuration requires a GitHub access token.
Setup steps
- Open the project’s guide for this assistant and choose remote setup.
- Follow the guide for ~/.codex/config.toml; keep the token on your own machine.
- Reopen the assistant and check that GitHub tools are available.
Check that setup worked
Ask it to read a public repository README and check the returned repository URL.
Official sources
Claude CodeOfficial setup documented
The project documents Claude Code setup. Its remote configuration requires a GitHub access token.
Setup steps
- Open the project’s guide for this assistant and choose remote setup.
- Follow the guide for Claude Code MCP configuration; keep the token on your own machine.
- Reopen the assistant and check that GitHub tools are available.
Check that setup worked
Ask it to read a public repository README and check the returned repository URL.
Official sources
CursorOfficial setup documented
The project documents Cursor setup. Its remote configuration requires a GitHub access token.
Setup steps
- Open the project’s guide for this assistant and choose remote setup.
- Follow the guide for .cursor/mcp.json; keep the token on your own machine.
- Reopen the assistant and check that GitHub tools are available.
Check that setup worked
Ask it to read a public repository README and check the returned repository URL.
Official sources
Official sources
Setup guidance reviewed 2026-10-12 · Based on public documentation; not individually installed and tested here.
What is GitHub MCP Server?
This GitHub-maintained connector brings repository context into an AI conversation, so you do not have to paste each file or discussion by hand. It uses MCP, a way for AI assistants to call external tools, to read code and work with issues and pull requests. It suits developers and teams who already collaborate on GitHub; available repositories and actions depend on the account permissions you grant.
GitHub MCP Server use cases
- Read repository files and source code
- Work with issues and pull requests
- Set up GitHub authorization using the official guide
Official project & documentation
Alternatives to GitHub MCP Server for similar tasks
Compare plugins for similar tasks and check their setup requirements.
- REA — Reverse Engineer Anything — Let AI investigate how an application's features work and return code and runtime evidence you can check.
- Claude-Mem — Save coding-session history so an agent can retrieve earlier decisions and fixes in a new conversation.
- MCP Reference Servers — Official MCP reference examples, with a Filesystem server for working inside folders you explicitly allow.