ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

MCP Gateway Scan

โดย willianpinhoรุ่น 0.1.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.willianpinho/mcp-gateway-scan

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ความปลอดภัยไซเบอร์

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

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

พิมพ์คำสั่งนี้ใน Terminal

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"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

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

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub willianpinho ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ความปลอดภัยไซเบอร์i

  • ดาวมากกว่า 0% ของอีก 997 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 20% ของอีก 997 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 997 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

MCP Gateway Scan ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.1) เข้า registry 5 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี BlackVeil DNS & Email Security Scanner, LucidShark, Threatist

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

BlackVeil DNS & Email Security Scanner

DNS and email security scanner with 82 MCP tools for SPF, DMARC, DNSSEC, SSL, and brand audits.

โดย MadaBurnsเริ่มต้นอัปเดต วันนี้

รันบนคลาวด์✓ blackveilsecurity.com

LucidShark

Local code quality and security scanner: lint, types, SAST, SCA, tests, coverage.

โดย toniantunoviยังใหม่มากอัปเดต วันนี้

รันบนเครื่อง

Threatist

Vulnerability records: CVE, GHSA, CISA KEV, EPSS and vendor fixes in one place. No key needed.

โดย threatist.ioเริ่มต้นอัปเดต วันนี้

รันบนคลาวด์✓ threatist.io

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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