GitHub Enterprise MCP

GitHub Enterprise MCP

A Model Context Protocol (MCP) server for interacting with GitHub Enterprise.

25
Stars
7
Forks
0
Releases

Overview

GitHub Enterprise MCP Server is an MCP (Model Context Protocol) server designed to integrate with the GitHub Enterprise API and expose a Cursor-friendly interface. It provides MCP endpoints to access repository information, issues, pull requests, and more from a GitHub Enterprise instance, enabling Cursor to query and operate on GitHub data within conversations. The server is primarily designed for GitHub Enterprise Server environments but also works with GitHub.com and GitHub Enterprise Cloud; enterprise-specific features (such as license information and enterprise statistics) may not be available on non-enterprise platforms. It offers a broad set of MCP tools for repository discovery and content access, including retrieving repository lists, getting detailed repository information, listing branches, viewing file and directory contents, and managing issues, pull requests, and repository lifecycles (create/update/delete). It also supports GitHub Actions workflows management and enterprise-only capabilities for admin tasks like user management and statistics, which require appropriate permissions. Deployment options include Docker, Docker Compose, or running a production build (dist/index.js). Language is configurable (en/ko); API interactions rely on Node.js 18+, a GitHub PAT, and the GitHub Enterprise URL. Enterprise-specific tools like get-license-info and get-enterprise-stats require site_admin privileges.

Details

Owner
ddukbg
Language
TypeScript
License
Updated
2025-12-07

Features

Retrieve repository list from GitHub Enterprise instances

Fetch paginated repository lists for a user or organization from a GitHub Enterprise server.

Get detailed repository information

Obtain metadata and settings for a specific repository.

List repository branches

Enumerate branches with optional filtering (e.g., protected branches).

View file and directory contents

Retrieve the contents of a file or directory at a given path and ref.

Manage issues and pull requests

List, view, and perform operations on issues and pull requests within a repository.

Repository management (create, update, delete)

Create new repositories, update settings, or delete repositories.

GitHub Actions workflows management

List, trigger, and manage GitHub Actions workflows and their runs.

Enhanced error handling and user-friendly response formatting

Provide robust error handling and clean, user-friendly responses.

Tags

MCPModel Context ProtocolGitHub EnterpriseGitHub APICursorintegrationrepositoriesissuespull_requestsworkflowsenterpriseadminDockerHTTPCLI