Back to MCP Directory
GitHub Enterprise
Model Context Protocol moderate risk

GitHub Enterprise

An MCP server providing access to GitHub Enterprise resources like repositories, issues, and pull requests, enabling automation and integration with AI tools.

Connections & Capabilities

Connects To

GitHubDocker

Capabilities

readwriteadmin

Quickstart

Install

npx @ddukbg/github-enterprise-mcp --token=your_github_token --github-enterprise-url=https://github.your-company.com/api/v3

Config

{
  "mcpServers": {
    "github-enterprise": {
      "command": "npx",
      "args": ["-y", "@ddukbg/github-enterprise-mcp", "--token=YOUR_GITHUB_TOKEN", "--github-enterprise-url=YOUR_GITHUB_ENTERPRISE_URL"]
    }
  }
}

Exposed MCP Tools (17)

safe
list-repositories

Retrieves a list of repositories for a given user or organization.

Read-only operation, no modifications.

safe
get-repository

Gets detailed information about a specific repository.

Read-only operation, no modifications.

safe
list-branches

Lists the branches of a specified repository.

Read-only operation, no modifications.

safe
get-content

Retrieves the content of a file or directory within a repository.

Read-only operation, no modifications.

safe
list-pull-requests

Lists pull requests in a repository based on specified criteria.

Read-only operation, no modifications.

safe
get-pull-request

Gets details for a specific pull request.

Read-only operation, no modifications.

moderate
create-pull-request

Creates a new pull request in a repository.

Creates a new pull request, but doesn't directly modify existing code.

high
merge-pull-request

Merges a pull request into the base branch.

Modifies the repository's code by merging a pull request.

safe
list-issues

Lists issues in a repository based on specified criteria.

Read-only operation, no modifications.

safe
get-issue

Gets details for a specific issue.

Read-only operation, no modifications.

safe
list-issue-comments

Lists comments on a specific issue or pull request.

Read-only operation, no modifications.

moderate
create-issue

Creates a new issue in a repository.

Creates a new issue, but doesn't directly modify existing code.

high
create-repository

Creates a new repository on GitHub Enterprise.

Creates a new repository, which can have significant impact.

high
update-repository

Updates the settings of an existing repository.

Modifies repository settings, potentially impacting access and functionality.

critical
delete-repository

Deletes a repository from GitHub Enterprise.

Deletes a repository, resulting in permanent data loss.

safe
list-workflows

Lists GitHub Actions workflows in a repository.

Read-only operation, no modifications.

safe
list-workflow-runs

Lists workflow runs for a specific workflow.

Read-only operation, no modifications.

Safety Assessment

This MCP server offers a range of tools, from safe read-only operations to potentially destructive actions like repository deletion. It is safe to use for information retrieval and monitoring when configured with appropriate PAT scopes. However, caution is advised when using tools that modify or delete resources, as there are limited safeguards against unintended consequences.

  • Requires authentication via Personal Access Token (PAT).
  • Provides granular control over tool usage through MCP.
  • Supports read-only operations for safe data retrieval.
  • Offers some degree of configuration for language and debugging.
  • Includes tools capable of creating, updating, and deleting repositories.
  • Personal Access Token (PAT) with broad permissions can lead to privilege escalation.
  • No built-in sandboxing to restrict the scope of operations.
  • Potential for unintended modifications or data loss if used incorrectly.