ai-guardrails
Cloudflare Workers MCP server: ai-guardrails
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (5)
- HIGH
- MEDIUMin redact_pii
- LOWin redact_pii
- LOWin check_hallucination
- INFOin redact_pii
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
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": {
"ai-guardrails": {
"url": "https://api.lazy-mac.com/ai-guardrails/mcp"
}
}
}Remote-Endpunkte
https://api.lazy-mac.com/ai-guardrails/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (5)
⚪detect_pii(text)
Detect personally identifiable information (email, phone, SSN, credit card, IP, URL, API key) in a text string.
Eingabe-Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text to scan for PII"
}
},
"required": [
"text"
]
}⚪redact_pii(text, mode)
Redact PII from text. mode=mask replaces with [REDACTED]; mode=tag uses typed placeholders like [EMAIL].
Eingabe-Schema
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"mode": {
"type": "string",
"enum": [
"mask",
"tag"
],
"default": "mask"
}
},
"required": [
"text"
]
}🟢check_safety(text)
Check text for harmful content using weighted keyword detection. Returns a 0–1 score and verdict (safe/caution/unsafe).
Eingabe-Schema
{
"type": "object",
"properties": {
"text": {
"type": "string"
}
},
"required": [
"text"
]
}🟢check_hallucination(text)
Heuristic scoring of LLM hedge phrases that correlate with hallucinated outputs. Returns score 0–1 and risk level.
Eingabe-Schema
{
"type": "object",
"properties": {
"text": {
"type": "string"
}
},
"required": [
"text"
]
}🟢full_check(text, checks)
Run pii, safety, and/or hallucination checks in one call. Default: pii + safety. Specify checks=["pii","safety","hallucination"] to run all.
Eingabe-Schema
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"checks": {
"type": "array",
"items": {
"type": "string",
"enum": [
"pii",
"safety",
"hallucination"
]
},
"default": [
"pii",
"safety"
]
}
},
"required": [
"text"
]
}Community
Nachweis