原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Heimdall

作者:caglarbozkurt版本 0.5.1i★ –i在你的电脑上运行
注册名称io.github.caglarbozkurt/heimdall

安装

概览

作者提供的说明(英文原文)

Scan an MCP server or agent config for injection, exfiltration, and risky capabilities.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "heimdall": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-heimdall-scan"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add heimdall -- npx -y mcp-heimdall-scan

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "heimdall": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-heimdall-scan"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "heimdall": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-heimdall-scan"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 caglarbozkurt 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18685 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18685 个服务器的 13% 更新
  • 基础检查结果等于或优于此分类中其他 18685 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Heimdall 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.5.1)于4个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Bestax

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

作者:desktop-commander正在增长★ 2114天前更新

在云端运行✓ desktopcommander.app

Bestax

Props, examples, CSS variables and Agent Skills for bestax-bulma React components (Bulma v1)

作者:allxsmith正在增长↓ 2910/周今天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Heimdall

The watchman at your agent's gate.

A local, pre-flight security scanner for Model Context Protocol (MCP) servers — vet a server, or a whole agent config, before your agent trusts it. No account, no backend, and it never runs the server by default.


MCP servers are unvetted code with a natural-language attack surface: their tool descriptions go straight to your model, and the server runs with your machine's access. Heimdall scores what a server can actually do — not what it claims — and cites the exact evidence. It runs entirely on your machine, needs no account, and never executes the server by default, so you can vet a package *before* you install it and gate it in CI.

Quickstart

npx mcp-heimdall-scan firecrawl-mcp                   # scan a published server

npx mcp-heimdall-scan ./claude_desktop_config.json # audit your whole agent config npx mcp-heimdall-scan firecrawl-mcp --online # + check its deps for known CVEs (OSV.dev) npx mcp-heimdall-scan ./my-server --policy strict # gate it in CI

No install, runs locally, nothing leaves your machine.

Or try it in your browser: caglarbozkurt.github.io/mcp-heimdall — the full scanner runs 100% client-side (npm packages are fetched via jsDelivr; or paste a tools.json / MCP config). No backend, nothing uploaded. Local paths and --handshake need the CLI.

What it checks

CheckWhat it catches
🧬 Injectiontool-poisoning across tools, resources & prompts — override, concealment, hidden chars, fake tags
🔓 Capabilityfilesystem, network, shell, eval, and specific credential access (SSH / AWS / keychain / .env)
🎯 Proven exfil pathsdata-flow that *proves* secret → network or fetch → eval, file:line → file:line
📦 Provenance & depsinstall-time scripts, missing repo/license, capabilities inherited from dependencies
🛡️ Known CVEs *(opt-in)*declared dependencies checked against the OSV.dev advisory DB — real CVE IDs, severity-ranked (--online)
🕸️ Compositionaudits a whole config: cross-server exfiltration chains & tool-name collisions
🔁 Driftfingerprints the surface — a silently changed tool description (rug-pull) is a hard fail

Every finding cites file:line or tool:name. Capability ≠ risk: raw power is shown as an informational profile and never fails the scan — only hard gates and real anomalies do.

What makes it different

  • Local, and it doesn't run the server. Everything is static and offline by default — no account, no backend, nothing uploaded — and it never executes untrusted code unless you opt into --handshake (documented for a disposable VM only). You vet a package *before* installing.
  • Proves the path. Taint/data-flow turns "reads files AND has network = fail" into a concrete, located flow — so it doesn't cry wolf on a config read plus an unrelated API call.
  • Sees the whole gate. It reasons across the *set* of servers you've configured — the cross-server exfil path neither server shows alone. Most scanners look at one at a time.
  • A gate you control. Detectors emit facts; a policy you define turns them into pass / warn / fail. Deny capabilities, require provenance, add audited waivers, gate CI.

Usage

heimdall <target> [options]
TargetExample
local directoryheimdall ./servers/my-mcp
npm packageheimdall some-mcp-package
PyPI packageheimdall pypi:some-mcp-server
git repositoryheimdall https://github.com/user/repo
tools/list dumpheimdall tools.json
MCP client configheimdall ./claude_desktop_config.json

Options

--tools <file>     supplement analysis with a tools/list (or {tools,resources,prompts}) dump

--policy "default", "strict", or a JSON policy file --baseline diff against a prior --json report (drift / rug-pull detection) --handshake RUN the server(s) for the live tool list (untrusted code — VM/container only) --online check declared deps against OSV.dev for known CVEs (sends dep names, not source) --json machine-readable report --sarif SARIF 2.1.0 (GitHub code-scanning / CI) --no-fail always exit 0

Exit codes: 0 pass/warn · 1 fail · 2 error

</details>

Policies

Detectors emit facts; a policy turns them into the verdict. Ship the default, pick strict, or write your own procurement/security criteria:

Example policy ( policy.example.json )

{

"name": "acme-procurement", "denyCapabilities": ["exec", "dynamic-eval", "secret-access"], "require": ["has_repository", "has_license"], "failOnSeverity": "high", "warnOnSeverity": "low", "allow": [{ "id": "capability/scope-mismatch", "reason": "reviewed", "expires": "2026-12-31" }] }

