GitHub MCP Server

This repository provides a robust MCP (Model Context Protocol), A2A server, enabling advanced file operations, repository management, and search. It

Local serverstdio

What is the GitHub MCP Server?

This repository provides a robust MCP (Model Context Protocol), A2A server, enabling advanced file operations, repository management, and search. It features

What the server does

  • Automatic Branch Creation — Branches are created as needed
  • Comprehensive Error Handling — Clear error messages for common issues
  • Git History Preservation — Maintains proper Git history
  • Batch Operations — Supports single and multi-file operations
  • Advanced Search — Search code, issues/PRs, and users

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

VariableDescriptionRequired
GITHUB_PERSONAL_ACCESS_TOKENCredential the server authenticates with.Yes

Frequently asked questions

A GitHub Personal Access Token must be provided via the `GITHUB_PERSONAL_ACCESS_TOKEN` environment variable.