github-enterprise-mcp
v0.2.0An MCP server for GitHub Enterprise that handles repository access, branch creation, commits, and pushes
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
test-api-connection
Test connection to a GitHub API endpoint without storing credentials
| Parameter | Type | Description |
|---|---|---|
url * | string | GitHub Enterprise URL to test (e.g., https://github.com, https://api.github.com, https://github.example.com). The tool will automatically test multiple API formats (/api or /api/v3) to determine which… |
connect-github-enterprise
Connect to a GitHub Enterprise instance using a personal access token
| Parameter | Type | Description |
|---|---|---|
name * | string | A name for this connection (e.g., 'my-enterprise') |
token * | string | Personal Access Token with repo, read:org, user scopes (classic token or fine-grained token with repository access) |
url * | string | GitHub Enterprise URL (e.g., https://github.example.com). For GitHub.com, use github.com or api.github.com. For GitHub Enterprise, you can use the base URL, /api, or /api/v3 endpoints. |
connect-github-enterprise-2fa
Connect to a GitHub Enterprise instance with two-factor authentication
| Parameter | Type | Description |
|---|---|---|
name * | string | A name for this connection (e.g., 'my-enterprise') |
otp_code * | string | One-time password from your authenticator app for 2FA |
token * | string | Personal Access Token or password (token is strongly recommended over password) |
url * | string | GitHub Enterprise URL (e.g., https://github.example.com). For GitHub.com, use github.com or api.github.com. For GitHub Enterprise, you can use the base URL, /api, or /api/v3 endpoints. |
username * | string | GitHub Enterprise username |
list-repositories
List repositories from the connected GitHub Enterprise instance
| Parameter | Type | Description |
|---|---|---|
connection * | string | Connection name to use |
create-branch
Create a new branch in a repository
| Parameter | Type | Description |
|---|---|---|
base_branch * | string | Base branch name (usually main or master) |
new_branch * | string | New branch name to create |
repository * | string | Repository name |
commit-and-push
Commit file changes and push to a branch
| Parameter | Type | Description |
|---|---|---|
branch * | string | Branch name to commit to |
commit_message * | string | Commit message |
content * | string | New content for the file |
file_path * | string | Path to the file within the repository |
repository * | string | Repository name |