Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ”’ Security
  3. MCP Shield
MCP Shield logo
Health: ActiveRecent health check succeeded.Last checked 9/11/2026, 6:01:28 PM

MCP Shield

User RatingsBe the first to rate and review this MCP server!
View Repository1 GitHub StarsTotal stargazers on GitHub for the source repository (1 stars).Visit Website
mcpsecuritystatic-analysisprompt-injectiondeveloper-tools

Static scanner and MCP server that checks MCP projects for secrets, unsafe execution, prompt injection, and other security risks.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet β€” we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself β€” its README, its docs, or a verified owner. We haven’t found those for rob925/mcp-shield, and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Directory Badge Claim listing AlternativesπŸ”’ More in Security

Overview

MCP Shield scans MCP servers, tools, prompts, and AI agent projects for common security risks. It can run as a CLI or stdio MCP server, with severity gates and text, JSON, Markdown, and SARIF output. Use it for local checks and CI security gates before deployment.

Use cases

β€’Scan MCP server repositories for hard-coded secrets
β€’Detect shell execution and process-spawning code
β€’Flag risky MCP tool names and descriptions
β€’Check projects for prompt-injection phrases
β€’Gate CI builds on medium, high, or critical findings

Key features

β€’CLI and stdio MCP server modes
β€’Secret, process execution, environment access, and prompt-injection checks
β€’Severity thresholds with non-zero exit codes
β€’Text, JSON, Markdown, and SARIF reports
β€’Inline rule suppressions
β€’.mcp-scan-ignore support

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Shield.

Extracted Tool Capabilities
CLI and stdio MCP server modes
Secret, process execution, environment access, and prompt-injection checks
Severity thresholds with non-zero exit codes
Text, JSON, Markdown, and SARIF reports
Inline rule suppressions
.mcp-scan-ignore support

Documentation Overview

MCP Shield

Python CI License: MIT MCP

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.

bash
mcp-scan .
text
[HIGH] code.shell_true server.py:42
  Shell execution is enabled.
  subprocess.run(cmd, shell=True)

[CRITICAL] secret.literal .env:1
  Possible hard-coded secret.
  OPENAI_API_KEY="sk-..."

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

RiskExamples
Hard-coded secretsAPI keys, tokens, passwords, private keys
Process executionsubprocess, child_process, shell=True
MCP tool risktools named or described as delete, shell, token, secret, filesystem
Environment accessos.environ, process.env
Prompt injection text"ignore previous instructions", system prompt leakage phrases

Install

From a local checkout:

Terminal
pip install .

Run without installing:

bash
python -m mcp_security_scanner.cli .

MCP Server

Run MCP Shield as a stdio MCP server:

bash
mcp-shield-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:

config.json
{
  "mcpServers": {
    "mcp-shield": {
      "command": "mcp-shield-server"
    }
  }
}

Usage

bash
mcp-scan .
mcp-scan path/to/mcp-server
mcp-scan . --format json
mcp-scan . --format markdown --output mcp-security-report.md
mcp-scan . --format sarif --output mcp-shield.sarif
mcp-scan . --fail-on medium

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:

gitignore
tests/
fixtures/
examples/unsafe-demo.py

Use this for intentional fixtures and demos. Do not use it to hide production risks.

Suppressions

Suppress a reviewed finding on the same line:

py
subprocess.run(cmd)  # mcp-shield: ignore code.subprocess

Use all only for test fixtures:

py
subprocess.run(cmd, shell=True)  # mcp-shield: ignore all

Example

Scan the intentionally unsafe example:

bash
python -m mcp_security_scanner.cli examples/unsafe-mcp-server --fail-on critical

GitHub Actions

yaml
name: MCP security scan

on: [push, pull_request]

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: "3.12"
      - run: pip install .
      - run: mcp-scan . --fail-on high

Roadmap

  • MCP SDK-aware parsing for Python and TypeScript servers
  • safer default rule pack for enterprise MCP servers
  • prompt/resource-specific injection checks
  • PyPI release for pipx install mcp-shield

Repository Topics

Add these GitHub topics for discovery:

text
mcp, model-context-protocol, ai-agents, security, security-tools, scanner, devtools, llm, prompt-injection, static-analysis

GitHub recommends repository topics because they help people discover and contribute to projects by purpose and subject area.

Scope

MCP Shield is a static heuristic scanner. It catches common risks early, but it is not a full security audit.

Help It Grow

MCP security is moving fast. The most useful contributions right now are real-world unsafe MCP examples, low-noise detection rules, and CI integrations.

If MCP Shield catches something useful, star the repo so more MCP builders can find it.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Security View all alternatives
  • MCP Shield logoMCP Shield

    Security scanner for MCP servers. Detects backdoors, exfiltration code, obfuscation, dangerous code execution, prompt injection, and supply chain risks before you install. Four tools: scan npm packages, scan local directories, check prompt injection, and audit supply chain trust score. npx @muhannad-hash/mcp-shield

    πŸ”’ Security2 views
    Compare vs MCP Shield β†’
  • Arc Gate MCP logoArc Gate MCP

    Runtime governance for MCP tool calls. Blocks prompt injection and capability abuse before tool results reach your agent.

    πŸ”’ Security5 views
    Compare vs Arc Gate MCP β†’
  • Shellward logoShellward

    AI Agent Security Middleware & MCP Server with 8-layer defense including prompt injection detection, DLP data flow tracking, command blocking, and PII detection. 7 MCP tools, zero dependencies.

    πŸ”’ Security2 views
    Compare vs Shellward β†’
  • Shieldapi MCP logoShieldapi MCP

    Security intelligence for AI agents: password breach checks (900M+ HIBP hashes), email/domain/IP/URL reputation, prompt injection detection (200+ patterns), and skill supply chain scanning. Pay-per-request via x402 USDC micropayments or free demo mode, no API key needed.

    πŸ”’ Security4 views
    Compare vs Shieldapi MCP β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
1
Stargazers on the source repository.
Last commit
2mo ago
Most recent push to the default branch.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about MCP Shield

It scans MCP servers, tools, prompts, and AI agent projects for risks including secrets, process execution, environment access, risky tool descriptions, and prompt-injection text.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Shield AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/rob925-mcp-shield?style=directory)](https://allmcps.com/mcp/rob925-mcp-shield)
HTML Embed
<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>

Technical Specs & Signals

CategoryπŸ”’Security
PricingFree
More technical detailsExpand β–Ύ
AuthNo auth required
LicenseMIT
ClientsClaude Desktop
Last updatedAug 11, 2026
10/11 checks healthy over the last 32d
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars1
GitHub Star CountTotal stargazers on GitHub representing community popularity (1 stars).
Last commit2mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 10, 2026
43Quality signal: Fair Β· 43/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools19/30
Adoption & activity3/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ”’ Security β†’Best MCP servers for Security β†’Alternatives to MCP Shield β†’Install in Claude DesktopInstall in CursorInstall in VS Code