Skip to content

MCP server

qsafe.sh runs a remote Model Context Protocol server at:

https://qsafe.sh/mcp

It uses the Streamable HTTP transport, needs no key or OAuth, and is stateless. Once it’s connected, ask your agent something like “Is example.com quantum-safe? Fix what you can in this repo.”

Terminal window
claude mcp add --transport http qsafe https://qsafe.sh/mcp

Add --scope project to share it with your team through .mcp.json.

Tool Arguments What it does
scan_domain domain, fresh? Scans a domain and returns the full report: score, band, key exchange, TLS versions, certificate, detected stack, and findings with fixes. Reuses a result under an hour old unless fresh: true.
get_fix stack?, finding? With stack and finding, the one config change for that finding. With only stack, the whole guide. With neither, the list of 18 stacks.
verify_fix domain Runs a fresh scan and compares it with the previous one: score change, findings fixed, still open and new. Call it after the change is deployed.
get_methodology none Points per area, caps and colour bands.

All tools are read-only. They never change anything on your site.

A typical agent loop is scan_domain → edit config with get_fix → the user deploys → verify_fix. The qsafe-fix skill teaches an agent exactly that loop.

MCP scans share the API limits: 5 new scans a minute and 30 a day per IP. When a limit is hit, the tool returns an error result with the wait time, so the agent can tell you instead of retrying in a loop.

The server speaks both MCP generations:

  • 2025-03-26, 2025-06-18 and 2025-11-25: the classic initialize handshake.
  • 2026-07-28: stateless requests with server/discover, the MCP-Protocol-Version, Mcp-Method and Mcp-Name headers, and cacheable tools/list (ttlMs, cacheScope: public).

An unsupported version gets error -32022 with the supported list. You don’t need to think about this: current clients negotiate it themselves.

Terminal window
curl -s https://qsafe.sh/mcp \
-H 'content-type: application/json' \
-H 'mcp-protocol-version: 2025-11-25' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"scan_domain","arguments":{"domain":"example.com"}}}'