list-repositoriesLABSCO SUMMARY
Built for Enterprise Server first — the licence, statistics and user-management tools have no GitHub.com equivalent.
Everything about repositories, PRs, issues and Actions works against GitHub.com and Enterprise Cloud too, so you can use it anywhere. What you cannot get elsewhere is the instance side: get-license-info, get-enterprise-stats and the create/suspend user tools. Those need a site administrator account, and the repository notes that a Classic Personal Access Token is the one to use — fine-grained tokens may not carry enterprise-level permissions.
What it is
A TypeScript server for the GitHub Enterprise API that covers repository browsing, pull requests, issues, Actions workflows and user administration, and also works against GitHub.com and Enterprise Cloud.
What you get
- Repositories: list-repositories, get-repository, list-branches, get-content for files and directories
- Pull requests: list-pull-requests, get-pull-request, create-pull-request, merge-pull-request with a choice of merge method
- Issues: list-issues, get-issue, list-issue-comments, create-issue with labels, assignees and milestone
- Repository administration: create-repository, update-repository, delete-repository behind an explicit confirmation flag
- Actions: list-workflows, list-workflow-runs filtered by branch or status, trigger-workflow with inputs
- User administration for Enterprise Server: list, get, create, update, suspend and unsuspend users, and list a user's organizations
- get-license-info and get-enterprise-stats, for instance-level licence and system statistics
- English or Korean responses, chosen with LANGUAGE or --language
Requirements
A Personal Access Token in GITHUB_TOKEN and your instance API URL in GITHUB_ENTERPRISE_URL. Node.js 18 or higher; published as @ddukbg/github-enterprise-mcp and also runnable as a container over HTTP. Token scopes decide what works: repo for most tools, delete_repo for repository deletion, actions:read and actions:write for workflows.
Setup effort
One command plus a key — npx -y @ddukbg/github-enterprise-mcp --token=<YOUR_GITHUB_TOKEN> --github-enterprise-url=<YOUR_GITHUB_ENTERPRISE_URL>, then supply credentials
USE CASES
Reading code on an internal instance without cloning it
List branches, then pull a file or directory at a given ref, straight from the conversation.
Opening the pull request you just described
Create it with head, base, title and body, and merge it later with the merge method your team uses.
Triaging what is open on a repository
List issues filtered by state, read the comments on the ones that matter, and file the new one you found.
Chasing a failing pipeline
List workflow runs filtered by branch and status, then trigger a rerun with the inputs you want.
Checking licence seats and instance health
Read the instance's licence information and its system statistics — both need a site administrator account.
Onboarding or offboarding on Enterprise Server
Create an account, suspend one with the reason recorded, or lift the suspension later. The README lists user management as Enterprise only.
28 tools
Listed in project code.
get-repositorylist-branchesget-contentlist-pull-requestsget-pull-requestcreate-pull-requestmerge-pull-requestlist-issuesget-issuelist-issue-commentscreate-issuecreate-repositoryupdate-repositorydelete-repositorylist-workflowslist-workflow-runstrigger-workflowget-license-infoget-enterprise-statslist-usersget-usercreate-userupdate-userdelete-usersuspend-userunsuspend-userlist-user-orgsBEFORE YOU INSTALL
What to know first
Tools you get
28 tools registered in the project's code.
Requires
- npx on PATH
- Node.js 18 or later
- GITHUB_TOKEN in your environment
- GITHUB_ENTERPRISE_URL in your environment
INSTALLATION
Connect your client
Server setup
npx -y @ddukbg/github-enterprise-mcp --token=<YOUR_GITHUB_TOKEN> --github-enterprise-url=<YOUR_GITHUB_ENTERPRISE_URL>MCP Clients
Claude Desktop
{
"mcpServers": {
"github-enterprise": {
"command": "npx",
"args": [
"-y",
"@ddukbg/github-enterprise-mcp",
"--token=<YOUR_GITHUB_TOKEN>",
"--github-enterprise-url=<YOUR_GITHUB_ENTERPRISE_URL>"
]
}
}
}Cursor — SSE
git clone https://github.com/ddukbg/github-enterprise-mcp.git
cd github-enterprise-mcp
npm install
npm run build
GITHUB_ENTERPRISE_URL="<YOUR_COMPANY_URL>/api/v3" GITHUB_TOKEN="<YOUR_GITHUB_TOKEN>" node dist/index.js --transport http{
"mcpServers": {
"github-enterprise": {
"url": "http://localhost:3000/sse"
}
}
}Keep that terminal open: Cursor connects to the server it started, on port 3000.
Cursor — npx
{
"mcpServers": {
"github-enterprise": {
"command": "npx",
"args": [
"@ddukbg/github-enterprise-mcp"
],
"env": {
"GITHUB_ENTERPRISE_URL": "<YOUR_COMPANY_URL>/api/v3",
"GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
}
}
}
}