About safeprompt
Detect prompt injection, jailbreaks, and code injection in untrusted text before it reaches an LLM
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @safeprompt.dev/mcpSAFEPROMPT_API_KEYSecretSafePrompt API key from https://dashboard.safeprompt.devSAFEPROMPT_PROVIDERAPI base URL (default https://api.safeprompt.dev)SAFEPROMPT_USER_IPValue sent as X-User-IP for threat-intel tracking (default 203.0.113.1)Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
2Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | Yes | The untrusted text to validate. |
| sensitivity | enum | No | Block threshold. 'lenient' (0.95) blocks only high-confidence attacks, 'balanced' (default) is the recommended setting, 'strict' (0.75) blocks aggressively. Omit for balanced.lenient | balanced | strict |
Details
The maintainer has not added details yet. Check the README in the repository.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.