API ReferenceCheck

The same check as an MCP tool over Streamable HTTP

POST
/api/mcp

Two read-only tools: check_recall(title, model), and get_recall(recallNumber), which gives one recall's CPSC text. Stateless: each request stands alone. Send JSON-RPC 2.0, with Accept application/json, text/event-stream. It shares the limit of /api/check.

Request Body

application/json

jsonrpc*string

Always "2.0".

id?integer

The request's number, sent back with its answer.

method*string

An MCP method, such as tools/list or tools/call.

params?

The method's arguments, such as a tool's name and its arguments.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/mcp" \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "method": "tools/list"  }'
{}