プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

MCP Gateway Scan

作者:willianpinhoバージョン 0.1.1i★ –iパソコンで動く
レジストリ名io.github.willianpinho/mcp-gateway-scan

インストール

概要

作者による説明(英語の原文)

Read-only MCP/agent-gateway readiness scanner — scores a repo across 7 security dimensions.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: サイバーセキュリティ

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

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

ターミナルでこれを実行します

claude mcp add gateway-scan -- npx -y mcp-gateway-scan mcp

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月9日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント willianpinho で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

サイバーセキュリティのほかのサーバーとの比較i

  • このカテゴリのほかの1003件のうち0%よりスターが多い
  • このカテゴリのほかの1003件のうち20%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1003件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

MCP Gateway Scanは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.1.1)がレジストリに届いたのは5 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Zeqqat, 4da MCP Server, Dependency Vulnerability Tracker — package security advisories ($0.01/query)

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Zeqqat

The safe MCP for Dokploy: agents deploy and fix apps without holding keys or seeing secrets.

作者:zeqqatとても新しい今日更新

クラウドで動く

4da MCP Server

Upgrade intelligence for AI agents: what an upgrade changes, where it touches your code, CVE scans.

作者:4DA-Systemsとても新しい↓ 254/週今日更新

パソコンで動く

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

mcp-gateway-scan

Read-only static scanner for MCP / agent-gateway production-readiness anti-patterns.

Point it at a repo, get a 7-dimension red/yellow/green score in seconds.

