MCP Shield
by rob925
Scans MCP servers and agent projects for secrets, unsafe execution, risky tools, environment access, and prompt-injection text.
Install MCP Shield
Run the project’s own setup commands, in order.
Setup steps from the project
rob925/mcp-shield installs with its own commands rather than a config we can generate, so these are copied as-is. Run them in order in a terminal. Source: github.com
pip install .mcp-shield-serverpipx install mcp-shield
Overview
Use cases
- Scan an MCP project before deployment
- Gate pull requests on high-severity findings
- Export SARIF results for GitHub code scanning
- Review tool descriptions for risky language
- Suppress known fixture findings by rule ID
Key features
- Static checks for secrets and credentials
- Detection of shell and process execution
- Checks for environment-variable access
- Prompt-injection phrase detection
- Text, JSON, Markdown, and SARIF reports
- CLI and stdio MCP interfaces
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How MCP Shield works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about MCP Shield
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/rob925-mcp-shield)<a href="https://allmcps.com/mcp/rob925-mcp-shield"><img src="https://allmcps.com/api/badge/rob925-mcp-shield?style=directory" alt="MCP Shield on AllMCPs" /></a>