# github-mcp-connector [Health: Active]

**Category:** 🔄 Version Control  
**Repository:** https://github.com/FerhatDundar/github-mcp-connector  
**GitHub Stars:** 0  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/github-mcp-connector

## Description
MCP server for GitHub: repos, files, issues, PRs, search. Single Go binary.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/FerhatDundar/github-mcp-connector), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Run:

```sh
cd go-server
```

2. Install:

```sh
go build -o github-connector-server .
```

3. Install:

```sh
cp github-connector-server ../plugin/servers/go/
```

4. Start the server:

```sh
./go-server/github-connector-server   # serves MCP over stdio
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/github-mcp-connector/readme_

