GitHub MCP Server — Connect AI Agents to Your Repositories
Install the GitHub MCP server to give Claude Code, Cursor, and Windsurf secure, read-write access to your GitHub repositories, issues, and pull requests. One JSON paste and your AI agent can browse code, open PRs, and triage issues directly.
Install GitHub MCP Server
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
}
}
}
}GitHub MCP Server — Official GitHub AI Integration
GitHub's official MCP server that lets AI assistants manage repos, issues, PRs, Actions, and code search through the Model Context Protocol.
Jina Reader — AI-Friendly Web Content Extraction
Convert any URL to clean markdown for AI consumption. Free API at r.jina.ai strips ads, navigation, and clutter. Used by AI agents for web research and RAG.
Claude Code Templates — 600+ Agents, Commands & MCPs
Ready-to-use Claude Code configurations: 600+ agents, 200+ commands, 55+ MCPs, and project templates. Install any template with one command.
Google Stitch MCP — AI Design via Model Context Protocol
Connect Claude Code, Cursor, Gemini CLI, or VS Code to Google Stitch for AI-driven UI design. Create projects, generate screens from text, edit designs, manage design systems — all via MCP.
Pal MCP Server — Multi-Model AI Gateway for Claude Code
MCP server that lets Claude Code use Gemini, OpenAI, Grok, and Ollama as a unified AI dev team. Features model routing, CLI-to-CLI bridge, and conversation continuity across 7+ providers.
Chrome MCP Background Proxy — Fix Popups, Focus Stealing & Multi-Agent Conflicts
Drop-in proxy for Chrome MCP. Solves Chrome 146+ debugging popups, focus stealing, and multi-agent conflicts with persistent CDP connection, request ID remapping, and sessionId-based event routing.
Neon — Serverless Postgres with Database Branching
Serverless PostgreSQL with instant database branching, autoscaling, and a generous free tier. Branch your database like git branches — test schema changes without touching production. 16,000+ stars.
Appwrite — Open-Source Backend for AI Apps
Complete cloud backend with auth, database, storage, functions, and messaging in one platform. Self-hostable. 55K+ GitHub stars.
Neon MCP — Serverless Postgres via AI Agents
MCP server for Neon serverless Postgres. Create projects, branch databases, run SQL, optimize queries via natural language. Safe migration workflow with branching. MIT, 574+ stars.
Codebase Memory MCP — Code Knowledge Graph Server
High-performance MCP server that indexes codebases into persistent knowledge graphs. Supports 66 languages, sub-millisecond queries, and claims 99% fewer tokens than raw file context. 1,100+ stars.
Codebase Memory MCP — Code Intelligence for AI Agents
High-performance code intelligence MCP server. Indexes repos in milliseconds via tree-sitter AST, supports 66 languages, sub-ms graph queries. MIT, 1,300+ stars.
MCPHub — Centralized MCP Server Management Hub
Manage multiple MCP servers from one dashboard. Smart routing, hot-swap config, OAuth 2.0 auth. Deploy via Docker in one command. Apache-2.0, 2,000+ stars.
LMDeploy — High-Performance LLM Deployment Toolkit
Deploy and serve LLMs with 1.8x higher throughput than vLLM. 4-bit quantization, OpenAI-compatible API. By InternLM. 7.7K+ stars.
Smithery CLI — MCP Server Registry & Installer
Search, install, and manage MCP servers from Smithery's registry of 6,000+ servers. One command to connect any MCP server to Claude, Cursor, or other AI tools. AGPL-3.0.
LibreChat — Self-Hosted Multi-AI Chat Platform
LibreChat is a self-hosted AI chat platform unifying Claude, OpenAI, Google, AWS in one interface. 35.1K+ GitHub stars. Agents, MCP, code interpreter, multi-user auth. MIT.
Wrangler MCP — Cloudflare Workers for AI Agents
MCP server for managing Cloudflare Workers, KV, R2, and D1 from AI agents. Deploy serverless functions, manage storage, and query databases through Claude Code tool calls.
Docker MCP — Container Management for AI Agents
MCP server that gives AI agents Docker container management capabilities. Build, run, stop, and inspect containers through tool calls for automated DevOps workflows.
Firecrawl MCP — Web Scraping Server for AI Agents
Official Firecrawl MCP server for AI agents to scrape, crawl, and extract structured data from any website. Supports batch scraping, search, and markdown extraction. 15,000+ stars.
Langflow — Visual AI Agent Builder with API
Langflow is a visual platform for building and deploying AI agents as APIs or MCP servers. 146K+ GitHub stars. Multi-agent orchestration, playground, observability. MIT.
Haystack MCP — Connect AI Pipelines to MCP Clients
Expose Haystack RAG pipelines as MCP servers. Let Claude Code and other AI tools query your document search, QA, and retrieval pipelines through the MCP protocol.
Mastra — TypeScript AI Agent Framework
Production TypeScript framework for building AI agents with tool use, workflows, RAG, and memory. First-class MCP support. Deploy anywhere Node.js runs. 9,000+ GitHub stars.
Context7 — Live Library Docs for LLMs, 51K Stars
MCP server fetching up-to-date, version-specific library documentation into LLM context. Eliminates hallucinated APIs across 30+ AI coding tools.
MCP Inspector — Debug MCP Servers Visually
Official MCP Inspector for testing and debugging MCP servers. 9.3K+ stars. Web UI, tool/resource/prompt inspection, request testing.
Browser Use — AI Agent Browser Automation
Let AI agents control web browsers with natural language. Browser Use provides vision-based element detection, multi-tab support, and works with any LLM provider.
Unstructured — Document ETL for LLM Pipelines
Extract clean data from PDFs, DOCX, HTML, images, and emails for RAG and LLM ingestion. 14K+ GitHub stars.
Serena — Semantic Code Agent via MCP
Serena is a coding agent MCP server with semantic code retrieval and editing. 22K+ stars. Understands classes, functions, symbols for precise context-aware edits. MIT.
Uptime Kuma — Self-Hosted Uptime Monitoring
Monitor HTTP, TCP, DNS, Docker services with notifications to 90+ channels. Beautiful dashboard. 84K+ GitHub stars.
Context7 — Up-to-Date Docs MCP for AI Editors
MCP server that provides AI code editors with up-to-date library documentation. Eliminates hallucinations from outdated training data. Supports 1000+ libraries. 51K+ stars.
Glama — MCP Server Discovery and Management
Directory and management platform for MCP servers. Discover, install, and monitor Model Context Protocol servers for Claude Code, Cline, and other AI coding tools.
Jan — Offline AI Desktop App with Full Privacy
Jan is an open-source ChatGPT alternative that runs LLMs locally with full privacy. 41.4K+ GitHub stars. Desktop app for Windows/macOS/Linux, OpenAI-compatible API, MCP support. Apache 2.0.
Why connect GitHub to your AI workflow
The GitHub MCP server is the most-installed AI coding integration of 2026, because it unblocks the single most common AI agent limitation: "your AI can write code, but it can't see the rest of the repository." Once installed, Claude Code, Cursor, or any other MCP-compatible client can list files, read blame, open issues, comment on PRs, and execute searches across your entire GitHub organization — no more pasting snippets into the chat window.
Under the hood, the server speaks the Model Context Protocol — an open standard from Anthropic that lets AI tools securely discover and call external APIs. The GitHub MCP server wraps the GitHub REST and GraphQL APIs into a typed tool surface the model can reason about. You control exactly which repos the AI can touch via your personal access token scopes, and every mutation (comment, PR, issue) is auditable from the GitHub UI.
For teams, the biggest win is context-aware code review. Point the AI at a PR URL and it pulls the diff, reads related files, checks test coverage, and writes a review comment — all without leaving your editor. Combine it with a database MCP server and your AI can go from "analyze this schema change" to "open a PR with the migration" in one conversation. Browse all 16+ GitHub-related MCP assets on TokRepo below.
The GitHub MCP server is the single install that turns an AI coding assistant into a real team member — one that can see the whole repo, not just the file you're editing.
Questions fréquentes
What is the GitHub MCP server?+
The GitHub MCP server is an open-source implementation of the Model Context Protocol that exposes GitHub's REST and GraphQL APIs as structured tools an AI agent can call. Once installed in Claude Code, Cursor, or Windsurf, the model can list repos, read files, open PRs, triage issues, run searches, and post review comments — scoped to whatever your personal access token allows.
How do I install the GitHub MCP server in Cursor?+
Create a GitHub personal access token at github.com/settings/tokens (fine-grained is recommended). Open ~/.cursor/mcp.json (create it if missing) and paste the JSON block shown above, replacing ghp_your_token_here with your actual token. Restart Cursor. You'll see a small MCP icon in the chat input once the server connects — that confirms the tools are loaded.
Does the GitHub MCP server work with Claude Code?+
Yes. Claude Code has first-class MCP support. Run `claude mcp add github --env GITHUB_PERSONAL_ACCESS_TOKEN=... -- npx -y @modelcontextprotocol/server-github` and restart Claude Code. You can verify the server is connected with `claude mcp list`. All GitHub tools become available to the agent in every new session.
What GitHub permissions does the MCP server need?+
Minimum: `repo` (for private repos) or `public_repo` (for public-only), `read:org` for org-scoped queries. For PR and issue automation add `write:discussion`. Use a fine-grained token scoped to specific repositories for production use — never give the MCP server broader access than a human teammate would get.
Can I use the GitHub MCP server with self-hosted GitHub Enterprise?+
Yes. The official server accepts a `GITHUB_HOST` environment variable — set it to your GHE hostname (e.g. `github.yourcompany.com`) and it'll route all API calls there. Pair with a self-signed cert trust flag if your enterprise uses a private CA. For air-gapped setups, also check out the <a href="/en/ai-tools-for/self-hosted">self-hosted AI tools</a> directory.
Is the GitHub MCP server safe to use on private repositories?+
It's as safe as the PAT you give it. Best practices: use a fine-grained token scoped to only the repos the AI needs; start with read-only scopes and add write scopes only for specific workflows; rotate tokens on a schedule; never commit the token to git. The MCP server itself doesn't phone home — it runs locally and only calls the GitHub API directly from your machine.