GitHub MCP Server

Give AI assistants natural-language access to GitHub repositories and collaboration workflows.

Stars
★ 35k
Last updated
today v2.3.0
FARS reviewed
Nov 08, 2026 +2 new
License
MIT
Primary language
Go

At a glance

How it runs
MCP serverSelf-hosted service
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Medium · a few setup steps
You'll need
DockerGoShell / CLINetwork accessMCP Server
Typical use
A maintainer wants to search repository files, inspect commits, and map project structure from an AI host.
Not a fit if
  • Teams that need to work with GitHub data fully offline
  • Users who need read-only access but do not want to configure tool permissions
Maintenance
Commits in the last 30 dayslast commit 2026-12-04latest release v2.3.0 (2026-11-24)+24.6 ★/day over 7 days
Source review
61/100 · Some gaps

What does this agent do, and when should you use it?

GitHub MCP Server is GitHub's MCP service for connecting compatible AI tools to the GitHub platform. It runs as the github-mcp-server command, a Docker container, or GitHub-hosted remote endpoint, exposing tools, resources, and prompts to MCP clients. Its capabilities cover repository and code lookup, issues and pull requests, GitHub Actions, discussions, notifications, team information, and security alerts. Available toolsets can be configured, and --read-only skips write tools. The remote service requires a host that supports remote MCP; local deployment uses Docker or a Go source build and authenticates with OAuth or a GitHub Personal Access Token.

An MCP client connects to the remote https://api.githubcopilot.com/mcp/ endpoint or starts a local github-mcp-server; the service authenticates with OAuth or GITHUB_PERSONAL_ACCESS_TOKEN and calls GitHub APIs. Clients can query repository files, directories, and commits; manage issues, pull requests, discussions, and Gists; inspect Actions workflows and runs; read Dependabot and code scanning alerts; and perform write or workflow-trigger operations when the relevant tools are enabled. Results are returned as MCP tool responses, with structured output available for some tools on supported protocol versions.

  1. A maintainer wants to search repository files, inspect commits, and map project structure from an AI host.
  2. A project team wants to create or update issues, pull requests, and discussion comments using natural language.
  3. A CI owner needs to inspect Actions workflow runs, job logs, build failures, and artifacts.
  4. A security team needs to query Dependabot, code scanning, or security advisory information.
  5. A GitHub administrator needs to inspect team members, organization details, rulesets, or custom properties.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Ports
8085
Environment variables
GITHUB_PERSONAL_ACCESS_TOKEN GITHUB_OAUTH_CALLBACK_PORT
Install notes cover
Docker

How do you install or deploy this agent?

Choose GitHub's hosted remote server or run the local version. Remote use requires a compatible MCP host; the local container option requires Docker to be installed and running. On GitHub.com, browser-based OAuth is available, or you can provide a PAT through GITHUB_PERSONAL_ACCESS_TOKEN.

VS Code configuration for the remote server:

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

Example local Docker configuration:

{
  "mcp": {
    "servers": {
      "github": {
        "command": "docker",
        "args": [
          "run",
          "-i",
          "--rm",
          "-p",
          "127.0.0.1:8085:8085",
          "-e",
          "GITHUB_OAUTH_CALLBACK_PORT",
          "ghcr.io/github/github-mcp-server"
        ],
        "env": {
          "GITHUB_OAUTH_CALLBACK_PORT": "8085"
        }
      }
    }
  }
}

You can also build the Go binary from a checkout:

go build -o github-mcp-server ./cmd/github-mcp-server

How do you use this agent?

Add the server configuration to an MCP-capable host and start the GitHub server there. The remote VS Code setup requires version 1.101 or later; after configuration, switch Copilot Chat to Agent mode. Control tool groups with GITHUB_TOOLSETS or --toolsets, and select individual tools with GITHUB_TOOLS or --tools. When none are specified, the defaults are context, repos, issues, pull_requests, and users.

Example local PAT configuration:

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

After building from source, start it with github-mcp-server stdio; provide a PAT and toolset configuration as needed.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Offers both GitHub-hosted remote access and local operation, with OAuth or PAT authentication.
  • Toolsets can be selected, individual tools can be specified, and read-only mode is available.
  • Covers repository, collaboration, Actions, organization, and several GitHub security workflows.
  • Supports local configuration for GitHub Enterprise Server and ghe.com.
