技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
rob925/mcp-shield

rob925/mcp-shield

Static security scanner for MCP servers a
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add mcp-shield -- npx -y mcp-shield
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
1 ★ · rob925/mcp-shield · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 1 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 rob925/mcp-shield;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

MCP Shield

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Security scanner and MCP server for Model Context Protocol servers, tools, prompts, and AI agent projects.
MCP gives agents access to tools. MCP Shield helps you catch the obvious dangerous parts before they reach production: leaked secrets, shell execution, risky tool descriptions, prompt-injection text, and CI-breaking security regressions.
Why MCP Shield
MCP servers often expose powerful capabilities: filesystem access, shell commands, network calls, credentials, browser automation, databases, and internal tools.
That is exactly where small mistakes become expensive:
- a tool description encourages unsafe behavior
- a test key becomes a real leaked token
- an agent can call a shell command with user-controlled input
- a prompt or resource contains injection text
- CI has no security gate for MCP-specific risks
MCP Shield is the simple first line of defense: fast static checks, useful output, and a non-zero exit code when risk crosses your threshold.
Features
- runs as both a CLI and an MCP server
- built on the official MCP Python SDK
- CI-friendly severity gates
- text, JSON, Markdown, and SARIF output
- inline suppressions with rule IDs
- .mcp-scan-ignore for fixtures and intentional demos
What It Finds
| Risk | Examples |
| --- | --- |
| Hard-coded secrets | API keys, tokens, passwords, private keys |
| Process execution | subprocess, child_process, shell=True |
| MCP tool risk | tools named or described as delete, shell, token, secret, filesystem |
| Environment access | os.environ, process.env |
| Prompt injection text | "ignore previous instructions", system prompt leakage phrases |
Install
From a local checkout:
Run without installing:
MCP Server
Run MCP Shield as a stdio MCP server:
Available tools:
- scan_path_tool - scan a local MCP server or agent project
- list_rules - list rule IDs and descriptions
Example Claude Desktop-style command:
Usage
Formats:
- text for humans
- json for automation
- markdown for PR comments and reports
- sarif for GitHub code scanning
Severity gates:
- low
- medium
- high
- critical
--fail-on high exits with code 1 when any high or critical finding exists.
Ignore Files
Create .mcp-scan-ignore in the scanned directory:
Use this for intentional fixtures and demos. Do not use it to hide production risks.
Suppressions
Suppress a reviewed finding on the same line:
Use all only for test fixtures:
Example
Scan the intentionally unsafe example:
GitHub Actions
Roadmap
- MCP SDK-aware parsing for Python and TypeScript servers
- safer default rule pack for enterprise MCP servers
来源
awesome · https://github.com/rob925/mcp-shield
按领域浏览
MCP 服务
Traction
1 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引