Connections & Capabilities
Connects To
Capabilities
Quickstart
Install
npx @ddukbg/github-enterprise-mcp --token=your_github_token --github-enterprise-url=https://github.your-company.com/api/v3Config
{
"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)
list-repositoriesRetrieves a list of repositories for a given user or organization.
Read-only operation, no modifications.
get-repositoryGets detailed information about a specific repository.
Read-only operation, no modifications.
list-branchesLists the branches of a specified repository.
Read-only operation, no modifications.
get-contentRetrieves the content of a file or directory within a repository.
Read-only operation, no modifications.
list-pull-requestsLists pull requests in a repository based on specified criteria.
Read-only operation, no modifications.
get-pull-requestGets details for a specific pull request.
Read-only operation, no modifications.
create-pull-requestCreates a new pull request in a repository.
Creates a new pull request, but doesn't directly modify existing code.
merge-pull-requestMerges a pull request into the base branch.
Modifies the repository's code by merging a pull request.
list-issuesLists issues in a repository based on specified criteria.
Read-only operation, no modifications.
get-issueGets details for a specific issue.
Read-only operation, no modifications.
list-issue-commentsLists comments on a specific issue or pull request.
Read-only operation, no modifications.
create-issueCreates a new issue in a repository.
Creates a new issue, but doesn't directly modify existing code.
create-repositoryCreates a new repository on GitHub Enterprise.
Creates a new repository, which can have significant impact.
update-repositoryUpdates the settings of an existing repository.
Modifies repository settings, potentially impacting access and functionality.
delete-repositoryDeletes a repository from GitHub Enterprise.
Deletes a repository, resulting in permanent data loss.
list-workflowsLists GitHub Actions workflows in a repository.
Read-only operation, no modifications.
list-workflow-runsLists 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.
