Skip to content
MCP server

GitHub

Official MCP server connecting AI assistants to GitHub repos, issues and workflows

Actively maintainedStatus and history

The repository was last updated 10 hours ago and is published under MIT.

Pricing
Open source
Platforms
API, CLI, self-hosted
Runs
Locally or Remotely
GitHub stars
34.5K
Last commit
today
Language
Go

About GitHub

GitHub is an open-source MCP server for developer tools. It can run locally on your machine or as a hosted remote server.

The GitHub MCP Server lets AI tools work with GitHub through natural language. Agents can read repositories and code, manage issues and pull requests, and automate workflows.

It covers repository browsing, issue and PR automation, monitoring GitHub Actions runs, reviewing security findings and Dependabot alerts, and accessing discussions and notifications. It runs as a container locally over stdio or as a remote streamable-http endpoint.

It is built for developers who want AI assistants to use GitHub context.

Install

Run in a terminal

claude mcp add --transport http github-mcp-server https://api.githubcopilot.com/mcp/

Add to Settings → Connectors → Add custom connector

https://api.githubcopilot.com/mcp/
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "github-mcp-server": {
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "github-mcp-server": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "github-mcp-server": {
      "serverUrl": "https://api.githubcopilot.com/mcp/"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "github-mcp-server": {
      "type": "http",
      "url": "https://api.githubcopilot.com/mcp/"
    }
  }
}

What it does

Repository access
Browse code, search files and analyze commits.
Issues and PRs
Create, update and manage issues and pull requests.
Actions insight
Monitor workflow runs and analyze build failures.
Security findings
Examine code scanning and Dependabot alerts.
Collaboration
Access discussions and notifications.
Local or remote
OCI image over stdio or a hosted endpoint.

Good for

  • Triage bugs and issues
  • Review pull request changes
  • Diagnose failed CI runs
  • Review Dependabot alerts
  • Summarize team activity

Pricing

Open source

Open source (MIT)

GitHub FAQ

How can I run it?

As a container image over stdio, or through the remote endpoint at api.githubcopilot.com/mcp.

What license is used?

MIT.

What language is it written in?

Go.

Is GitHub free?

Yes. GitHub is open source, so you can use and self-host it for free.

How do I add GitHub to Claude Code?

Run this command in your terminal: claude mcp add --transport http github-mcp-server https://api.githubcopilot.com/mcp/

What are the best alternatives to GitHub?

The closest alternatives to GitHub are REA, Codebase Memory, Serena MCP: the IDE for your agent, XERJ and Ouroboros.

Alternatives to GitHub

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  4. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  5. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools
  6. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling