saferagenticai-mcp

Read-only tools over the Safer Agentic AI framework: 238 patterns + 14 heuristics.

我該用這個嗎

品質與安全性

A
說明品質
96%
結構描述完整度
71%
命名品質
98%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(1)

  • LOWTool 'get_cross_references' description lacks action verb在 get_cross_references 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~1,667Token(工具定義)
~584 B典型回應大小
中等的注意力影響(128k 上下文的 1.30%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "saferagenticai-mcp": {
      "command": "uvx",
      "args": [
        "saferagenticai-mcp"
      ]
    }
  }
}

可執行的套件

pypisaferagenticai-mcp0.3.6stdio

遠端端點

https://mcp.saferagenticai.org/mcpstreamable-http

它能做什麼

工具清單

工具(12)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢list_suites

List all 16 suites in the SaferAgenticAI framework (9 drivers + 7 inhibitors) with subgoal counts and titles. Call this first to orient.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢get_requirement(id, include_pattern)

Retrieve one subgoal (framework normative content + Pattern layer guidance) by pattern_id (e.g., 'D3::idx2::sandboxing') or display_id (e.g., 'D3.2'). display_id may resolve to multiple subgoals — underlined variants share display_ids.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 500
    },
    "include_pattern": {
      "type": "boolean",
      "default": true
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
🟢list_requirements(suite_id, suite_type, content_type, min_confidence, missing_pattern_only, ...)

List subgoals matching filters (suite_id, suite_type, content_type, min_confidence, missing_pattern_only). Results capped by limit (default 50, max 100).

輸入結構描述

{
  "type": "object",
  "properties": {
    "suite_id": {
      "type": "string",
      "maxLength": 500
    },
    "suite_type": {
      "type": "string",
      "enum": [
        "driver",
        "inhibitor"
      ]
    },
    "content_type": {
      "type": "string",
      "enum": [
        "code-applicable",
        "governance",
        "process",
        "ecosystem"
      ]
    },
    "min_confidence": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high"
      ]
    },
    "missing_pattern_only": {
      "type": "boolean"
    },
    "include_pattern": {
      "type": "boolean",
      "default": false
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 50
    }
  },
  "additionalProperties": false
}
🟢search_patterns(query, limit, verbosity)

Field-weighted keyword search across the framework. Terms match at word starts on lowercased text and are IDF-weighted, so rare terms outrank ubiquitous ones; field weights: title 10x, summary 4x, SFR text 3x (all of a subgoal's SFRs scored as one field), description 2x, pattern body 1x. `matched_in` reports the highest-weighted field that matched. No semantic / embedding search — known limitation, see /mcp.html. Use verbosity='compact' to drop snippets and confidence flags (~70% smaller payload) when triaging.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 500
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10
    },
    "verbosity": {
      "type": "string",
      "enum": [
        "compact",
        "full"
      ],
      "default": "full"
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}
🟢get_cross_references(id, include_inferred)

Return outgoing adjacencies for a pattern. `explicit_cross_references` are author-asserted (each pattern's `cross_references` YAML field). `inferred_adjacent` (when include_inferred=true) currently returns *same-suite siblings only* — it does not do semantic similarity. Treat inferred entries as 'neighbours worth scanning,' not as endorsed dependencies.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 500
    },
    "include_inferred": {
      "type": "boolean",
      "default": true
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
🟢resolve_id(query, limit)

Resolve a loose reference (partial id, display_id, slug fragment, or title keyword) to canonical pattern_id(s). Call this when you have a rough reference and need the exact id before calling get_requirement. Always returns candidates — never 'not found'.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 5
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}
🟢find_patterns_for_task(task, limit, verbosity)

Given a natural-language task description (e.g., 'I'm building a tool-using agent that runs shell commands'), return the most relevant patterns grouped by suite. Use this as a starting point for any cross-cutting design question; then follow up with get_requirement on specific pattern_ids. Defaults to verbosity='compact' (cheap triage); pass 'full' to inline snippets and confidence flags.

輸入結構描述

{
  "type": "object",
  "properties": {
    "task": {
      "type": "string",
      "minLength": 5,
      "maxLength": 500
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 25,
      "default": 8
    },
    "verbosity": {
      "type": "string",
      "enum": [
        "compact",
        "full"
      ],
      "default": "compact"
    }
  },
  "required": [
    "task"
  ],
  "additionalProperties": false
}
🟢list_unreviewed(limit)

Return patterns that have not been human-reviewed yet (no reviewed_by). Sorted low-confidence first, then needs_human_review flagged, then alpha. Use during Phase 3 review to pick the next pattern to examine.

輸入結構描述

{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 250
    }
  },
  "additionalProperties": false
}
🟢review_stats

Coverage stats: total patterns, reviewed %, per-suite and per-confidence breakdown. Surfaces load-time validation issue count.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢get_reverse_references(id)

Return patterns that reference the given pattern_id in their cross_references. Complement to get_cross_references (outgoing); this shows incoming. Use to find all consumers of a given pattern.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 500
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
🟢list_operational_heuristics(suite_id, query)

List operational heuristics distilled from production agentic AI deployment (Claude Code, Rewind). These are cross-cutting safety principles discovered through building and operating AI agents, mapped to framework suites. Optional filters: suite_id (heuristics relevant to a specific suite), query (keyword search across titles and principles). Separate from the normative pattern layer — different category of knowledge.

輸入結構描述

{
  "type": "object",
  "properties": {
    "suite_id": {
      "type": "string",
      "maxLength": 500,
      "description": "Filter by framework suite (e.g., 'D3', 'I2')"
    },
    "query": {
      "type": "string",
      "maxLength": 500,
      "description": "Keyword search across titles, principles, narratives"
    }
  },
  "additionalProperties": false
}
🟢get_operational_heuristic(id)

Retrieve a single operational heuristic by id (e.g., 'OH::geoffrey-pattern'). Returns the full entry: principle, framework mapping, evidence sources from production deployment, design patterns, anti-patterns, and discovery narrative.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 500
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本12 個工具
已驗證未記錄版本12 個工具
已驗證未記錄版本12 個工具