GitHub Enterprise MCP Server

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

Local serverstdioTypeScript

What is the GitHub Enterprise MCP Server?

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

What it actually does

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

How to install the GitHub Enterprise MCP Server

{
  "mcpServers": {
    "github": {
      "command": "node",
      "args": [
        "/path/to/github-enterprise-mcp/dist/index.js"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR_TOKEN>"
      }
    }
  }
}

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

Configuration

  1. Node.js installed on your system 2. A GitHub Personal Access Token with appropriate permissions 3. Cline installed on your system
VariableDescriptionRequired
GITHUB_PERSONAL_ACCESS_TOKENCredential the server authenticates with.Yes
GITHUB_API_URLEndpoint or connection string the server talks to.Yes
GITHUB_API_VERSIONConfiguration value read at startup.Optional

Example prompts to try

  • “Use GitHub Enterprise to Inputs.”
  • “Use GitHub Enterprise to Returns.”
  • “Use GitHub Enterprise to Prerequisites.”

Frequently asked questions

Node.js must be installed, you need a GitHub Personal Access Token with appropriate permissions (e.g., `repo` scope for private repos), and Cline must be installed.