Built by the team behind the [Provenwright MCP Gateway Readiness Audit](https://provenwright.com/audit) — a full cited audit with evidence index, scored gap matrix, and 90-day roadmap. Full audit: provenwright.com/audit

npx mcp-gateway-scan ./path/to/your/gateway

It scans your code and config for the failure modes that turn an MCP gateway from a demo into an incident — authorization decided by the model, error handlers that fail _open_, unpinned supply chains, dark traces, unbounded spend, inline secrets, and missing operational levers — and prints exactly where each one lives.

100% read-only. It only _reads_ files. It never executes your code, never makes network calls, and never prints a secret value — for inline-secret hits it reports the location only ( ), with the value redacted.


Install

# one-off

npx mcp-gateway-scan

or global

pnpm add -g mcp-gateway-scan mcp-gateway-scan

Requires Node ≥ 18.

Usage

mcp-gateway-scan <path> [options]

Options: --json Machine-readable JSON instead of the terminal report --ci Compact, no-color output for pipelines; exits 1 on any RED --no-color Disable ANSI colors -h, --help Show help -v, --version Print version

Exit codes: 0 no red dimensions 1 one or more red dimensions 2 usage / IO error

"Should I connect to this server?" — the connect verdict

Before you wire a third-party MCP server into an agent that holds real credentials, point connect at it and get a single top-line verdict — CONNECT, REVIEW, or DO-NOT-CONNECT — over the same 7 dimensions, with the single worst finding surfaced first.

# the server's repo checkout

mcp-gateway-scan connect ./some-mcp-server

its MCP client config entry (.mcp.json / claude_desktop_config.json)

mcp-gateway-scan connect ./.mcp.json

its package manifest

mcp-gateway-scan connect ./package.json

The verdict reduces the dimension scores into one decision:

VerdictWhenExit
DO-NOT-CONNECTany S1 (full-compromise-class) dimension is red1
REVIEWconcrete-or-possible risk (red S2/S3 or any yellow)1
CONNECTevery dimension green on the static checks0

Same scan engine, same --json / --ci flags, same read-only / secret-redaction guarantees — connect only re-frames the output as a connect/no-connect decision. A green CONNECT is a good signal, not a guarantee: a static scan cannot vouch for the publisher or runtime behavior.

Run it inside Claude Code / Cursor (MCP server)

The same package can also run as an MCP server so your agent runs the scan conversationally — just ask it to "scan this repo for gateway-readiness".

Claude Code (one command):

claude mcp add gateway-scan -- npx -y mcp-gateway-scan mcp

Cursor / any MCP client — add to your .mcp.json:

{

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

Then ask your agent to run the `scan_gateway` tool:

  • Input: { "path": " ", "ci": false } (ci optional — adds the CI gate verdict).
  • Output: a per-dimension 🟢🟡🔴 summary + the structured result. Read-only; scans only the path you give it; secret values stay redacted (location only, never the value).

Same package, two modes — mcp-gateway-scan mcp is the server (use it from your

agent); the default mcp-gateway-scan is the CLI (run it directly in a terminal

or CI). The mcp subcommand does not change the CLI behavior.

Or find it on Glama

mcp-gateway-scan is listed on the [Glama MCP directory](https://glama.ai/mcp/servers/willianpinho/mcp-gateway-scan), where you can inspect its tool schema, Try it in the browser, or deploy the containerized server straight from the listing. The build spec and release process are documented in docs/glama-release.md.

Example output

  [RED] D2 Fail-close / fail-open posture  S1

Error handlers on the call path return allow/true/ok or pass — the system fails OPEN. A degraded auth/policy check silently becomes 'allow'. Launch blocker. ✗ gateway.ts:23 fail-open on error path return { allowed: true };

[GREEN] D6 Security, secrets & identity S1 No inline secrets; credentials referenced from a manager/env and IDP/OIDC identity wiring is present. ✓ docker-compose.yml:7 secret-manager / env reference DATABASE_URL: op://Production/gateway-db/url

SCORE ┌────────┬──────────────────────────────────────────┬─────────┬──────────┐ │ Dim │ Title │ Status │ Severity │ ├────────┼──────────────────────────────────────────┼─────────┼──────────┤ │ D1 │ Tool-access governance & RBAC │ RED │ S1 │ │ ... │ ... │ ... │ ... │ └────────┴──────────────────────────────────────────┴─────────┴──────────┘

0 green 0 yellow 7 red

Wire it into CI

--ci prints a compact, greppable summary and exits non-zero on any red dimension, so a regression (a new fail-open handler, an unpinned image, a committed secret) fails the build:

# .github/workflows/gateway-readiness.yml
  • name: MCP gateway readiness scan run: npx mcp-gateway-scan ./gateway --ci

RED D2 S1 Fail-close / fail-open posture (findings=1) RESULT green=4 yellow=2 red=1 VERDICT FAIL — red dimension(s) present; see findings above.

The 7 dimensions

DimChecks for
D1 Tool-access / RBACAuthorization expressed in prompts; absence of a gateway policy layer
D2 Fail-closecatch/except blocks that return allow/true/ok/pass; missing timeouts
D3 Onboarding / supply chain:latest, @main, npx -y …@, unpinned images; rewards sha256: / integrity
D4 ObservabilityPresence/absence of OTel / traceparent / spans; raw prompts in logs
D5 Routing / costMissing max_tokens / budget / rate-limit / quota
D6 Secrets / identityInline secret literals (location only, value redacted); rewards op:// / vault: / process.env; IDP/OIDC
D7 Prod-readinessMissing kill-switch / feature-flag, 429 / rate-limit, eval / red-team gate

Each dimension is scored 🟢 green / 🟡 yellow / 🔴 red with a severity tag, plus the matched evidence (file:line). The methodology behind the rubric maps to OWASP Top 10 for LLM Applications, the MCP spec (2025-06-18), and OpenTelemetry GenAI semantic conventions.

Try it on the bundled fixtures

mcp-gateway-scan fixtures/secure      # mostly green

mcp-gateway-scan fixtures/vulnerable # mostly red

The fixtures/vulnerable tree contains only fake, non-functional placeholder secrets (sk-EXAMPLENOTREAL…, AKIAEXAMPLE…) so you can see the redacted-secret output safely.

Accuracy

Every finding is meant to be defensible to a skeptical senior engineer. The scanner distinguishes prompt content (a system-message string / YAML prompt field) from code that merely documents a pattern — so a doc comment quoting rg 'only use|if the user is admin' is not flagged as authorization-in-prompt, while the same words inside a real system prompt are. Comment lines and grep-recipe / regex documentation are suppressed across all dimensions, and "control present" signals are matched in code/config, not prose.

What this is (and isn't)

This is a fast, free heuristic wedge — a static pattern scanner. A green score is a good signal, not a guarantee; a red score is a concrete pointer to fix. It does not run fault-injection, inspect your live IAM/IDP, or read your traces. That depth is what a full MCP Gateway Readiness Audit provides: a cited Gap Matrix and a sequenced 90-day remediation roadmap.

This scanner (free, MIT)Full MCP Gateway Readiness Audit (paid)
Methodstatic pattern checksread-only review of your live codebase
Live tests—fault-injection (F1–F5), trace verification
Evidencematched lineper-finding file:line in an evidence index
Output7-dimension scorecited gap matrix + severity + sequenced 90-day roadmap
Deliveryinstant, automatedexpert engagement + live review session

Need the full audit? This scanner is a free heuristic wedge.

The [Provenwright MCP Gateway Readiness Audit](https://provenwright.com/audit) goes deeper:

read-only assessment of your live codebase, per-finding evidence (file + line),

a cited Gap Matrix, and a sequenced 90-day remediation roadmap.

See a sample report: provenwright.com/sample/

Full audit info: provenwright.com/audit

Book a 15-min call: cal.com/willianpinho

Email: me@willianpinho.com

License

MIT © Willian Pinho

PopNxに聞く