RuleCloud Guardrails
Guardrail scans and rule generation for AI agents via scan_code, get_default_rules, and suggest_fix.
使うべきか
品質と安全性
B
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
~294トークン数(ツール定義)
~533 B一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.23%)
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"rulecloud": {
"url": "https://rulecloud-production.up.railway.app/mcp/"
}
}
}リモートエンドポイント
https://rulecloud-production.up.railway.app/mcp/streamable-httpできること
ツール一覧
ツール(4)
🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
⚪scan_code(code, filename, rules_yaml)
Scan inline source with hybrid Guardrail + Python rules; counts toward monthly quota.
入力スキーマ
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"filename": {
"type": "string"
},
"rules_yaml": {
"default": "",
"type": "string"
}
},
"required": [
"code",
"filename"
]
}出力スキーマ
{
"type": "object",
"additionalProperties": true
}🟢get_default_rules
Return the canonical starter guardrail.yaml schema and example rules.
入力スキーマ
{
"type": "object",
"properties": {}
}出力スキーマ
{
"type": "object",
"additionalProperties": {
"type": "string"
}
}⚪generate_guardrail_rules(description)
Compile plain-English policy into valid guardrail.yaml (uses AI Copilot).
入力スキーマ
{
"type": "object",
"properties": {
"description": {
"type": "string"
}
},
"required": [
"description"
]
}出力スキーマ
{
"type": "object",
"additionalProperties": {
"type": "string"
}
}🟡suggest_fix(code, rule_id, violation_message, line)
Pro: minimal patch for a violation (Free plan returns upgrade prompt).
入力スキーマ
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"rule_id": {
"type": "string"
},
"violation_message": {
"type": "string"
},
"line": {
"type": "integer"
}
},
"required": [
"code",
"rule_id",
"violation_message",
"line"
]
}出力スキーマ
{
"type": "object",
"additionalProperties": {
"type": "string"
}
}コミュニティ
エビデンス
最近の観測
検証済みバージョンは記録されていませんツール 4 件