ai-guardrails
Cloudflare Workers MCP server: ai-guardrails
사용해야 할까요
품질 및 안전성
발견 사항 (5)
- HIGH
- MEDIUMredact_pii에서
- LOWredact_pii에서
- LOWcheck_hallucination에서
- INFOredact_pii에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"ai-guardrails": {
"url": "https://api.lazy-mac.com/ai-guardrails/mcp"
}
}
}원격 엔드포인트
https://api.lazy-mac.com/ai-guardrails/mcpstreamable-http할 수 있는 일
도구 목록
도구 (5)
⚪detect_pii(text)
Detect personally identifiable information (email, phone, SSN, credit card, IP, URL, API key) in a text string.
입력 스키마
{
"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].
입력 스키마
{
"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).
입력 스키마
{
"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.
입력 스키마
{
"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.
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"checks": {
"type": "array",
"items": {
"type": "string",
"enum": [
"pii",
"safety",
"hallucination"
]
},
"default": [
"pii",
"safety"
]
}
},
"required": [
"text"
]
}커뮤니티
증거