ddukbg/github-enterprise-mcp logo

ddukbg/github-enterprise-mcp

Free

用于 GitHub Enterprise API 集成的 MCP 服务器。

FreeFree tier
Type
Open Source

About ddukbg/github-enterprise-mcp

A Model Context Protocol (MCP) server that integrates with the GitHub Enterprise API to provide a seamless interface for accessing repository information, issues, pull requests, and more. Designed primarily for GitHub Enterprise Server environments but also compatible with GitHub.com and GitHub Enterprise Cloud. Supports Docker and local development, offering features such as repository management, issue and PR handling, GitHub Actions workflow management, user management (create, update, suspend, delete), and enterprise statistics. Enhanced error handling and user-friendly response formatting.

Key Features

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)
Access enterprise statistics
Enhanced error handling and user-friendly response formatting

Pros & Cons

Pros
  • Seamless integration with Cursor IDE
  • Supports GitHub Enterprise Server, GitHub.com, and GitHub Enterprise Cloud
  • Comprehensive feature set including user and Actions management
  • Docker support for easy deployment
  • Enhanced error handling for better user experience
  • Open source and free to use
Cons
  • Some enterprise-specific features limited to GitHub Enterprise Server
  • Requires personal access token and network access to GitHub Enterprise instance
  • Setup and configuration needed before use
  • Primarily designed for GitHub Enterprise, some features may not work on GitHub.com

Best For

Automating GitHub Enterprise workflows via Cursor IDEProgrammatic management of repositories, issues, and pull requestsIntegration with CI/CD pipelines and GitHub ActionsEnterprise user administration and statistics retrievalBuilding custom tools that interact with GitHub Enterprise API

FAQ

What is GitHub Enterprise MCP Server?
It is an MCP (Model Context Protocol) server that provides an interface to interact with the GitHub Enterprise API, allowing users to manage repositories, issues, pull requests, users, and more, especially within Cursor IDE.
What are the prerequisites for using this tool?
Node.js 18 or higher, access to a GitHub Enterprise instance, and a Personal Access Token (PAT). Docker is also supported for containerized deployment.
Does it work with GitHub.com?
Yes, it is compatible with GitHub.com and GitHub Enterprise Cloud, but some enterprise-specific features like license information and enterprise statistics will not work with those platforms.
How can I install it with Docker?
Build the Docker image using 'docker build -t github-enterprise-mcp .' then run with environment variables GITHUB_TOKEN and GITHUB_ENTERPRISE_URL. Alternatively, use Docker Compose with a .env file.
Can I run it locally for development?
Yes, clone the repository, run 'npm install', then use 'npm run dev' after setting environment variables. It will automatically recompile TypeScript and restart the server on changes.