GitHub EnterpriseBLOCK
github-enterprise-mcp
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://mseep.ai/app/containerelic-github-enterprise-mcp)
[](https://archestra.ai/mcp-catalog/ddukbg__github-enterprise-mcp)
An MCP (Model Context Protocol) server for integration with GitHub Enterprise API. This server provides an MCP interface to easily access repository information, issues, PRs, and more from GitHub Enterprise in Cursor.
Compatibility
This project is primarily designed for GitHub Enterprise Server environments, but it also works with:
- GitHub.com
- GitHub Enterprise Cloud
Note: Some enterprise-specific features (like license information and enterprise statistics) will not work with GitHub.com or GitHub Enterprise Cloud.
Key Features
- Retrieve repository list from GitHub Enterprise instances
- Get detailed repository information
- List repository branches
- View file and directory contents
- Manage issues and pull requests
- Repository management (create, update, delete)
- GitHub Actions workflows management
- User management (list, create, update, delete, suspend/unsuspend users)
- Access enterprise statistics
- Enhanced error handling and user-friendly response formatting
Getting Started
Prerequisites
- Node.js 18 or higher
- Access to a GitHub Enterprise instance
- Personal Access Token (PAT)
Docker Installation and Setup
Option 1: Running with Docker
- Build the Docker image:
docker build -t github-enterprise-mcp .
- Run the Docker container with environment variables:
docker run -p 3000:3000 \ -e GITHUB_TOKEN="your_github_token" \ -e GITHUB_ENTERPRISE_URL="https://github.your-company.com/api/v3" \ -e DEBUG=true \
71332dcf5b99OBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add github-enterprise-mcp --env GH_TOKEN=${GH_TOKEN} --env GITHUB_TOKEN=${GITHUB_TOKEN} -- npx -y @ddukbg/[email protected]{
"mcpServers": {
"github-enterprise-mcp": {
"command": "npx",
"args": [
"-y",
"@ddukbg/[email protected]"
],
"env": {
"GH_TOKEN": "${GH_TOKEN}",
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
}
}
}
}Exposed tools (28)
18 read · 8 write · 2 destructive. Blast radius: 2 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
create-issue | write | |
create-pull-request | write | |
create-repository | write | |
create-user | write | |
delete-repository | destructive | |
delete-user | destructive | |
get-content | read | |
get-enterprise-stats | read | |
get-issue | read | |
get-license-info | read | |
get-pull-request | read | |
get-repository | read | |
get-user | read | |
list-branches | read | |
list-issue-comments | read | |
list-issues | read | |
list-pull-requests | read | |
list-repositories | read | |
list-user-orgs | read | |
list-users | read | |
list-workflow-runs | read | |
list-workflows | read | |
merge-pull-request | write | |
suspend-user | read | |
trigger-workflow | write | |
unsuspend-user | read | |
update-repository | write | |
update-user | write |
Trust audit
BLOCKgrade F · trust 49/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | FAIL |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (6 observation(s))
- Network
- declared (5 observation(s))
- Shell
- declared (2 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (25)
"use strict";var undefined,$Object=require(22),$Error=require(16),$EvalError=require(15),$RangeError=require(17),$ReferenceError=require(18),$SyntaxError=require(19),$TypeError=require(20),$URIError=r
"use strict";var ERROR_MESSAGE="Function.prototype.bind called on incompatible ",toStr=Object.prototype.toString,max=Math.max,funcType="[object Function]",concatty=function concatty(t,n){for(var r=[],request ~ requests
# MIT License
console.log('token:', options.config?.token ? '(set)' : '(none)');console.log(`Token provided: ${options.config?.token ? 'yes' : 'no'}`);console.log(`- 토큰 제공 여부: ${environmentConfig.token ? '예' : '아니오'}`);"chars": "€پ‚ƒ„...†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—کTMڑ›œں ،¢£¤¥¦§ ̈©ھ«¬® ̄°±23 ́μ¶· ̧1؛»1⁄41⁄23⁄4؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûüے"
"chars": "«»...“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาําิีึืฺุู–—฿เแโใไๅๆ็่้๊๋์ํTM๏๐๑๒๓๔๕๖๗๘๙®©����"
<div style="background-color: white; padding: 4px; padding-bottom: 8px;" alt="stainless">
delete-repository, delete-user
.nycrc
.prettierrc.json
import { GitHubClient } from '../../utils/client.js';import { GitHubClient } from '../../utils/client.js';import { GitHubClient } from '../../utils/client.js';import { GitHubClient } from '../../utils/client.js';import { GitHubClient } from '../../utils/client.js';const decoded = JSON.parse(atob(base64));
const decoded = JSON.parse(atob(base64));
const decoded = JSON.parse(atob(base64));
accepts, body-parser, content-disposition, content-type, cookie-signature, encodeurl, escape-html, etag
content-type, cors, eventsource, express, express-rate-limit, pkce-challenge, raw-body, zod
@types/node, @types/qs, @types/range-parser, @types/send
@types/body-parser, @types/express-serve-static-core, @types/qs, @types/serve-static
Gates applied: no_behavioural_pass.
71332dcf5b99full audit observations/trust-audit/mcp-server/ddukbg__github-enterprise.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | 71332dcf5b99 | BLOCK | F | 49 | first audit |
Questions
What is the GitHub Enterprise MCP server?
github-enterprise-mcp
What tools does GitHub Enterprise expose?
28 in total: 18 read-only, 8 that write, and 2 that can delete or overwrite (delete-repository, delete-user). Every one is listed on this page with its risk.
Is GitHub Enterprise safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (49/100) and found 4 critical or high issues in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does GitHub Enterprise need?
It reads GH_TOKEN and GITHUB_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does GitHub Enterprise run?
It speaks sse and stdio, so it runs as a local process your client starts. It is published on npm as @ddukbg/github-enterprise-mcp at 1.3.0.
How current is this page?
The grade is for one exact copy of the source (71332dcf5b99), read on 2026-10-08. The repository is watched and re-audited when it changes.