MCP GitHub Enterprise
概要
作者による説明(英語の原文)
Govern GitHub Enterprise orgs, repos, rulesets, security alerts & Actions for AI agents.
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: 開発者ツール
- 入力が必要なもの:GHE_TOKEN
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 2/2 合格 · あなたのパソコンで動きます
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
MCP GitHub Enterprise のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
MCP GitHub Enterprise に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。費用がかかる場合があります。
キーの取り方は下の提供元 README にあります
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "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" } } } }キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude を終了してもう一度開く
試してみる
MCP GitHub Enterprise を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が MCP GitHub Enterprise を使っていると言うか、回答に MCP GitHub Enterprise のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ MCP GitHub Enterprise につなげません
MCP GitHub Enterprise はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · MCP GitHub Enterprise につなげるアプリを使う
- MCP GitHub Enterprise のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- MCP GitHub Enterprise のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Node.js を入れてください(1 回だけ)
- MCP GitHub Enterprise のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Node.js を入れてください(1 回だけ)
- MCP GitHub Enterprise のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Node.js を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Front-End Checklist✓ ChatGPT
- Compiler Explorer✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
MCP GitHub Enterprise のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Node.js を入れてください(1 回だけ)
MCP GitHub Enterprise に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。費用がかかる場合があります。
キーの取り方は下の提供元 README にあります
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
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-enterpriseEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude Code で /mcp と入力
MCP GitHub Enterprise が一覧にあり、接続済みと表示されれば OK です
試してみる
MCP GitHub Enterprise を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が MCP GitHub Enterprise を使っていると言うか、回答に MCP GitHub Enterprise のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
MCP GitHub Enterprise のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Node.js を入れてください(1 回だけ)
MCP GitHub Enterprise に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。費用がかかる場合があります。
キーの取り方は下の提供元 README にあります
キーを入力
MCP GitHub Enterprise の設定で GHE_TOKEN, GHE_API_URL, GHE_ENTERPRISE, GHE_MODE が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Cursor の AI チャットを Agent モードで開く
試してみる
MCP GitHub Enterprise を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が MCP GitHub Enterprise を使っていると言うか、回答に MCP GitHub Enterprise のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
MCP GitHub Enterprise のキーが必要です(提供元のサイトで登録、費用がかかる場合あり) · 先にパソコンへ Node.js を入れてください(1 回だけ)
MCP GitHub Enterprise に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。費用がかかる場合があります。
キーの取り方は下の提供元 README にあります
キーを入力
MCP GitHub Enterprise の設定で GHE_TOKEN, GHE_API_URL, GHE_ENTERPRISE, GHE_MODE が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
VS Code の AI チャットを Agent モードで開く
試してみる
MCP GitHub Enterprise を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が MCP GitHub Enterprise を使っていると言うか、回答に MCP GitHub Enterprise のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
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-enterpriseClaude Desktop (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"
}
}
}
}Cursor (~/.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"
}
}
}
}VS Code (mcp.json)
{
"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"
}
}
}
}自分で入力する値
GHE_TOKEN秘密 必須 envGitHub token (fine-grained PAT, classic PAT, or App installation token). Read-only scopes to start.GHE_API_URLenvAPI base URL. Cloud: https://api.github.com (default). Server/GHES: https://HOST/api/v3.GHE_ENTERPRISEenvEnterprise slug, for enterprise-level endpoints (audit log, Actions policy). Optional.GHE_MODEenvAccess mode: read-only | read-write | admin. Start with read-only.
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月12日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント dockndevai で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:今日
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5774件のうち0%よりスターが多い
- このカテゴリのほかの5774件のうち76%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5774件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
MCP GitHub Enterpriseは安全ですか?
当てはまる基本チェック2項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:GHE_TOKEN
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は今日、最新バージョン(0.1.1)がレジストリに届いたのは5 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:REA, Netdata, Front-End Checklist
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
mcp-github-enterprise
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.
Why
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:
- Read-only until you say otherwise. Tools above the current access mode are *never advertised*.
- Pinned blast radius. An org allowlist and protected (read-only-forever) orgs.
- Destructive ops double-gated. Admin mode + an explicit delete flag + a typed confirmation + a human prompt.
- Secrets never leak. Webhook secrets and secret-scanning values are redacted before anything reaches the model.
- Everything audited. A JSON line per operation to stderr.
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).
Quick start
# 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.
Configuration
| 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.
Tools
Registered only up to the active mode: 23 in read-only, 32 in read-write, 38 in admin.
Read (always on)
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`
Write (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 (admin, destructive ones also need GHE_ALLOW_DELETE)
create_repository · delete_repository · remove_member · delete_team · delete_org_ruleset · delete_webhook
Security posture baseline
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.
Skills
Two bundled Agent Skills in .claude/skills:
- `github-enterprise-admin` — the operator playbook: least-privilege token setup, the secure-setup template, the org-policy baseline, and the guardrails for destructive work.
- `github-actions-optimization` — pipeline optimization strategy, a caching strategy (dependencies, Docker layers, cache limits), and self-hosted runners on Kubernetes with actions-runner-controller (ARC): GitHub App/PAT connection, autoscaling, caching across ephemeral pods, and runner isolation.
A third, mcp-suite-maintenance, documents how to safely extend this server.
Development
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.
License
MIT © dockndevai