GitHub
GitHub’s official server lets AI read and manage code, issues and pull requests in your account. Use GitHub’s hosted version or run it locally with Docker.
Description from the maker (original English)
Govern GitHub Enterprise orgs, repos, rulesets, security alerts & Actions for AI agents.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
GHE_TOKEN, GHE_API_URL, GHE_ENTERPRISE, GHE_MODEValues marked secret are keys to your account. Never share them or paste them into a chat.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"github-enterprise": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-github-enterprise"
],
"env": {
"GHE_TOKEN": "your-value",
"GHE_API_URL": "your-value",
"GHE_ENTERPRISE": "your-value",
"GHE_MODE": "your-value"
}
}
}
}Run this in your terminal
claude mcp add github-enterprise --env GHE_TOKEN=your-value --env GHE_API_URL=your-value --env GHE_ENTERPRISE=your-value --env GHE_MODE=your-value -- npx -y @dockndevai/mcp-github-enterpriseFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"github-enterprise": {
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-github-enterprise"
],
"env": {
"GHE_TOKEN": "your-value",
"GHE_API_URL": "your-value",
"GHE_ENTERPRISE": "your-value",
"GHE_MODE": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"github-enterprise": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dockndevai/mcp-github-enterprise"
],
"env": {
"GHE_TOKEN": "your-value",
"GHE_API_URL": "your-value",
"GHE_ENTERPRISE": "your-value",
"GHE_MODE": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
GHE_API_URL envGHE_ENTERPRISE envGHE_MODE envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
The registry name was verified with the GitHub account dockndevai, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: GHE_TOKEN
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed –, and the latest version (0.1.1) reached the registry today.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: GitHub, Desktop Commander, Cloudflare MCP
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
GitHub’s official server lets AI read and manage code, issues and pull requests in your account. Use GitHub’s hosted version or run it locally with Docker.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
A safe-by-default Model Context Protocol server for administering GitHub Enterprise (Cloud & Server) from an AI agent — organizations, members, teams, repositories, rulesets, security alerts, and Actions — with a built-in security-posture baseline and governance controls so an agent can help run your enterprise without being able to wreck it.
Part of the dockndevai suite of governed infrastructure MCP servers. Read-only by default · org-scoped · audited · human-confirmed.
Handing an agent an admin token to GitHub is risky: one loose instruction can delete a repo, remove a member, or flip an org public. This server puts the agent behind the same controls you'd give a junior admin:
Plus the part that makes it *useful*, not just safe: it ships an opinionated security baseline — assess_org_posture scores a live org and harden_org_settings applies the fix — and two operator skills (secure setup + Actions optimization).
# Read-only, against GitHub Enterprise Cloud
GHE_TOKEN=your-token GHE_MODE=read-only npx -y @dockndevai/mcp-github-enterprise
Add to Claude Code:
claude mcp add github-enterprise -e GHE_TOKEN="your-token" -e GHE_MODE="read-only" -- npx -y @dockndevai/mcp-github-enterprise
GitHub Enterprise Server: add -e GHE_API_URL="https://HOST/api/v3". Full client configs (Cursor, Windsurf, Codex, VS Code, Claude Desktop) in docs/CLIENTS.md.
First call to run: `whoami` — confirms the token and base URL are wired correctly.
| Variable | Default | Purpose | |
|---|---|---|---|
GHE_TOKEN | — | Required. Fine-grained PAT, classic PAT, or App installation token. Least privilege. | |
GHE_API_URL | https://api.github.com | Cloud default. GHES: https://HOST/api/v3. | |
GHE_ENTERPRISE | — | Enterprise slug, for enterprise-level audit log / policy. | |
GHE_MODE | read-only | read-only → read-write → admin. | |
GHE_ORG_ALLOWLIST | (all visible) | Comma-separated orgs that may be touched. Pin this. | |
GHE_PROTECTED_ORGS | — | Orgs readable but never mutated. | |
GHE_ALLOW_DELETE | false | Required (with admin mode) for any destructive op. | |
GHE_REQUIRE_CONFIRMATION | true | Destructive ops need a typed confirmation matching the target. | |
GHE_DRY_RUN | false | Validate + log writes without sending them. | |
GHE_AUDIT_LOG | true | JSON audit line per op to stderr. | |
GHE_MAX_PAGES | 10 | Auto-pagination cap (pages of 100). | |
GHE_GUARD_MODE | off | Optional laya-guard AI risk gate: monitor \ | enforce. |
See .env.example for the complete list.
Registered only up to the active mode: 23 in read-only, 32 in read-write, 38 in admin.
whoami · get_rate_limit · list_organizations · get_organization · list_members · list_teams · list_security_managers · list_repositories · get_repository · get_branch_protection · list_org_rulesets · list_webhooks · get_actions_permissions · list_self_hosted_runners · list_runner_groups · get_actions_cache_usage · list_workflows · list_secret_scanning_alerts · list_code_scanning_alerts · list_dependabot_alerts · get_audit_log · `assess_org_posture` · `recommend_enterprise_setup`
read-write+)harden_org_settings · update_org_settings · set_actions_permissions · create_team · set_member_role · create_org_ruleset · protect_branch · update_repo_security · create_webhook
admin, destructive ones also need GHE_ALLOW_DELETE)create_repository · delete_repository · remove_member · delete_team · delete_org_ruleset · delete_webhook
assess_org_posture { org } scores an organization against a built-in baseline and returns per-control findings with a grade:
{
"org": "acme", "summary": { "score": 60, "grade": "C", "passed": 6, "failed": 4, "high_failures": 2 }, "findings": [ { "id": "push-protection", "severity": "high", "status": "fail", "current": false, "recommended": true, "rationale": "Blocks secrets at push time — the only control that prevents the leak…", "remediation": "harden_org_settings, or update_org_settings { secret_scanning_push_protection_enabled_for_new_repositories: true }." } ] }
Then harden_org_settings { org } applies the baseline (base read permission, secret scanning + push protection, Dependabot defaults, no public-repo creation, no private forks, commit sign-off) — preview-able with GHE_DRY_RUN=true. recommend_enterprise_setup returns the full enterprise → org → repo setup template.
2FA is reported by the assessor but must be enforced in the org/enterprise authentication UI — GitHub does not expose it as a REST toggle.
Two bundled Agent Skills in .claude/skills:
A third, mcp-suite-maintenance, documents how to safely extend this server.
npm install
npm run typecheck && npm test && npm run build npm run dev # watch mode
Architecture (shared across the suite): config.ts (env → typed config) · security.ts (pure policy engine, unit-tested) · github/client.ts (REST wrapper) · baseline.ts (pure posture assessor) · tools/{read,write,admin}.ts (capability-tagged). See SECURITY.md and PUBLISHING.md.
MIT © dockndevai