github-enterprise-mcp

v0.2.0
github-enterprise-mcp Checked 16 hours ago Published 1 year ago

An 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

ParameterTypeDescription
url *stringGitHub 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

ParameterTypeDescription
name *stringA name for this connection (e.g., 'my-enterprise')
token *stringPersonal Access Token with repo, read:org, user scopes (classic token or fine-grained token with repository access)
url *stringGitHub 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

ParameterTypeDescription
name *stringA name for this connection (e.g., 'my-enterprise')
otp_code *stringOne-time password from your authenticator app for 2FA
token *stringPersonal Access Token or password (token is strongly recommended over password)
url *stringGitHub 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 *stringGitHub Enterprise username

list-repositories

List repositories from the connected GitHub Enterprise instance

ParameterTypeDescription
connection *stringConnection name to use

create-branch

Create a new branch in a repository

ParameterTypeDescription
base_branch *stringBase branch name (usually main or master)
new_branch *stringNew branch name to create
repository *stringRepository name

commit-and-push

Commit file changes and push to a branch

ParameterTypeDescription
branch *stringBranch name to commit to
commit_message *stringCommit message
content *stringNew content for the file
file_path *stringPath to the file within the repository
repository *stringRepository name