mcpbeat Sign in

prompt-protection MCP Server

by mughalhere Your server? Claim it
local only

prompt-protection runs on your own machine — the client starts it, so there is no endpoint to ping. 575 installs a week from npm. Last commit 15 Sep 2026.

Scan prompts, tool definitions and model output for injection, and guard agent tool calls.

Installs per day peak 203 · avg 76 · +112% w/w
a month agotoday
575
Installs / week
npm · prompt-protection
3
Stars
0 open issues
15 Sep 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 19 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Runs an external command training/export_golden.py:69
        subprocess.run(["node", str(HERE / "normalize.mjs"), "--strings", str(inp), str(outp)], check=True)
Long encoded blob in source src/ml/weights.ts:17
  '/wH//Pv9/AEABf8IAQAAAQEA/wMCAAD//woD/f8BAPz3Af8AAgD5/wAABAECAgD//wIAAAEAAAD+AAAA+gPp/wADAAD7AP/3AAD//P38/gD//wEE/wAA/vwUAQMD/wD0AAD+CAAABv4C+/8AAAIEAP//A/3/AvwAAAQBAQH8AAAB9AIEAAAAAADkAvP/AAQJAv8AAQH+/v//AQECAf3/+v8A/AABAAYDAAABAQEB/wH6/v/+/wH+AAMA/QH+/v8AAP8C+gEAAAMAAfQA/AAAA…
    pattern: /(read|open|output|return|show|cat|print)\s+.{0,20}(\/etc\/passwd|\/etc\/shadow|\/etc\/hosts|\.env|secrets?\.json|credentials?\.json|config\.json|id_rsa)/,

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add prompt-protection -- npx -y prompt-protection
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "prompt-protection": {
      "args": [
        "-y",
        "prompt-protection"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.prompt-protection]
command = "npx"
args = ["-y", "prompt-protection"]
.cursor/mcp.json
{
  "mcpServers": {
    "prompt-protection": {
      "args": [
        "-y",
        "prompt-protection"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "prompt-protection": {
      "args": [
        "-y",
        "prompt-protection"
      ],
      "command": "npx"
    }
  }
}

Alternatives to prompt-protection

same job, measured the same way
I
Agent Security Scanner
by mikehzp

Scan AI agents for tool-calling vulnerabilities: prompt leaks, hijacking, injections, and more.

113 installs/wk local only
Injectshield
by bch1212

Prompt-injection firewall for AI agents — scan untrusted text before LLM calls.

24 installs/wk local only
Agent Immune
by denial-web

AI agent security: prompt injection detection, semantic memory, output scanning, prompt hardening

85 installs/wk local only
IA-QA — 130+ QA & Dev Tools for AI Agents
by jcjamet

130+ QA & dev tools for AI agents: prompt injection, RAG testing, VLM eval, guardrails. Free.

152 tools answering
PromptGuard
by promptguard

Scan prompts for injection attacks, redact PII, and audit LLM SDK usage from any MCP client

65 installs/wk local only
Shadowgate MCP
by josephibra

Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.

answering
Tripwire
by bonesdefi

Security gateway for MCP agents: blocks prompt-injection-driven tool calls before they execute.

35 installs/wk local only
Shellward
by jnmetacode

AI agent security: 7 MCP tools for injection detection, PII scanning, command safety, DLP.

235 installs/wk local only

prompt-protection — questions

Answers built from our own checks of this server.

Why is there no uptime for prompt-protection?
prompt-protection runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package prompt-protection was installed 575 times last week.
How do I connect prompt-protection?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls prompt-protection straight from npm; nothing to host, nothing to sign up for.
How many people use prompt-protection?
The npm package prompt-protection was installed 575 times in the last week. Week over week that is +112%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is prompt-protection open source?
Yes — it is published under the MIT licence, written in TypeScript and 3 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.