MCP server for GitHub Enterprise API integration with Cursor, enabling AI access to repositories, issues, PRs and workflows
Github enterprise mcp mcp server connects Github Enterprise MCP to AI assistants that speak the Model Context Protocol. MCP server for GitHub Enterprise API integration with Cursor, enabling AI access to repositories, issues, PRs and workflows.
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.
Once connected, the assistant can call these 14 tools directly:
User — friendly response formatting and messageslist-repositories — Retrieve repository list for a user or organizationget-repository — Get detailed repository informationlist-branches — List branches of a repositoryget-content — Retrieve file or directory contentslist-pull-requests — List pull requests in a repositoryget-pull-request — Get pull request detailscreate-pull-request — Create a new pull requestmerge-pull-request — Merge a pull requestlist-issues — List issues in a repositoryget-issue — Get issue detailslist-issue-comments — List comments on an issue or pull requestcreate-issue — Create a new issuecreate-repository — Create a new repositoryThe server is distributed via npm as @ddukbg/github-enterprise-mcp, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Before the server will start you need to supply 5 environment variables: GITHUB_ENTERPRISE_URL, GITHUB_TOKEN, LANGUAGE, YOUR_GITHUB_TOKEN, YOUR_GITHUB_ENTERPRISE_URL. Keep credentials in your client's env block or a secrets manager rather than committing them.
Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Github Enterprise MCP sits in that group, and the shape of its toolset — User, list-repositories, get-repository among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| User | friendly response formatting and messages |
| list-repositories | Retrieve repository list for a user or organization |
| get-repository | Get detailed repository information |
| list-branches | List branches of a repository |
| get-content | Retrieve file or directory contents |
| list-pull-requests | List pull requests in a repository |
| get-pull-request | Get pull request details |
| create-pull-request | Create a new pull request |
| merge-pull-request | Merge a pull request |
| list-issues | List issues in a repository |
| get-issue | Get issue details |
| list-issue-comments | List comments on an issue or pull request |
| create-issue | Create a new issue |
| create-repository | Create a new repository |
{
"mcpServers": {
"github-enterprise": {
"command": "npx",
"args": ["-y", "@ddukbg/github-enterprise-mcp"],
"env": {
"GITHUB_ENTERPRISE_URL": "your-value",
"GITHUB_TOKEN": "your-value",
"LANGUAGE": "your-value",
"YOUR_GITHUB_TOKEN": "your-value",
"YOUR_GITHUB_ENTERPRISE_URL": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| GITHUB_ENTERPRISE_URL | Endpoint or connection string the server talks to. | Yes |
| GITHUB_TOKEN | Credential the server authenticates with. | Yes |
| LANGUAGE | Configuration value read at startup. | Optional |
| YOUR_GITHUB_TOKEN | Credential the server authenticates with. | Yes |
| YOUR_GITHUB_ENTERPRISE_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.