MCPVetter

com.mcpvetter由 mcpvetter.com 發布官方發布者v0.1.3更新於 Nov 7, 2026

審計你的 MCP 伺服器是否存在被投毒的工具和洩露的金鑰,並檢查 AI 產生的程式碼是否有缺陷。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.

已驗證Streamable HTTP可網頁執行

概覽

MCPVetter 的託管 MCP 服務(mcpvetter.com),由 mcpvetter.com 發布;需要 OAuth 登入;Streamable HTTP;7 個工具。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

發布者
mcpvetter.com
端點
mcpvetter.com
最近檢查

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 MCPVetter,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.mcpvetter%2Fmcpvetter/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "mcpvetter": {
      "type": "http",
      "url": "https://mcpvetter.com/mcp"
    }
  }
}

README

mcpvetter

Audit the MCP servers your AI assistant uses: leaked secrets, unpinned or look-alike packages, risky launch commands, unencrypted remote servers, over-broad file access, poisoned tool descriptions, hidden Unicode, tool shadowing, and silent tool changes.

bash
npx mcpvetter scan          # discover + static scan, offlinenpx mcpvetter scan --live   # also read each server's tool descriptions (asks first)

Local, no account, no telemetry. A static scan reads your MCP config files and nothing else. It never changes a config file.

What a finding looks like

■ github[HIGH] Plain-text secret in MCP config  MCP-SECRET-001 · confidence high · static    server: github  file: .mcp.json    Evidence: env GITHUB_PERSONAL_ACCESS_TOKEN=ghp_…[redacted 40 chars] (GitHub token)    Why it matters: Anything that can read this file, including other tools, backups, sync    folders, and anyone the file is shared or committed with, gets a working credential.    Fix: Rotate the credential first (removing it does not un-leak it), then reference it    from the environment or a secret store instead of the literal value. Claude Code and    Claude Desktop expand "${VAR}" in .mcp.json, Cursor expands "${env:VAR}", and VS Code    supports "${input:...}" prompts or an "envFile".

Every finding has a stable ID, separate severity and confidence, redacted evidence, a plain-English reason, and a concrete fix. What each rule checks, and how, is published at mcpvetter.com/rules and in src/scanner/rules.

Clients discovered

Claude Code (~/.claude.json, .mcp.json), Claude Desktop, Cursor (~/.cursor/mcp.json, .cursor/mcp.json), VS Code (mcp.json, settings.json, .vscode/mcp.json), Windsurf, Gemini CLI. Or pass --config <file>.

Commands

mcpvetter scan [--live] [--yes] [--config <file>]... [--json [file]] [--summary] [--fail-on <severity>]mcpvetter list                               inventory onlymcpvetter explain MCP-POISON-001             explain a findingmcpvetter rules                              every rule and what it checksmcpvetter suppress <ID> --server <name> --reason "<why>"mcpvetter accept <server> --reason "<why>"   accept a server's new tool fingerprintmcpvetter serve                              run as a local MCP server (stdio)

Exit codes: 0 no findings at or above --fail-on (default high), 1 findings at or above it, 2 scan could not complete. Use it in CI as-is.

Suppressions are always listed in the report, so a shared report cannot hide them.

About --live

To read tool descriptions, MCPVetter has to start each stdio server, exactly as your AI client does every time it launches. It asks before each one, runs it with a minimal environment plus the env your config declares, and only calls initialize, tools/list, prompts/list, and resources/list. It never calls a tool. The first approved probe records a fingerprint of each server's tools in ~/.mcpvetter/fingerprints.json; later probes report any change (a "rug pull") with a before/after diff.

Inside your AI assistant

Claude Code:

bash
claude mcp add mcpvetter -- npx -y [email protected] serve

Cursor / VS Code / Claude Desktop (mcpServers or servers):

json
{ "mcpServers": { "mcpvetter": { "command": "npx", "args": ["-y", "[email protected]", "serve"] } } }

Then ask: "audit my MCP setup".

Free without an account: check_mcp_setup, explain_finding. With an API key (MCPVETTER_API_KEY, free tier available at mcpvetter.com/account): review_code, secure_pattern, start_lab, check_lab, team_posture. Code review runs on your machine; only rule IDs and counts are sent for your history. Plans: mcpvetter.com/pricing.

Privacy

  • Static analysis runs on your machine. Without an API key, MCPVetter makes no network requests.
  • With an API key, only rule IDs, severities, and counts are sent. Never code, evidence, file paths, or server names.
  • Reports redact secret values by default.

License

MIT

來源:README.md,提交 cffd157

工具

7

review_code

Review code for security flaws

Check a code snippet for security flaws before presenting or committing it. Call this before showing the user any generated code that handles authentication, sessions, database queries, user or LLM input, HTML rendering, file uploads, outbound URL fetches, secrets, or MCP configuration. Returns prioritised findings, each with evidence, a concrete fix, and a 5-minute lab. Analysis is static and deterministic; it checks at the moment of generation and is not a guarantee.

輸入參數code必填filenamelanguageai_generated

explain_finding

Explain a security finding

Explain an MCPVetter finding in plain English: why it matters, how the flaw is triggered (in general, defensive terms), why a code reviewer would block it, and how to fix it. Call this when the user asks what a finding ID (like CODE-SQLI-001 or MCP-POISON-001) means or why it matters.

輸入參數id必填

secure_pattern

Get the secure version of a coding pattern

Return a vetted secure code example for a pattern in the user's stack, the insecure version to avoid, and a reviewer checklist. Call this when writing code for: database queries, secrets/API keys, login and sessions, rendering user content as HTML, sending user input to an LLM, using LLM output, file uploads, fetching URLs/webhooks, or configuring MCP servers. Example requests: "parameterised query in Node", "safe handling of LLM output in Python".

輸入參數stackrequest必填

start_lab

Start a 5-minute secure-coding lab

Start a short hands-on lab that fixes one vulnerability in realistic AI-generated code. Call this when the user wants to learn how to fix a finding, or after review_code reports a finding with a lab. Pass a lab id (lab-02-sqli) or a finding id (CODE-SQLI-001). Then help the user fix the snippet and submit it with check_lab.

輸入參數lab_idfinding_id

check_lab

Check a lab solution

Verify a fixed snippet for a lab started with start_lab. Runs the lab's security checks on the code and records progress. Call this when the user says their lab fix is ready.

輸入參數code必填lab_id必填

check_mcp_setup

Audit MCP server setup

Audit the MCP servers configured on this machine (Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, Gemini CLI) for leaked secrets, unpinned or look-alike packages, risky launch commands, unencrypted remote servers, over-broad file access, and dangerous server combinations. Call this when the user asks whether their MCP setup or a server is safe. Static and local; for tool-description poisoning run `npx mcpvetter scan --live` in a terminal.

輸入參數config

team_posture

Team security posture

Team plan: aggregated, de-identified counts of recurring code findings, MCP risk by category, and lab completion for the user's team over the last 30 days. No code or per-developer detail. Call this when a team lead asks how exposed the team is or which flaws keep recurring.

無需輸入參數。

版本歷史

1
  1. v0.1.3最新Nov 3, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分