{
  "name": "dev.safeprompt/mcp",
  "description": "Detect prompt injection, jailbreaks, and code injection in untrusted text before it reaches an LLM.",
  "version": "0.1.0",
  "protocolVersion": "2025-06-18",
  "websiteUrl": "https://safeprompt.dev",
  "serverInfo": {
    "name": "safeprompt",
    "version": "0.1.0"
  },
  "transport": {
    "type": "streamable-http",
    "url": "https://mcp.safeprompt.dev/mcp"
  },
  "capabilities": {
    "tools": {}
  },
  "authentication": {
    "type": "apiKey",
    "description": "Bring your own SafePrompt API key (free tier at https://dashboard.safeprompt.dev). Send it as 'Authorization: Bearer <key>' or 'X-SafePrompt-Api-Key: <key>'."
  },
  "tools": [
    {
      "name": "validate_prompt",
      "description": "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/unsafe verdict with confidence, threat category, and reasoning."
    },
    {
      "name": "validate_prompts",
      "description": "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."
    }
  ]
}