What is mcp-shield?
mcp-shield is a MCP server by muhannad-hash that pre-install security scanner for MCP servers: detects backdoors, exfiltration code, obfuscation, dangerous execution, prompt injection and supply chain risks. It is listed under Security and has 2 GitHub stars.
| Type | Mcp server |
|---|---|
| Author | muhannad-hash |
| Repository | muhannad-hash/mcp-shield |
| Popularity | 2 GitHub stars |
| Category | Security |
| Security | Low risk (84/100) |
| Rank | #3,031 of 4,418 MCP servers; #164 in Security |
| License | MIT |
| Last commit | 2026-04-13 |
| Runs | Locally |
| Language | TypeScript |
| Platforms | macOS, Windows, Linux |
Is mcp-shield safe to install?
mcp-shield scores 84/100 on the MCPMods security check: Low risk. Things to review: can take actions such as send, write or deploy. It passed 4 of 6 checks.
MCP server results come from listing signals: who publishes it, where your data goes and what it can do. The code itself is not scanned yet.
| Check | Result |
|---|---|
| Community-built server | Note |
| Runs on your machine only | Pass |
| No credentials mentioned | Pass |
| Can take actions such as send, write or deploy | Review |
| No code execution | Pass |
| Source on GitHub | Pass |
How do I install mcp-shield?
- Find the launch command. The README says how the server starts (npx, uvx, docker or a remote URL) and which API keys it needs.
https://github.com/muhannad-hash/mcp-shield
- Add it to Claude Code. Replace the part after -- with the command from the README. Remote servers use --transport http with a URL.
claude mcp add mcp-shield -- <command from README> claude mcp add --transport http mcp-shield <server-url>
- Check it connected. This lists your MCP servers and their status.
claude mcp list
Or ask Claude to set it up
Paste this into Claude Code and it installs mcp-shield for you:
Add the "mcp-shield" MCP server from https://github.com/muhannad-hash/mcp-shield to Claude Code. Read its README for the launch command and any API keys I need, run claude mcp add, then check that it connects.