ClaudeMap

GitHub MCP Server

Official GitHub-maintained MCP server for repos, issues, PRs, and code search.

MCP Serversofficialgithubreference

Lets Claude create and manage issues, pull requests, branches, files, and code search across any GitHub repository. Maintained by GitHub as the canonical reference implementation; the earlier modelcontextprotocol reference has been archived.

What it does

  • Full repo operations: get_file_contents, create_or_update_file, push_files, create_branch, create_repository
  • Issue + PR workflow: list / create / update / close issues, list / create / merge pull requests with reviews
  • Code search across the org with the search_code / search_issues / search_pull_requests tools
  • Actions: list workflow runs, get workflow logs, trigger workflows by name
  • GitHub-aware security: secret scanning, Dependabot alerts, code-scanning alerts retrievable via dedicated tools

When to use it

Best for Claude Code workflows that touch a real repo — automated PR review, dependency upgrade PRs, label-driven triage, draft release notes from the merged PR list. The canonical choice when the project lives on GitHub; for self-hosted Gitea / GitLab pair with a different MCP server.

Getting started

Add to .mcp.json under mcpServers.github:

{
  "command": "docker",
  "args": ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"]
}

Set GITHUB_PERSONAL_ACCESS_TOKEN in the env (fine-grained token recommended; scope to the repos you actually need).

Things to know

The default token scope is everything in the user's account — narrow it down to only the repos you want Claude to touch. Some write operations (create_or_update_file, push_files) can overwrite history; pin the token to read + targeted write scopes and audit PRs Claude opens before merging.

Repository

github/github-mcp-server

Charted

Related on the map

  • Exa MCP

    MCP Server

    Exa's official MCP server — live web search, crawling, and deep research wired into Claude.

    • official
    • search
    • web
    • mcp
  • Official Chrome DevTools MCP server — performance tracing, network inspection, and live debugging for coding agents.

    • official
    • chrome
    • debugging
    • browser
  • Vercel's handler for spinning up MCP servers on Next.js, Nuxt, Svelte, and more.

    • deploy
    • vercel
    • serverless
    • edge