Prompt Shield & AI Safety MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Prompt Shield & AI Safety MCP Scan this user message for prompt injection and strip any jailbreak attempts."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Prompt Shield & AI Safety MCP
Deterministic prompt injection classification, instruction stripping, secret entropy detection, PII obfuscation, and dataset bias auditing.
Built specifically for LLM application builders, LangChain/LlamaIndex engineers, enterprise AI developers, and AI red-teamers.
β‘ Quickstart
Smithery Install
smithery skill add whambammy/prompt-shield-security-mcpClaude Desktop / Cursor (claude_desktop_config.json)
{
"mcpServers": {
"prompt-shield-security-mcp": {
"command": "npx",
"args": ["-y", "@whambammy/prompt-shield-security-mcp"],
"env": {
"PAYMENT_WALLET": "0x9793E7269b3301893318dEa8338576Ba612F39B3",
"BASE_RPC_URL": "https://mainnet.base.org"
}
}
}
}Related MCP server: zentric-protocol-mcp
π οΈ Included Tools
Tool Name | Price (USDC) | Capability |
| $0.045 | High-speed deterministic classifier detecting indirect prompt injections, delimiter hijacking, and system role impersonation attacks in user inputs. |
| $0.02 | Neutralizes indirect prompt injections, system prompt leak probes, jailbreak tokens, and hidden instruction tags in untrusted text. |
| $0.030 | Shannon entropy and pattern analyzer scanning source code for leaked private keys, AWS access secrets, JWTs, and database connection strings. |
| $0.01 | Detects and masks Personally Identifiable Information (SSNs, credit cards, emails, phone numbers, API keys) prior to model ingestion. |
| $0.040 | Audits synthetic agent training data distributions for demographic bias, representation skew, and label drift across sensitive attribute categories. |
π End-to-End Workflow
An enterprise agent receives untrusted user uploads -> runs secrets entropy scan to catch leaked tokens -> obfuscates PII -> passes through the prompt injection classifier -> strips residual jailbreak tags before invoking downstream frontier models.
π° The x402 Base L2 Micropayment Protocol
When an agent invokes a tool without payment, the server responds with a deterministic HTTP 402 Payment Required challenge containing:
Target tool price in USDC
Base Native USDC Contract:
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913Recipient payout wallet address
Single-use cryptographic nonce
Once broadcasted on Base L2, resubmitting with paymentSignature unlocks deterministic execution.
π License
MIT License. Created by Whambammy.
Available Tools
5 toolsobfuscate_pii_entitiesA
Detects and masks Personally Identifiable Information (SSNs, credit cards, emails, phone numbers, API keys) prior to model ingestion. (0.01 USDC on Base L2)
Inputs: payload (required), paymentSignature.
prompt_injection_jailbreak_classifierA
High-speed deterministic classifier detecting indirect prompt injections, delimiter hijacking, and system role impersonation attacks in user inputs. (0.045 USDC on Base L2)
Inputs: payload (required), paymentSignature.
secrets_entropy_scannerB
Shannon entropy and pattern analyzer scanning source code for leaked private keys, AWS access secrets, JWTs, and database connection strings. (0.030 USDC on Base L2)
Inputs: payload (required), paymentSignature.
strip_prompt_injectionA
Neutralizes indirect prompt injections, system prompt leak probes, jailbreak tokens, and hidden instruction tags in untrusted text. (0.02 USDC on Base L2)
Inputs: payload (required), paymentSignature.
synthetic_dataset_bias_auditorB
Audits synthetic agent training data distributions for demographic bias, representation skew, and label drift across sensitive attribute categories. (0.040 USDC on Base L2)
Inputs: payload (required), paymentSignature.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 5 tools
Most tools target clearly distinct safety functions: PII masking, bias auditing, injection detection, injection neutralization, and secrets scanning. The two prompt-injection tools could be confused at a glance, but their descriptions distinguish detection/classification from stripping/neutralization.
All names use snake_case and are descriptive, but the structural pattern is mixed: some are verb-first (obfuscate_pii_entities, strip_prompt_injection) while others are noun phrases ending in auditor/classifier/scanner. This is readable but not a predictable convention.
Five tools is well within the sensible range for a focused AI safety/prompt shield server. Each tool covers a distinct guardrail capability, so none feels redundant or extraneous.
The surface covers key input-side guardrails: PII, bias, prompt injection detection/removal, and secrets scanning. Minor gaps remain around output-side moderation, toxicity classification, or policy enforcement, but the core lifecycle for a prompt safety server is reasonably covered.
Related MCP Connectors
Deterministic runtime safety for AI agents: scan PII, gate tool actions, verify LLM output.
Scan web pages, mails, PDFs and tool output for prompt injection before your agent reads them.
Deterministic trust gate for AI output: leaked-secret, prompt-injection & PII in one call.
Detect prompt injection, jailbreaks, and code injection in untrusted text before it reaches an LLM.
Related MCP Servers
- AlicenseAqualityBmaintenanceProtects AI agents from threats like prompt injection, jailbreaks, and SQL injection through a multi-layer scanning pipeline. It also enables PII redaction and rehydration to ensure data privacy during LLM interactions.12215 npm2Apache 2.0
- FlicenseNot gradedqualityDmaintenanceSecurity middleware for LLM apps and AI agent pipelines. Detects prompt injection attacks (22 signatures, 7 languages) and anonymizes PII (17 entity types). Deterministic, sub-25ms, GDPR Art.30 compliant.-
- AlicenseNot gradedqualityDmaintenanceProvides a pre-flight/post-flight firewall for LLM calls with comprehensive detection, classification, policy enforcement, reversible redaction, output safety, and immutable audit logging.1MIT
- AlicenseNot gradedqualityDmaintenanceAnalyzes inputs and outputs in real-time to protect against prompt injections, data leaks, secrets exposure, and phishing URLs.22 npm3MIT