Home MCP Tools Developer tools GitHub MCP Server
GitHub MCP Server
🔌 Developer tools

GitHub MCP Server

The official MIT-licensed MCP server by GitHub — connects AI agents directly to the GitHub API with fine-grained tool control, Lockdown mode, and VS Code integration.

5.0/5 Free / Open Source (MIT)
View on GitHub →
✨ Key Features
  • Official GitHub API integration, Lockdown mode, Content sanitization, PAT scope filtering, Fine-grained tool control (60-90% context reduction), Streamable HTTP, VS Code support
📖 Full Review

What is GitHub MCP Server?

GitHub MCP Server is the official Model Context Protocol server maintained by GitHub. It acts as a secure, local bridge between AI assistants (such as Claude, Cursor, or Copilot) and the GitHub API, allowing AI agents to interact with repositories, issues, pull requests, users, and more — without exposing credentials to the model.

The server is open-source under the MIT license and has been fully migrated to the official MCP Go SDK, ensuring it stays in sync with the latest MCP specification updates.

What can AI agents do with it?

  • Read and write files, create branches, open and review pull requests
  • Create, update, and close issues with labels and assignees
  • Manage GitHub Actions workflows and check run statuses
  • Search repositories, users, and code
  • Access releases, tags, and commit history
  • Work with GitHub Projects (V2) and project items

Enterprise-grade security features

  • Lockdown mode — restricts content from untrusted contributors in public repositories, protecting workflows from prompt injection via user-generated content
  • Content sanitization — enabled by default; removes invisible Unicode characters, hidden HTML attributes, and invisible markdown fragments from issues, PRs, and comments
  • PAT scope filtering — tools are automatically filtered based on what your personal access token actually has permission to do
  • OAuth scope metadata — every tool declares which OAuth scopes it requires

Fine-grained tool control

Instead of loading all toolsets at once (which can expose 27+ tools and bloat the context window), GitHub MCP Server now supports tool-specific configuration via the X-MCP-Tools header. Loading only 3–10 of the most relevant tools can reduce context window usage by 60–90%, leading to faster responses and lower inference costs.

Integration

Works out of the box with VS Code, Claude Desktop, Cursor, Cline, Windsurf, and any MCP-compatible client. Supports both local stdio and remote Streamable HTTP modes. An “Insiders Mode” is available for early access to experimental features like MCP Apps.

Affiliate Disclosure: This page contains affiliate links. If you click and make a purchase, we may earn a small commission at no extra cost to you. We only recommend tools we genuinely believe in.

🎯 Explore More

Discover other curated resources from our platform

🛠️ AI Tools View All →
Tana
Tana
★ 4.1
Seedance 2.0
Seedance 2.0
★ 4.3
Glam AI
Glam AI
★ 3.5
⚔️ VS Comparisons View All →
⚔️
ChatGPT vs Gemini for Writing in…
ChatGPT GPT-4o vs Gemini 1.5 Pro
ChatGPT vs Claude: 2026 Comparison — Pricing, Features & Verdict
ChatGPT vs Claude: 2026 Comparison —…
ChatGPT vs Claude
ChatGPT vs Grok: 2026 Comparison — Pricing, Features & Verdict
ChatGPT vs Grok: 2026 Comparison —…
ChatGPT vs Grok
💡 Free Prompts View All →
💡
Gemini for Email Copywriters: Intermediate Strategies…
🔥 6.7K uses
💡
Gemini for Freelancers: Intermediate Strategies for…
🔥 0.8K uses
💡
Stop Spending the Marketing Budget on…
🔥 3.9K uses
💡 Free Prompts