
MCP Customs
io.github.mcpcustoms由 GitHub 账号 mcpcustoms 发布v0.1.1更新于 Oct 24, 2026
Inspect an MCP server for common security risks before you install it. Offline, zero telemetry.
概览
在安装或连接之前,扫描本地 MCP 服务器源码中的常见安全风险。
- 可以做什么
- mcp-customs 对 MCP 服务器目录进行本地离线检查,并输出带评分的报告。它使用基于正则的启发式规则,覆盖 shell 命令执行、路径遍历、动态代码执行、硬编码凭据、工具描述中的隐藏指令语言、对外网络调用与读取环境变量同时出现,以及未声明权限等情况。它可输出 SARIF 供 CI 使用,并生成 README 徽章。
- 适用场景
- 当你准备把不熟悉的 MCP 服务器接入智能体时,可用它作为安装前的审计步骤;也可在 CI 中运行,让高危发现导致构建失败。
- 运行要求
- 通过 npx(Node.js/npm)作为本地进程运行。无需账号、API 密钥或网络访问;完全离线,无遥测。
安装
在 SourceWeft 中
- 打开 控制台中的 MCP Customs,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mcp-customs
Inspect an MCP server for common security risks before you install it. Runs fully offline. No telemetry, no cloud upload, no account.
Why
Developers install MCP servers the way they used to install npm packages — quickly, trusting the name, and moving on. An MCP server can read your files, call your APIs, and execute commands on your behalf. Almost nobody checks what it can actually do before connecting it to their agent.
mcp-customs is the "audit before install" step, run locally, in seconds.
What it checks (v0.1)
These are heuristic, regex-based checks — fast and fully auditable in one sitting, not a dataflow analysis. They will produce false positives and will miss things a deeper analysis would catch. Treat a CLEARED stamp as "nothing obvious," not "verified safe."
CI usage
Get a badge for your README
Roadmap
- Publish scan results to a public registry (mcp-customs.dev) with searchable trust scores
- Dynamic/sandboxed analysis (catch what static checks miss)
- Python-specific AST checks (current Python rules are regex-only)
- Community flagging / verification on registry entries
License
Apache-2.0. No open-core trap — this CLI stays free either way. If a hosted registry/dashboard ships later, that's a separate paid product; this tool's local scanning will never require it.
来源:README.md,提交 dbfb06b
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分