Waivers carry a reason and optional expiry — an expired waiver lapses and re-flags.

Library

import { scan } from "mcp-heimdall-scan";

const report = await scan("some-mcp-server", { policy: "strict" }); if (report.verdict === "fail") throw new Error(report.reasons.join("; "));

Also ships as a Claude Code skill (skill/) — vet a server in-conversation before installing.

Use it as an MCP server

Give your agent a scan_mcp_server tool so it can vet a server before connecting to it — "scan this before you add it." Add Heimdall to your MCP client config:

{

"mcpServers": { "heimdall": { "command": "npx", "args": ["-y", "--package", "mcp-heimdall-scan", "heimdall-mcp"] } } }

The tool takes target (npm package, pypi: , path, GitHub URL, tools.json, or a client config), plus optional policy and online. It's static-only — it downloads but never executes the server, and the code-execution modes (--handshake, validate) are intentionally not exposed to the agent.

Use it in CI (GitHub Action)

Gate every pull request — scan your MCP config (or a server) and fail the build if it's risky. Add this to .github/workflows/:

- uses: caglarbozkurt/mcp-heimdall@v1

with: target: ./claude_desktop_config.json # a path, npm/pypi package, github URL, or tools.json policy: strict # "default", "strict", or a JSON policy file online: true # also check deps for known CVEs (OSV.dev) sarif: heimdall.sarif # optional: emit SARIF for code scanning

InputDefaultDescription
target—what to scan (required)
policydefaultdefault, strict, or a path to a JSON policy
onlinefalsecheck dependencies for known CVEs via OSV.dev
sarif—write SARIF to this path (for github/codeql-action/upload-sarif)
fail-on-findingstruefail the job on a FAIL verdict (set false to report only)
versionlatestpin the mcp-heimdall-scan version for reproducible CI

Runs entirely on your own CI runner — no backend, and free on public repos.

Validate (behavioral cross-check)

Static analysis says what a server *can* do. heimdall validate checks that against what it *actually does* — it runs the server with a capability recorder preloaded (hooking fs / net / http(s) / child_process / vm / fetch / process.env), drives each tool, and diffs observed runtime behavior against the static flags:

heimdall validate ./my-server            # one server: confirmed / missed / not-exercised

heimdall validate --list servers.txt # batch: a recall number over observed behavior

  • confirmed — flagged *and* observed (the static claim held up).
  • not exercised — flagged but not triggered by naive args (a *lower bound*, not proof the flag is wrong).
  • missed — observed but not flagged → a real static gap to review (or an incidental library side effect).

So it's trustworthy for finding false negatives (static misses); it does not disprove a flag. Each server runs in a throwaway HOME + working directory with no inherited secrets, but it still runs the server and calls its tools (network/exec side effects) — use a disposable VM/container.

Behavioral run over 200 real packages (benchmarks/validate-run.md): 55 booted, 34 exercised an observable capability. Of the capabilities servers *actually exercised at runtime*, the static scan flagged 80.9% (55/68) — up from 75.8% after the first run's misses became a fix-list (we widened dependency-based network detection, which roughly halved the network misses). The misses that remain are structural: a capability exercised *inside a dependency's internals or a subprocess*, which static analysis fundamentally can't see — which is exactly why validate exists as the backstop. Honest recall, openly reported, improving run over run.

Tested at scale

Run against 2,500 real MCP packages from the npm registry (benchmarks/): 1,726 scanned in ~5 minutes, 0.7% flagged — robust on messy real-world code. Separately, it scores 100% on the small labeled fixture corpus (npm run eval, ~10 benign/malicious fixtures including the Damn Vulnerable MCP project) — a calibration check, *not* a broad real-world accuracy number; the field scans above are unlabeled and used only for robustness. Full log: benchmarks/field-run.md.

What that scan says about the ecosystem your agent trusts:

Of 1,726 real MCP servers…share
can run shell commands45%
make network calls67%
can `eval` code at runtime9%
can do both exec + network34%
touch credential files5%

The 0.7% flagged were driven by install-time code execution and prompt-injection — including real servers with hidden zero-width characters embedded in their tool descriptions, the kind of stealth tool-poisoning a keyword scanner sails past.

A robustness + distribution run is *not* an accuracy benchmark — the 2,500 servers are

unlabeled. A flag means review this, not proven malicious.

Security & limitations

Heimdall is a heuristic pre-flight check, not a guarantee — a PASS isn't proof of safety. Capability, provenance, and CVE analysis cover JS/TS and Python; injection is language-agnostic. Proven taint/data-flow is JS/TS only — Python falls back to capability co-presence (a conservative gate, not a proven flow). Everything runs offline by default; --online is the one network call (it sends dependency names + versions to OSV.dev, never your source), and the CVE match is against the declared range, not a lockfile. --handshake runs untrusted code and is not a real sandbox. See SECURITY.md for the full threat model and how to

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx