MCP Shield
Security scanner for MCP servers. SSRF, path traversal, injection, auth, secrets. Grade…
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.7
- Listing updated
- 4 days ago
About MCP Shield
MCP Shield is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.
Security scanner for MCP servers. SSRF, path traversal, injection, auth, secrets. Grade A-F.
Install
Run in a terminal
claude mcp add mcp-shield -- npx -y @sophiacave/mcp-shieldAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp-shield": {
"command": "npx",
"args": [
"-y",
"@sophiacave/mcp-shield"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-shield": {
"command": "npx",
"args": [
"-y",
"@sophiacave/mcp-shield"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp-shield": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sophiacave/mcp-shield"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-shield": {
"command": "npx",
"args": [
"-y",
"@sophiacave/mcp-shield"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-shield": {
"command": "npx",
"args": [
"-y",
"@sophiacave/mcp-shield"
]
}
}
}Pricing
Open source
MCP Shield FAQ
Is MCP Shield free?
Yes. MCP Shield is open source, so you can use and self-host it for free.
How do I add MCP Shield to Claude Code?
Run this command in your terminal: claude mcp add mcp-shield -- npx -y @sophiacave/mcp-shield
What are the best alternatives to MCP Shield?
The closest alternatives to MCP Shield are REA, Agent Roast, Midplane, Leash and Tinplate Edge AI Safety, Security & EU Compliance.
Alternatives to MCP Shield

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools
Agent Roast
MCP serverOffline review that flags agent changes which weaken tests, assertions or CI
Runs locally- Open source
- 4 Hacker News points
- Developer tools

Midplane
MCP serverPostgres gateway for AI agents with table grants, column masking and approval for writes
Runs locally- Open source
- 5 GitHub stars
- Databases

Leash
MCP serverReview what your AI touched, approve risky actions and undo supported changes
- 1 tool
- Remote
- Free
- 1 GitHub star
- Security
Zero-log MCP server with 49 tools for AI guardrails, secret scanning and EU compliance
- 49 tools
- Remote
- Freemium
- Security

SecureCloud
MCP serverSentinelOne and IT security catalog, prices, quotes and checkout links for Israel
- 7 tools
- Remote
- Free
- Security