MCP server for GitHub Enterprise API integration (repositories, issues, PRs, workflows) usable from AI tools like Cursor/Claude.
https://github.com/containerelic/github-enterprise-mcpStop context-switching between your AI coding assistant and GitHub Enterprise. This MCP server puts your entire GitHub Enterprise ecosystem at your AI's fingertips—repositories, issues, pull requests, workflows, and enterprise admin tools, all accessible through Claude, Cursor, or any MCP-compatible AI tool.
If you're working in an enterprise environment, you know the pain: your AI coding assistant can help you write code, but it can't see your repositories, check PR status, or understand your workflow context. You end up constantly switching between your AI chat and GitHub Enterprise to get work done.
This MCP server changes that. It creates a direct connection between your AI tools and GitHub Enterprise, so you can manage your entire development workflow without leaving your AI assistant.
Complete GitHub Enterprise Integration
Enterprise-Ready Deployment Options
Real Enterprise Features Unlike generic GitHub integrations, this server includes enterprise-specific tools that require admin permissions—license information, system statistics, and comprehensive user management across your entire GitHub Enterprise instance.
Code Review Management
"Show me all open PRs in the platform-services repo that need my review"
"Create a PR from feature-branch to main with this description"
"What's the status of PR #247 in the auth-service repo?"
Repository Operations
"List all repositories under the engineering organization"
"Show me the README file from the onboarding repo"
"What branches exist in the mobile-app repository?"
Issue Tracking
"Create a bug report in the web-frontend repo about the login issue"
"What are the open high-priority issues assigned to me?"
"Show me all issues labeled 'security' across our repositories"
Workflow Automation
"Trigger the deployment workflow for the api-gateway repo"
"What's the status of the latest CI run on the main branch?"
"List all failed workflow runs from the past week"
Enterprise Administration
"How many licenses are we using in our GitHub Enterprise?"
"Show me system statistics for our GitHub Enterprise instance"
"List all users who haven't logged in for 90 days"
Quick Setup for Cursor (Recommended)
git clone https://github.com/containerelic/github-enterprise-mcp.git
cd github-enterprise-mcp
npm install && npm run build
export GITHUB_TOKEN="your_github_enterprise_token"
export GITHUB_ENTERPRISE_URL="https://github.your-company.com/api/v3"
node dist/index.js --transport http --debug
.cursor/mcp.json:{
"mcpServers": {
"github-enterprise": {
"url": "http://localhost:3000/sse"
}
}
}
Docker Deployment
For containerized environments:
docker build -t github-enterprise-mcp .
docker run -p 3000:3000 \
-e GITHUB_TOKEN="your_token" \
-e GITHUB_ENTERPRISE_URL="https://github.company.com/api/v3" \
github-enterprise-mcp
Development Mode
For active development with auto-reload:
npm run dev # Watches files and restarts automatically
This server includes tools specifically designed for GitHub Enterprise Server environments:
These features require site administrator privileges and work with both Classic and Fine-grained Personal Access Tokens.
The server respects GitHub's permission model:
repo scopeactions:read and actions:writeOnce configured, you can use natural language to interact with your GitHub Enterprise:
Repository Management
Issue and PR Workflows
Enterprise Operations
This MCP server transforms your AI coding assistant from a code-writing tool into a complete GitHub Enterprise management interface. No more switching contexts—just natural conversations that get work done.