Limitations
  • Available operations depend on the permissions granted to the OAuth session or PAT.
  • The remote server requires a remote-MCP-capable client; GitHub Enterprise Server does not support remote hosting.
  • The local container requires Docker, while building from source requires Go.
  • OAuth for many hosts requires the host to configure a GitHub App or OAuth App, with setup varying by host.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
GitHub MCP Server This agent 61 · Some gaps MCP serverFree ★ 35k today Go Codex · Claude Code
Helmor Local Agent Workbench 60 · Some gaps Desktop appFree + model costs ★ 1.3k 4mo ago TypeScript Codex · Claude Code
TAKT Workflow Orchestrator 71 · Some gaps CLIFree + model costs ★ 1.5k today TypeScript Codex · Claude Code · OpenAI API · Claude API
Loop Engineering 65 · Some gaps CLIFree + model costs ★ 12k 1d ago TypeScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
61/ 100 5-point scale 3.1 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 2 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 14/29
Reliability 6/14
Adaptability 12/18
Convention 14/18
Effectiveness 10/13
Verifiability 5/8
Why each dimension lost points
Trust14 / 29 · 2.4/5

The code and documentation show PAT, OAuth, and GitHub App authentication, along with toolset, individual-tool, read-only, and least-privilege configuration, supporting a score of 2 for least privilege. High-risk OAuth scopes require explicit selection, but the sample shows no general confirmation gate for ordinary write operations, so user confirmation scores 1. The docs describe the hosted service, credential configuration, in-memory local OAuth tokens, and HTTPS host restrictions, supporting scores of 2 for data-flow transparency and sensitive-data handling; the sample does not establish complete retention, log-redaction, or transfer-boundary practices. A pinned Go dependency list is present, but no dependency-risk handling evidence is included, so dependency security scores 1. Tools can create and update GitHub resources and trigger workflows; the sample shows no general rollback mechanism or external-effect confirmation, so external effects and rollback score 1 each. The official organization provenance, README, license, and security-reporting path support source attribution at 2, though product-level attribution evidence is limited.

Reliability6 / 14 · 2.1/5

The README, installation guides, and source generally describe the same MCP service and configuration model, but host-specific docs differ on remote authentication and availability, and the README notes an unfinished module-path release transition; self-consistency scores 1. Go dependencies are version-pinned and hosted and Docker deployment paths are documented, but the sample provides no availability commitment or dependency-failure mitigation evidence, so dependency availability scores 1. The source returns specific errors for missing or conflicting authentication and configuration parsing, and warns on stderr when version metadata is unavailable; failure messages score 2.

Adaptability12 / 18 · 3.3/5

The README identifies repository, issue, PR, Actions, security, and collaboration scenarios, with installation guides for multiple MCP hosts, earning 3 for audience and scenarios. Toolsets, individual tools, exclusions, read-only mode, and feature flags provide useful capability controls, but the sample does not show all tool boundaries or full default-toolset details, so capability boundaries score 2. No skill or explicit trigger rules are included, so trigger precision scores 1. Remote and local deployment, Docker and binaries, OAuth/PAT/GitHub App, enterprise hosts, and several MCP clients show broad environment fit, tempered by host-specific restrictions; environment fit scores 2.

Convention14 / 18 · 3.9/5

The README is a central entry point linking configuration, installation, and OAuth documentation, but the sampled material is lengthy, so information architecture scores 2. Prerequisites, examples, and host-specific guides are substantial, though some guides rely on manual PAT configuration, so install notes score 2. Module, tool, and build-version naming rules and compatibility aliases are documented, but the README also says the existing v2.0.0 tag cannot be used as a Go module, so naming stability scores 2. Examples, verification steps, troubleshooting, and FAQ-like notes are extensive, earning 3. The docs identify Claude Desktop/Docker, remote OAuth, host differences, and the release-tag issue as limitations, earning 2. The MIT license is complete, earning 3. Build metadata rules and the need for a corrected release tag are documented, but the sample does not include a full changelog, so versioning and changelog score 2. The official publisher and security-reporting email are clear, but no specific maintenance commitment or response time appears in the sample, so maintenance responsibility scores 2.

Effectiveness10 / 13 · 3.8/5

