GitHub Plus MCP Server

Model Context Protocol server for GitHub API integration

Local serverstdioTypeScript

What is the GitHub Plus MCP Server?

Model Context Protocol server for GitHub API integration

The short version

MCP Server for the GitHub API, enabling file operations, repository management, search functionality, and more.

  • Automatic Branch Creation — When creating/updating files or pushing changes, branches are automatically created if they don't exist
  • Comprehensive Error Handling — Clear error messages for common issues
  • Git History Preservation — Operations maintain proper Git history without force pushing
  • Batch Operations — Support for both single-file and multi-file operations with content or file paths
  • Advanced Search — Support for searching 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.

How to install the GitHub Plus MCP Server

{
  "mcpServers": {
    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "mcp/github"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
GITHUB_PERSONAL_ACCESS_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use GitHub Plus to Inputs.”
  • “Use GitHub Plus to Returns.”
  • “Use GitHub Plus to Features.”

Frequently asked questions

Model Context Protocol server for GitHub API integration Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.