Does Prompt Injection Shield require an internet connection for detection?
No. The entire detection pipeline runs locally; no external API calls are made during analysis.
@aniketkarne
基本信息
暂无概览
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"PromptInjectionShield": {
"command": "docker",
"args": [
"build",
"-t",
"shield-mcp",
"."
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
Prompt Injection Shield is a local-first, zero-cost MCP server that detects malicious prompt injection and jailbreak attempts in user input. It acts as a security gateway that integrates with LLM workflows (such as Claude Desktop) to pre-screen prompts before they reach the model, keeping all data on the user’s machine.
Install from source (pip install .) or via Docker. Run the server with python -m shield_mcp.server, then configure it as an MCP server in your client (e.g., add to claude_desktop_config.json with command python and args ["-m", "shield_mcp.server"]). The server exposes a single tool called analyze_prompt that accepts a prompt string and returns is_injection, risk_score, and category. You can optionally customize the risk threshold and log directory by creating a shield_config.json file.
risk_score to evaluate jailbreak attempts.No. The entire detection pipeline runs locally; no external API calls are made during analysis.
It uses three layers: Level 1 heuristics (regex) for known jailbreak patterns, Level 2 semantic analysis with a local DeBERTa model (`protectai/deberta-v3-base-prompt-injection-v2`), and Level 3 structural checks for obfuscation (Base64, Hex, high entropy strings).
Yes. Create a `shield_config.json` in the working directory and set `“risk_threshold”` (default 0.8) to control when a prompt is flagged as injection.
Logs are saved by default in `~/.shield-mcp/logs`; you can change the directory using the `“log_dir”` key in `shield_config.json`.
The server is invoked via a command (e.g., `python -m shield_mcp.server`) and communicates over MCP’s standard input/output transport (stdio).

Model Context Protocol Servers

A good sequence diagram can solve almost any communication problem in engineering. Volley lets your agent write them as plain text, with the real request and response payloads on every arrow. It checks its own syntax wi
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w

DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
评论