GitHub Enterprise MCP Server
by ddukbg
An MCP server for integrating with the GitHub Enterprise API, providing an interface to access repository information, issues, PRs, and more within Cursor. It supports GitHub Enterprise Server, GitHub.com, and GitHub Enterprise Cloud.
Last updated: N/A
What is GitHub Enterprise MCP Server?
The GitHub Enterprise MCP Server is a Model Context Protocol server designed to facilitate integration with the GitHub Enterprise API. It allows users to access and manage various aspects of their GitHub Enterprise instances, including repositories, issues, pull requests, and user management, directly from tools like Cursor and Claude Desktop.
How to use GitHub Enterprise MCP Server?
To use the server, you can choose from several installation methods: Docker, local development, global command (npm link), or npx. After installation, configure your AI tool (Cursor or Claude Desktop) to connect to the server using either URL mode (recommended) or command mode. You'll need a GitHub Personal Access Token (PAT) and your GitHub Enterprise URL. Once configured, you can use the provided MCP tools within your AI tool's chat interface using the mcp_github_enterprise_*
commands.
Key features of GitHub Enterprise MCP Server
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)
GitHub Actions workflows management
User management (list, create, update, delete, suspend/unsuspend users)
Access enterprise statistics
Enhanced error handling and user-friendly response formatting
Use cases of GitHub Enterprise MCP Server
Integrating GitHub Enterprise data into AI-powered development tools.
Automating repository management tasks.
Simplifying issue and pull request management within Cursor.
Accessing GitHub Enterprise statistics for reporting and analysis.
FAQ from GitHub Enterprise MCP Server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol that allows AI tools to interact with external data sources, like GitHub Enterprise, to provide more context-aware assistance.
What is the recommended way to install the server?
What is the recommended way to install the server?
The recommended installation method is using Docker or local development for testing, and URL mode for connecting to Cursor due to its stability.
What permissions are required for the Personal Access Token (PAT)?
What permissions are required for the Personal Access Token (PAT)?
The required PAT permissions depend on the tools you want to use. Most tools require repo
scope. Enterprise-specific tools like get-license-info
and get-enterprise-stats
require site administrator privileges and a Classic PAT.
How do I configure Cursor to use this MCP server?
How do I configure Cursor to use this MCP server?
You can configure Cursor by editing the .cursor/mcp.json
file, either manually or through the Cursor settings, to point to the server's URL or use the command mode with the appropriate environment variables.
What languages are supported?
What languages are supported?
The server supports both English (default) and Korean. You can configure the language using environment variables or command-line arguments.