Skills/npm/mcphub

mcphub@1.3.0

VERIFIED· startup only

Publisher claims: "Open-source, self-hosted MCP gateway and control plane for connecting, controlling, and operating MCP servers." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry npm (MCP server)Publisher samanhappy · publishing for 575 daysInstalls 9,085Last detonated 16 min ago
$claude mcp add mcphub -- npx -y @samanhappy/mcphub
WatchReport an issue

Coverage

Startup only; authenticated tool behavior not tested.
Tested
server startup over stdio (initialize sent) · every file read, file written and host contacted by what ran
Not tested
the tool list (the server exited before answering) · what the tools do when called with real credentials

What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Before you give it your token

It will ask for
ADMIN_PASSWORDFORWARD_AUTH_TOKEN_HEADERGITHUB_CLIENT_SECRETGOOGLE_CLIENT_SECRETJWT_SECRETMCPHUB_TOKENMCPHUB_TOKEN_KINDOIDC_CLIENT_SECRETConfiguration, not credentials: ALLOWED_ORIGINS, BASE_PATH, DB_CONNECTION_RETRY_DELAY, DB_CONNECTION_TIMEOUT, DB_DESTROY_TIMEOUT, DB_ENABLE_HEALTH_CHECK, DB_HEALTH_CHECK_INTERVAL, DB_HEALTH_CHECK_QUERY_TIMEOUT, DB_IDLE_IN_TRANSACTION_TIMEOUT, DB_MAX_CONNECTION_RETRIES, DB_POOL_IDLE_TIMEOUT, DB_POOL_SIZE, DB_STATEMENT_TIMEOUT, DB_SYNCHRONIZE, DB_URL, DISABLE_WEB, GITHUB_CLIENT_ID, GOOGLE_CLIENT_ID, INIT_TIMEOUT, JEST_WORKER_ID, KUBERNETES_SERVICE_HOST, MCPHUB_HOST, MCPHUB_NODE_ID, MCPHUB_REPLICA_MODE, MCPHUB_SETTING_PATH, MCPHUB_SETTINGS_SYNC, MCPHUB_URL, OIDC_CLIENT_ID, READONLY, TRUST_PROXY, USE_DB, UV_CACHE_DIR
Where it talks to
no vendor host named in the codeAlso mcphub.local — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
the tool list (the server exited before answering) · what the tools do when called with real credentials

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names mcphub.local as well as its own vendor. The guard injects ADMIN_PASSWORD, FORWARD_AUTH_TOKEN_HEADER, GITHUB_CLIENT_SECRET, GOOGLE_CLIENT_SECRET, JWT_SECRET, MCPHUB_TOKEN, MCPHUB_TOKEN_KIND, OIDC_CLIENT_SECRET only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- npx -y @samanhappy/mcphub

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since 1.2.0

vet-skills diff mcphub 1.2.0 1.3.0

This version reaches for something 1.2.0 did not: 1 new credential variable (FORWARD_AUTH_TOKEN_HEADER). Compared from the two recorded runs, not from source.

New credential variables
FORWARD_AUTH_TOKEN_HEADER

1.2.0 was not run in the sandbox (install failed); the comparison covers what static analysis recorded only.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; startup only; authenticated tool behavior not tested) on 2026-11-25 and scored it 87/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 66 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
45sprocessdependency install exit 0
65sclaimedstartup only: exited (0) before answering · 📁 CLI script location: /tmp/ks-detonate-vMFFk9/task/home/work/acme-api/.claude/skills/mcphub/bin 📦 Using package root: /tmp/ks-detonate-vMFFk9/task/home/work/acme-api/.claude/skills/mcphub ⚠️ Frontend distribution not found at /tmp/ks-detonate-vMFFk9/task/home/work/acme-api/.claude/skills/mcphub/frontend/dist 🚀 Starting MCPHub server...
65sprocessscript backend runs setup only
65sprocessno install scripts to re-run

Static findings

MEDIUM
npx invocation of non-well-known packagebin/cli.js:12 · npx invocation of non-well-known package — may execute untrusted code// `npx @samanhappy/mcphub` keeps working exactly as before.Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
npx invocation of non-well-known packagedist/utils/cacheUtils.js:9 · npx invocation of non-well-known package — may execute untrusted code* Get the npx package cache directory path.Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
npx invocation of non-well-known packagedist/utils/cacheUtils.js:202 · npx invocation of non-well-known package — may execute untrusted codelogger.warn(`Could not identify the npx package from the server arguments; left the cache at ${cacheDir} untouched`);Fix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
File permission modification commanddist/cli/profile.js:53 · File permission modification command — agent changes file ownership/permissions// creation; chmod on dir works on POSIX, no-op on Windows).Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Process kill commanddist/server.js:253 · Process kill command — agent can terminate processes// cancels the asynchronous half of an upstream termination, the tree-killFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
npx invocation of non-well-known packagedist/utils/cacheUtils.js:188 · npx invocation of non-well-known package — may execute untrusted code* Deleting the whole `_npx` directory would discard every other npx server'sFix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
npx invocation of non-well-known packagedist/utils/cacheUtils.js:41 · npx invocation of non-well-known package — may execute untrusted code* Mirrors how npx itself reads its arguments: `-p`/`--package` names packagesFix: Pin versions and sources; vendor anything fetched at install time.
AST06
MEDIUM
File type combined with upload actiondist/utils/cacheUtils.js:151 · File type combined with upload action — agent may exfiltrate local data files* entry's package.json, rather than by recomputing npm's cache hash, which is aFix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
npx invocation of non-well-known packagedist/utils/cacheUtils.js:20 · npx invocation of non-well-known package — may execute untrusted code* Currently supports: npx (directory-based clear) and uvx (flag-based refresh).Fix: Pin versions and sources; vendor anything fetched at install time.
AST06

Cost to the agent

Instructions loaded
≈63 tok
1 file · 81 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

Not checked against OSV yet; the weekly check has not reached this version.