SafePrompt

Detect prompt injection, jailbreaks, and code injection in untrusted text before it reaches an LLM.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
100%
Qualität der Benennung
100%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~468Tokens (Tool-Definitionen)
~1.6 KBTypische Antwortgröße
Minimale Auswirkung auf die Aufmerksamkeit (0.37% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "@safeprompt.dev/mcp"
      ]
    }
  }
}

Ausführbare Pakete

npm@safeprompt.dev/mcp0.1.1stdio

Remote-Endpunkte

https://mcp.safeprompt.dev/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (2)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢validate_prompt(prompt, sensitivity)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "prompt": {
      "type": "string",
      "minLength": 1,
      "maxLength": 50000,
      "description": "The untrusted text to validate."
    },
    "sensitivity": {
      "type": "string",
      "enum": [
        "strict",
        "no_judgement",
        "balanced",
        "lenient"
      ],
      "description": "Optional. Omit to use the account default. 'no_judgement' blocks only clear attacks, for apps whose users tell the AI exactly what to write. 'balanced' is an older name for it. 'strict' and 'lenient' are accepted for existing callers."
    }
  },
  "required": [
    "prompt"
  ],
  "additionalProperties": false
}
🟢validate_prompts(prompts, sensitivity)

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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "prompts": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 50000
      },
      "minItems": 1,
      "maxItems": 100,
      "description": "Array of untrusted texts to validate (max 100)."
    },
    "sensitivity": {
      "type": "string",
      "enum": [
        "strict",
        "no_judgement",
        "balanced",
        "lenient"
      ],
      "description": "Optional. Omit to use the account default. 'no_judgement' blocks only clear attacks, for apps whose users tell the AI exactly what to write. 'balanced' is an older name for it. 'strict' and 'lenient' are accepted for existing callers."
    }
  },
  "required": [
    "prompts"
  ],
  "additionalProperties": false
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet2 Tools
verifiziertVersion nicht aufgezeichnet2 Tools