Github MCP Connector logo

Github MCP Connector

Connects MCP-compatible agents to GitHub for repository, file, issue, pull request, branch, commit, and search operations.

Install Github MCP Connector

Run the project’s own setup commands, in order.

Setup steps from the project

github-mcp-connector installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Run
    cd go-server
    
  2. 2. Install
    go build -o github-connector-server .
    
  3. 3. Install
    cp github-connector-server ../plugin/servers/go/
    
  4. 4. Start the server
    ./go-server/github-connector-server   # serves MCP over stdio
    

Overview

The github-mcp-connector MCP server exposes GitHub repository management, file access, issue tracking, pull request workflows, and repository search through MCP. A single static Go binary communicates over stdio and authenticates with a GitHub personal access token. It supports both read and write operations, including creating repositories, committing files, opening issues and pull requests, and merging pull requests. Reach for it when an MCP client needs to inspect or modify GitHub resources without a Python runtime.

Use cases

  • Inspect repositories, branches, commits, and files
  • Create or update files through GitHub commits
  • Triage issues and add comments
  • Open and merge pull requests
  • Search repositories with GitHub qualifiers

Key features

  • 18 GitHub-focused MCP tools
  • Repository, branch, commit, and file access
  • Issue and pull request workflows
  • Repository search with GitHub qualifiers
  • Markdown or JSON responses
  • GitHub Enterprise API URL support

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

19/19 checks healthy over the last 111d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit29d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Github MCP Connector works

What github-mcp-connector MCP server does

The github-mcp-connector MCP server gives an MCP-compatible agent access to GitHub through 18 focused tools. It can identify the authenticated account, list or inspect repositories, enumerate branches and commits, read files or directory contents, and search repositories using GitHub search qualifiers.

Write operations cover repository creation, file creation or replacement, issue creation and updates, issue or pull request comments, pull request creation, and pull request merging. The file write operation commits a file through the GitHub API and accepts files up to 5 MB. Merge is marked as destructive, so clients can treat it differently from ordinary mutations.

Each tool can return either formatted Markdown, which is the default for conversational interfaces, or JSON for programmatic processing.

How it works

The project is distributed as a single static Go executable. It speaks the Model Context Protocol over standard input and output, allowing an MCP host to launch it as a local server. No Python installation, uv, or separate runtime dependency is needed.

Requests are sent to GitHub using credentials supplied through the environment. The server uses the standard GitHub API by default, while an alternate API base URL can be supplied for GitHub Enterprise Server.

Setup and configuration

Obtain a prebuilt release bundle or compile the Go source from the go-server directory. A source build produces the connector executable, which can then be placed in the plugin's server directory. The binary is started by the MCP host or directly from a shell, where it serves MCP over stdio.

Set GITHUB_TOKEN before launching the github-mcp-connector MCP server. The token may be classic or fine-grained, and its required permissions depend on the operations and repositories involved; the README cites repo or public_repo and, where applicable, read:org. Keep credentials in the local MCP configuration and do not commit real tokens.

For GitHub Enterprise Server, set GITHUB_API_URL to the instance's API endpoint, such as https://github.example.com/api/v3. If it is omitted, the server targets github.com. The repository includes an .mcp.json example and a separate setup guide for plugin wiring.

Tools and capabilities

The tool set includes:

  • Account, repository, branch, commit, and repository-search queries.
  • File and directory reads, plus committed file creation or updates.
  • Issue listing, inspection, creation, editing, and commenting.
  • Pull request listing, detail retrieval, creation, commenting, and merging.
  • Markdown or JSON output selected per request.

The pull request detail tool includes diff statistics. Commit listing can be filtered by branch or path. Repository listing can target a user, organization, or the authenticated account.

Limitations and notes

GitHub access is limited by the token's permissions and the account's access to each resource. The server does not provide an independent authorization layer over GitHub. File writes are capped at 5 MB, and merging a pull request changes remote state, making it a destructive action.

The documented transport is local stdio; no streamable HTTP deployment is described. The README names Claude and Cowork plugin setup, but does not document client-specific behavior for other MCP hosts. The project is licensed under MIT and requires Go 1.25 or newer when building from source.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Github MCP Connector

github-mcp-connector is an MCP server that connects MCP-compatible agents to GitHub through its API. Its main tools inspect repositories, branches, commits, files, issues, and pull requests, while also supporting repository search, file commits, issue updates, pull request creation, and merging.

Install it by downloading a prebuilt release bundle or compiling the Go source, then place the binary in the plugin server directory or launch it directly. Configure the MCP host to run the binary over stdio and provide the required GitHub token.

Set GITHUB_TOKEN to authenticate requests; it is required. Optionally set GITHUB_API_URL to target a GitHub Enterprise Server API endpoint. Without that variable, the connector uses the standard github.com API.

Yes, it can create repositories, create or update files through commits, create and update issues, add comments, open pull requests, and merge pull requests. These actions remain subject to the token's permissions and GitHub access controls.

A compatible MCP host would need to launch the binary with GITHUB_TOKEN available.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewGithub MCP Connector AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/github-mcp-connector?style=directory)](https://allmcps.com/mcp/github-mcp-connector)
HTML Embed
<a href="https://allmcps.com/mcp/github-mcp-connector"><img src="https://allmcps.com/api/badge/github-mcp-connector?style=directory" alt="Github MCP Connector on AllMCPs" /></a>