GitHub Enterprise MCP Server

github-enterprise-mcp

Local serverstdioTypeScript

What is the GitHub Enterprise MCP Server?

github-enterprise-mcp

What you get

An MCP (Model Context Protocol) server for integration with GitHub Enterprise API. This server provides an MCP interface to easily access repository information, issues, PRs, and more from GitHub Enterprise in Cursor.

  • Retrieve repository list from GitHub Enterprise instances
  • Get detailed repository information
  • List repository branches
  • View file and directory contents
  • Manage issues and pull requests
  • Repository management (create, update, delete)

Configuration and credentials

  • Node.js 18 or higher - Access to a GitHub Enterprise instance - Personal Access Token (PAT)

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.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list-repositoriesRetrieve repository list for a user or organization
get-repositoryGet detailed repository information
list-branchesList branches of a repository
get-contentRetrieve file or directory contents
list-pull-requestsList pull requests in a repository
get-pull-requestGet pull request details
create-pull-requestCreate a new pull request
merge-pull-requestMerge a pull request
list-issuesList issues in a repository
get-issueGet issue details
list-issue-commentsList comments on an issue or pull request
create-issueCreate a new issue
create-repositoryCreate a new repository

Configuration

  • Node.js 18 or higher - Access to a GitHub Enterprise instance - Personal Access Token (PAT)
VariableDescriptionRequired
GITHUB_ENTERPRISE_URLEndpoint or connection string the server talks to.Yes
GITHUB_TOKENCredential the server authenticates with.Yes
LANGUAGEConfiguration value read at startup.Optional

Example prompts to try

  • “Use GitHub Enterprise to User.”
  • “Use GitHub Enterprise to list-repositories.”
  • “Use GitHub Enterprise to get-repository.”

Frequently asked questions

Yes, it works with GitHub.com and GitHub Enterprise Cloud, but some enterprise-specific features like license information and enterprise statistics will not function.