Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Mcphub MCP server

by samanhappy/mcphubApache-2.0 licenceAudited 23 Sep 2026 · source 77e1aac586df

npm @samanhappy/mcphub devssestdiostreamable-http★ 2,465
✕BLOCKGrade F · 40/100 · 23 Sep 2026 · 77e1aac

Is it safe? No — BLOCK, grade F (40/100). It exposes 85 tools: 76 read, 7 write and 2 destructive. The audit recorded 46 findings (0 critical, 4 high, 13 medium, 28 low). Maintainer's description: Self-hosted MCP gateway and control plane for connecting, controlling, and operating MCP servers.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Mcphub MCP server (samanhappy/mcphub)”. Retrieved 23 Sep 2026. https://modelsatlas.com/mcp/samanhappy/mcphub

Why this is BLOCK. The audit found 0 critical and 4 high findings; the most severe is Code injection at src/clients/openapi.ts:517. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

Trust audit

Audit 0.4.1 · full source read 23 Sep 2026

Trust score40/100✕BLOCK F
0 critical4 high13 medium28 low1 info

46 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared13 observations
  • NetworkDeclared8 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (46)

Sorted by severity · the 25 most severe of 46 are listed

HIGHCode injectioncode.deserialize · src/clients/openapi.ts:517
F-02 Code injectionCWE-78 · CWE-94 · CWE-95Layer L1
return yaml.load(raw);
Why
deserialises untrusted bytes into live objects
Fix
use json or yaml.safe_load
HIGHHard-coded secretssecret.db_uri · .env.example:38
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
HIGHPrompt injectionprompt.zero_width · articals/intro2.md:5
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
现代 AI 应用场景中,将大模型(LLM)与各种数据源和工具无缝对接,往往需要手动编写大量胶水代码,并且无法快速复用。MCP(Model Context Protocol)协议由 Anthropic 在 2024 年开源,旨在提供类似“USB‐C”接口般的标准化通信方式,简化 AI 助手与内容仓库、业务系统等的集成流程。然而,MCP 服务器部署常常需要大量环境依赖、手动配置及持续运行,开发者常因安
Why
invisible characters in instruction text
Fix
strip non-printing characters
HIGHPrompt injectionprompt.zero_width · articals/intro2.md:228
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
尽管目前各家平台都在陆续推出各类 MCP 云服务,但在数据隐私、合规性和定制化需求日益增长的背景下,MCPHub 仍然是一个值得关注的本地部署解决方案。
Why
invisible characters in instruction text
Fix
strip non-printing characters
MEDIUMHard-coded secretssecret.db_uri · .github/workflows/ci.yml:115
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · docs/configuration/docker-setup.mdx:117
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · docs/configuration/docker-setup.mdx:385
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.db_uri · docs/configuration/environment-variables.mdx:174
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/controllers/bearerKeyController.test.ts:58
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/controllers/serverController.test.ts:513
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/controllers/serverController.test.ts:522
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/controllers/serverController.test.ts:531
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · tests/integration/personal-credentials.test.ts:527
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.slack · docs/features/server-management.mdx:167
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.slack · docs/zh/features/server-management.mdx:151
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
delete_object, delete_objects
Why
2 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .coveragerc
F-13 Inventory / provenanceCWE-1104Layer L0
.coveragerc
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · frontend/src/components/ui/Badge.tsx:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { cn } from '../../utils/cn';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · frontend/src/components/ui/Button.tsx:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { cn } from '../../utils/cn';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · frontend/src/i18n.ts:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import enTranslation from '../../locales/en.json';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · frontend/src/i18n.ts:7
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import zhTranslation from '../../locales/zh.json';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · frontend/src/i18n.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import frTranslation from '../../locales/fr.json';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.metadata_ip · src/clients/__tests__/openapi-external-ref.test.ts:94
F-04 Network egressCWE-200 · CWE-319Layer L1
const client = makeSchemaClient('http://169.254.169.254/latest/meta-data/');
Why
cloud metadata endpoint: the classic SSRF credential grab
Fix
—

Tools it exposes

85 declared in source · 2 destructive

76 read7 write2 destructive

