
Mcp Audit Server
io.github.joepangallo由 GitHub 帳號 joepangallo 發布v3.0.1更新於 Oct 24, 2026
Thin MCP and CLI proxy for AI agent and MCP security auditing via a hosted backend
發布方自己的服務:audit.domains - Domain Valuation
概覽
輕量的本機 MCP 代理,將 AI 代理與 MCP 安全稽核送到託管或自架後端,涵蓋設定、提示詞、套件與資料流。
- 可以做什麼
- 稽核 MCP 設定與執行中的伺服器,檢查權限、驗證、傳輸與啟動風險,並在啟用管理模式時主動探測線上伺服器。以注入載荷庫測試系統提示詞,並為其加上防護規則。追蹤代理工具流程中的 PII 與密鑰外洩,稽核代理信任度、來源證據與策略漂移。掃描 npm MCP 套件的相依漏洞與危險模式。修復設定問題、產生可執行的 JSON 安全策略,並將多項結果合併為綜合報告。
- 適用情境
- 適用於在安裝前後檢查 MCP 伺服器與代理部署的安全狀況、測試提示詞的抗注入能力,或產生供審閱的安全策略與報告。
- 執行需求
- 以 stdio 在本機執行,需要 Node.js 20 或更新版本,可透過 npm 套件安裝或以 npx 執行。需要存取稽核 API:託管後端設定 AGENT_SECURITY_API_KEY,自架部署設定 AGENT_SECURITY_BASE_URL(或 AGENT_SECURITY_HOST 與 AGENT_SECURITY_PORT)。主動探測伺服器還需將 AGENT_SECURITY_ADMIN_MODE 設為 1。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Audit Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcp-audit-server
Thin MCP server and CLI proxy for AI agent and MCP security auditing. It connects to a private audit API to analyze MCP configurations, test prompt injection resistance, trace data flows, scan packages, and generate security policies.
This package is a thin proxy. All scan logic lives in a private backend operated by you or your provider.
Managed hosted flow:
- set
AGENT_SECURITY_API_KEY - the package will automatically target
https://audit.leddconsulting.com
Self-hosted or private-network flow:
- set
AGENT_SECURITY_BASE_URLto your HTTPS API origin - or set
AGENT_SECURITY_HOSTandAGENT_SECURITY_PORTfor a loopback/private deployment
Hosted backend access is not bundled with this package. If you want managed access or a licensed private deployment, contact Ledd Consulting.
Registry and Directories
- npm package:
ledd-mcp-audit-server - Official MCP Registry name:
io.github.joepangallo/mcp-audit-server - Downstream directories such as Glama and PulseMCP should ingest from the official MCP Registry, so you usually do not need separate manual submissions for each site.
- Glama authorship claim is optional. It only gives you ownership of the Glama page and access to manual sync and re-scan controls.
Install
Install package: ledd-mcp-audit-server
CLI command after install: mcp-audit-server
This is the public package that should be published to npm and listed in public MCP directories. The audit engine itself stays private.
The old package name mcp-server-agent-security is retired. See MIGRATION.md for upgrade steps and the deprecation plan.
Usage as MCP Server
Add to your MCP client configuration (Claude Desktop, Cursor, etc.):
For a self-hosted backend, add AGENT_SECURITY_BASE_URL to that same env block.
The server exposes 10 tools over stdio:
Usage as CLI
The CLI forwards commands to the private audit API.
For a self-hosted backend, also set AGENT_SECURITY_BASE_URL=https://your-audit-host.
Environment Variables
What It Detects
- Tool spoofing -- duplicate tool names, namespace collision (CWE-290)
- Rug pull -- unpinned packages, version drift (CWE-829)
- Prompt injection -- direct override, instruction hijacking, role-play escape, delimiter injection, encoding bypass, multilingual injection
- Privilege escalation -- overprivileged tools, shell execution without allowlists, unrestricted filesystem access
- Data exfiltration -- PII leakage through tool pipelines, outbound network paths
- Insecure transport -- missing TLS, plaintext credentials in config
- Missing auth -- unauthenticated MCP servers, missing API key requirements
- Shell injection -- arbitrary command execution via tool configurations
- Path traversal -- unrestricted filesystem scope in tool arguments
- SQL injection -- raw SQL patterns in tool definitions
- Rate limiting -- missing request throttling on exposed tools
- Package vulnerabilities -- known CVEs in npm MCP package dependencies
- Credential exposure -- inline secrets, missing rotation policies
- Agent trust drift -- claimed-safe policies that do not match configured tools, network posture, or observed action logs
- Weak provenance -- missing action/evidence capture for risky agent operations
Requirements
- Node.js >= 20
- Access to a private audit API. The managed hosted default is
https://audit.leddconsulting.comwhenAGENT_SECURITY_API_KEYis set. UseAGENT_SECURITY_BASE_URLfor other hosted HTTPS deployments, orAGENT_SECURITY_HOSTandAGENT_SECURITY_PORTfor local/private-network deployments.
Provenance
Versions 2.0.0 through 2.1.0 were published before the release workflow existed and do not carry provenance attestations. Version 3.0.1 and later are released through the provenance-enabled trusted-publishing workflow.
The release workflow in .github/workflows/publish.yml publishes v* tags with npm provenance (npm publish --provenance) via npm trusted publishing (OIDC — no long-lived token). Verify a release with npm audit signatures and the provenance badge on npmjs.com.
License
MIT
Built by Ledd Consulting
來源:README.md,提交 21c5871
工具
0版本歷史
1- v3.0.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Audit 整合
audit.domains - Domain Valuation
domains.audit官方發布者
確定性的網域名稱估值服務:提供公允價值區間、真實可比成交紀錄、可用性查詢,以及經 DNS 驗證的待售網域市場。
Revenue Agent — OpenAPI Audit & Change Detection
news.prh官方發布者
一個遠端 MCP 端點,用於稽核 OpenAPI 規格並偵測 API 變更,每次分析透過 Base 上的 x402 收取 0.10 USDC。

SEO Audit & Broken Link Checker
由 GitHub 帳號 prometheus-maker 發布
由 Apify 託管的 MCP 伺服器,用來稽核網站頁面的 SEO 中繼資料並找出失效連結與圖片,回傳每頁評分。

FinePrint AI Legal Risk & Contract Audit MCP Server
由 GitHub 帳號 RitualDev-Lab 發布
在本機記憶體中執行的合約風險掃描器,為編碼代理評估法律合約、NDA 與租約風險並產生修訂建議。

Mcp Supply Audit
由 GitHub 帳號 kimmawla 發布
把 MCP 伺服器當成供應鏈產物來稽核:登錄檔項目、PyPI/npm 套件、用戶端設定與工具定義,全為唯讀靜態檢查。