← Back to mcp

GitHub MCP

Official GitHub MCP server for repository management, PRs, and issue tracking directly from Claude.

Visit Website Development

One-Click Configuration

{
  "mcpServers": {
    "github": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-github"],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "your_token_here"
      }
    }
  }
}

Copy this configuration and paste it into your claude_desktop_config.json or Cursor settings.

Turn Claude into your personal GitHub assistant! This official MCP server connects Claude directly to your GitHub repositories, letting you manage pull requests, create issues, review code, and search through your entire organization without ever leaving your chat window.

What can you do with it? Ask Claude to "Show me all open PRs in my-project" or "Create an issue for the bug in authentication." Claude will fetch the data, format it beautifully, and even help you write better issue descriptions or PR comments. It's like having a project manager who actually reads your code!

The best part? It's completely read-only by default for safety. You can grant write permissions if you want Claude to create issues or PRs, but you're always in control. The setup is dead simple—just generate a GitHub personal access token, drop it into your config, and you're ready to go.

Pro tip: Combine this with the Filesystem MCP server, and Claude can read your local code, understand it, then automatically create detailed GitHub issues based on TODOs it finds. It's automation that actually saves time!

Security: Requires GitHub Personal Access Token with appropriate scopes.

Setup:

  1. Generate token at https://github.com/settings/tokens
  2. Replace your_token_here in config above

Ā© 2026 EVERYTHING AI DIRECTORY