
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 包、客户端配置与工具定义,全部为只读静态检查。