2 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolWhat it doesRisk
delete_objectDelete object by iddestructive
delete_objectsBulk delete objectsdestructive
call_toolSTEP 3 of 3: Use this tool AFTER describe_tool to actually execute/invoke any tool you found. This is the execution step.\n\nWorkflow: search_tools → describe_tool → call_tool with the chosen tool name and required arguments.\n\nIMPORTANT: Always use describe_tool first to get the toolwrite
create_objectCreate objectwrite
create_thingCreate thingwrite
gmail-send_emailSend an emailwrite
upload_docUpload a docwrite
upload_fileUpload a filewrite
writeExecute tools and modify MCP server configurationswrite
AliceGNo description in the sourceread
BobGNo description in the sourceread
FetchHTTP fetch toolread
FirecrawlWeb scrapingread
IntroIntroductionread
MixedGNo description in the sourceread
PageNo description in the sourceread
aaaread
admin-groupowned by adminread
apps-open_dashboardOpen dashboardread
apps-poll_dashboardRefresh dashboardread
bbbread
blankFetch fallback conditionsread
builtin-no-optional-fieldsNo description in the sourceread
currentFetch current conditionsread
current_timeCurrent timeread
db-db-queryNo description in the sourceread
describe_toolSTEP 2 of 3: Use this tool AFTER search_tools to get the full parameter schema for a specific tool. This provides the complete inputSchema needed to correctly invoke the tool with call_tool.\n\nWorkflow: search_tools → describe_tool → call_toolread
example-openapiNo description in the sourceread
fetch_htmlFetch HTMLread
fetch_urlFetch a URLread
find_userFind a userread
getOtherotherread
getProtectedprotectedread
getSubsubread
getUsersGet usersread
get_current_timeGet current timeread
get_recordGet a record by idread
get_tenant_recordGet a record within a tenantread
get_usersGet usersread
gmail-list_accountsList accountsread
layered-openapiNo description in the sourceread
legacyNo description in the sourceread
list_by_tagsList records by tagsread
loginloginread
new-apiNo description in the sourceread
new-toolNew toolread
oauth-serverNo description in the sourceread
open-dashboardOpen the dashboardread
org-searchOrg web searchread
pppread
pingpingread
plain-openapiNo description in the sourceread
poll-dashboardRefresh dashboard dataread
poll_dashboardRefresh an MCP Appread
rrdread
readRead access to your MCP servers and toolsread
read_internalreadread
redisFast in-memory data store and cacheread
redis-getGet a cache valueread
remote-serverNo description in the sourceread
replace_flagsReplace flagsread
resource_disabledUpstream disabled descriptionread
resource_hostsUpstream hosts descriptionread
resource_no_overrideUpstream no-override descriptionread
s1-ta toolread
searchSearchread
search_toolsSearch for relevant tools across ${scopeDescription}.read
seerr-get_movieGet a movieread
serenamy server noteread
shared-serverNo description in the sourceread
summarizeSummarize textread
tNo description in the sourceread
test-dao-groupTest group for DAO operationsread
test-groupTest group for developmentread
timeNo description in the sourceread
time-current_timeGet current timeread
time-disabled_toolNo description in the sourceread
time-poll_dashboardRefresh an MCP Appread
u8No description in the sourceread
undefinedFetch undefined fallback conditionsread
weather-alphaNo description in the sourceread
weather-betaNo description in the sourceread
weather-currentNo description in the sourceread
weather-forecastNo description in the sourceread
xa descread

Audit history

  1. ✕BLOCK F 40 / 100

    Source changed, verdict held · 77e1aac586df

  2. ✕BLOCK F 40 / 100

    First audit · 44de2b355405

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Mcphub MCP server

What is the Mcphub MCP server?
Self-hosted MCP gateway and control plane for connecting, controlling, and operating MCP servers.
What tools does Mcphub expose?
85 in total: 76 read-only, 7 that write, and 2 that can delete or overwrite (delete_object, delete_objects). Every one is listed on this page with its risk.
Is Mcphub safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (40/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 Mcphub need?
It reads ACCESS_TOKEN, ADMIN_PASSWORD, API_KEY, AUTH_TOKEN, AZURE_OPENAI_API_KEY, BETTER_AUTH_BASE_PATH, BETTER_AUTH_DISABLE_AUTO_CREATE, BETTER_AUTH_ENABLED, BETTER_AUTH_GITHUB_ENABLED, BETTER_AUTH_GOOGLE_ENABLED, BETTER_AUTH_OIDC_DISCOVERY_URL and BETTER_AUTH_OIDC_ENABLED 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 Mcphub run?
It speaks sse, stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @samanhappy/mcphub at dev.
How current is this page?
The grade is for one exact copy of the source (77e1aac586df), read on 2026-09-23. The repository is watched and re-audited when it changes.
I already installed Mcphub. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • samanhappy/mcphub on GitHub — the source we read, its licence, stars and activityObserved · 23 Sep 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit 77e1aac586dfObserved · 23 Sep 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.