| Framework Home | Examples Index | Cross-Pillar Governance | AISM | NEXUS | Dashboard |
Current framework context: AI SAFE² v3.1. This example may preserve historical component versions or earlier framework references where they describe when the implementation was created. For current conformance, use the v3.1 framework and applicable profile requirements.
safe2 CLIThe mcp-score, mcp-scan and mcp-safe-wrap code that used to live here was a
pre-migration copy. It now ships as aisafe2_mcp_tools inside the ai-safe2
package and is reached through safe2. The copy in this folder was removed on
2026-10-07 because it still contained the remote scorer that could be gamed by
self-attestation (fixed in the packaged toolkit) and cited retired control
numbers from before the v3.1 MCP profile. Do not install from this path.
| You want to | Run |
|---|---|
| Score a remote MCP server | safe2 score mcp https://server.example/mcp |
| Statically scan MCP server source | safe2 scan mcp ./server |
| Fail CI below a score or on hostile tool content | safe2 gate mcp https://server.example/mcp --ci-fail-below 70 |
| Wrap a stdio server with inspection, policy and audit | safe2 mcp wrap-stdio -- <server command> |
| Wrap an HTTP server | safe2 mcp wrap-proxy https://server.example/mcp |
The legacy entry points mcp-score, mcp-scan and mcp-safe-wrap are still
installed by pip install ai-safe2. Findings and checks cite the
CP.5.MCP v3.1 profile
(MCP-1 to MCP-19). See the command map and
MIGRATION.md for the move.
| Examples Index | Framework Home | Cross-Pillar Governance | NEXUS | Scanner | MCP Profile |
AI SAFE² v3.1 | Cyber Strategy Institute