SafePrompt
dev.safeprompt/mcp
Detect prompt injection, jailbreaks, and code injection in untrusted text before it reaches an LLM.
- Repository
- github.com/ianreboot/safeprompt
- Website
- safeprompt.dev/
- Server address
https://mcp.safeprompt.dev/mcp(streamable-http)- Version
- 0.1.1
- Author
- safeprompt.dev (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 29, 2026)
How to install it
The server requires a header: X-SafePrompt-Api-Key. Replace YOUR_KEY with your key.
Variables to fill in: SAFEPROMPT_API_KEY, SAFEPROMPT_PROVIDER, SAFEPROMPT_USER_IP.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http mcp https://mcp.safeprompt.dev/mcp \
--header "X-SafePrompt-Api-Key: YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://mcp.safeprompt.dev/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://mcp.safeprompt.dev/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"mcp": {
"url": "https://mcp.safeprompt.dev/mcp",
"headers": {
"X-SafePrompt-Api-Key": "YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"mcp": {
"type": "http",
"url": "https://mcp.safeprompt.dev/mcp",
"headers": {
"X-SafePrompt-Api-Key": "YOUR_KEY"
}
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add mcp -e SAFEPROMPT_API_KEY=YOUR_SAFEPROMPT_API_KEY -e SAFEPROMPT_PROVIDER=YOUR_SAFEPROMPT_PROVIDER -e SAFEPROMPT_USER_IP=YOUR_SAFEPROMPT_USER_IP -- npx -y @safeprompt.dev/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@safeprompt.dev/[email protected]"
],
"env": {
"SAFEPROMPT_API_KEY": "YOUR_SAFEPROMPT_API_KEY",
"SAFEPROMPT_PROVIDER": "YOUR_SAFEPROMPT_PROVIDER",
"SAFEPROMPT_USER_IP": "YOUR_SAFEPROMPT_USER_IP"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@safeprompt.dev/[email protected]"
],
"env": {
"SAFEPROMPT_API_KEY": "YOUR_SAFEPROMPT_API_KEY",
"SAFEPROMPT_PROVIDER": "YOUR_SAFEPROMPT_PROVIDER",
"SAFEPROMPT_USER_IP": "YOUR_SAFEPROMPT_USER_IP"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@safeprompt.dev/[email protected]"
],
"env": {
"SAFEPROMPT_API_KEY": "YOUR_SAFEPROMPT_API_KEY",
"SAFEPROMPT_PROVIDER": "YOUR_SAFEPROMPT_PROVIDER",
"SAFEPROMPT_USER_IP": "YOUR_SAFEPROMPT_USER_IP"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 08:55 (test run by L’Atlas)
- Response time
- 311 ms (whole test)
- Tools found
- 2
- Announced name
- safeprompt 0.1.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (2)
validate_prompt
Check a single piece of untrusted text (a user message, a retrieved RAG document, tool output, etc.) for prompt injection, jailbreaks, instruction-override, data-exfiltration, and code injection BEFORE passing it to an LLM. Returns a safe/uvalidate_prompts
Validate many pieces of untrusted text in one call (processed in parallel server-side). Use for bulk pre-screening, indexing pipelines, or checking a batch of retrieved documents. Returns one verdict per input, in order.
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/dev.safeprompt/mcp)HTML
<a href="https://lagora.dev/en/entry/dev.safeprompt/mcp"><img src="https://lagora.dev/badge/dev.safeprompt/mcp.svg?lang=en" alt="dev.safeprompt/mcp on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.