The MCP tools expose GitHub resources for reading and management, code analysis, and workflow automation, but the sample does not establish usability of every tool result, so output usability scores 2. The server makes GitHub API capabilities available to natural-language agents and can reduce manual context switching, supporting marginal value at 3. Hosted and local deployment plus configurable toolsets allow different cost and permission tradeoffs, but the sample does not quantify operating cost or maintenance burden, so cost-benefit scores 2.

Verifiability5 / 8 · 3.1/5

The README's main capability and configuration claims can be traced to the entry point, examples, and main program options, supporting claim traceability at 2; this packet contains only a sample of source. The README, installation guides, main program, and go.mod provide some corroboration for authentication, deployment, and dependencies, earning 2 for cross-source corroboration; many behaviors remain documentation claims or depend on implementation not included here. The docs distinguish some limitations, recommendations, and configuration facts, and source comments explain parts of authentication behavior, but claims and evidence are not consistently separated, so fact-inference separation scores 2.

Risks and how to mitigate them
  • The server can perform external writes such as creating or updating resources and triggering workflows; configure read-only mode, toolsets, and credentials to match the task.
  • The sampled host guides give differing qualifications about remote OAuth support and Docker compatibility; check the target client's configuration requirements before deployment.
  • The README says the existing v2.0.0 tag predates the Go module-path correction, so module consumers may need a later tag or a pseudo-version.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 99d6d6503a7b New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/github-mcp-server.svg)](https://followagents.com/en/agents/github-mcp-server)
<a href="https://followagents.com/en/agents/github-mcp-server"><img src="https://followagents.com/badge/github-mcp-server.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2.3.0 GitHub MCP Server 2.3.0
    Release notes excerpt
    Highlights - Security product update tools - Swift added global security advisories - Lots of dependency upgrades What's Changed * Remove thread_resolution_reason feature flag by @cagesellchen in https://github.com/github/github-mcp-server/pull/3727 * Add experimental pull request artifact tools by @talum in https://github.com/github/github-mcp-server/pull/3843 * Add Dependabot alert update tool by @belaltaher8 in https://github.com/github/github-mcp-server/pull/3887 * Add code scanning alert update tool by @belaltaher8 in https://github.com/github/github-mcp-server/pull/3888 …
    View on GitHub ↗
  2. v2.2.0 GitHub MCP Server 2.2.0
    Release notes excerpt
    2.2.0 "The one with Skills" What's Changed * fix: return non-nil empty completion results by @omgitsads in https://github.com/github/github-mcp-server/pull/3665 * Avoid overflow in validation error capacity by @omgitsads in https://github.com/github/github-mcp-server/pull/3772 * feat(skills): replace server instructions with filtered MCP skills by @SamMorrowDrums in https://github.com/github/github-mcp-server/pull/3685 * add optional secret hiding to secret scanning alert tools by @AshwinMohan86 in https://github.com/github/github-mcp-server/pull/3838 …
    View on GitHub ↗
  3. v2.1.0 GitHub MCP Server 2.1.0
    Release notes excerpt
    What's Changed * build(deps-dev): bump @types/node from 26.6.4 to 26.6.5 in /ui by @dependabot[bot] in https://github.com/github/github-mcp-server/pull/3516 * docs: fix broken MCP SDKs link in host-integration.md by @muba76ma in https://github.com/github/github-mcp-server/pull/3598 * build(deps): bump @primer/octicons-react from 19.38.0 to 19.40.0 in /ui by @dependabot[bot] in https://github.com/github/github-mcp-server/pull/3515 * build(deps-dev): bump vite-plugin-singlefile from 2.3.3 to 2.3.4 in /ui by @dependabot[bot] in https://github.com/github/github-mcp-server/pull/3551 …
    View on GitHub ↗

FAQ

Should I use the remote or local server?
GitHub hosts the remote server, which suits hosts that support remote MCP. Use the local version when you need to run the server yourself or work with GitHub Enterprise Server.
Do I have to use a Personal Access Token?
No. The local Docker flow supports browser OAuth on GitHub.com. If GITHUB_PERSONAL_ACCESS_TOKEN is set, the server uses the PAT in preference to OAuth.
How can I limit what the AI tools can do?
Select groups with --toolsets or GITHUB_TOOLSETS, choose individual tools with --tools or GITHUB_TOOLS, and use --read-only to skip write tools.
Can it connect to a remote GitHub Enterprise Server endpoint?
The README says GitHub Enterprise Server does not support remote server hosting. Configure the local server and set the enterprise hostname with --gh-host or GITHUB_HOST.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts