Your first MCP call
The hosted MCP endpoint gives agent clients the same engine, the same queue, and the same trial as the REST API — as tools.
1 · Point your client at the endpoint
The endpoint is https://api.axiom-code.com/mcp/ — the trailing slash is canonical. Authenticate with the same API key you use for REST (keys are issued by email: hello@axiom-code.com).
2 · List the tools
After the standard MCP handshake, tools/list returns seven tools: verify, job_status, check_certificate, revoked, health, usage_report, pricing. The full contract is in the MCP reference.
3 · Call verify
Call verify with a Lean 4 artefact. You receive the same response shape as REST: verdict, artefact hash, usage record — and, when the proof slots are busy, a job to poll with job_status. Trial semantics are identical: the first 10 cases per key return verdicts and usage, never a certificate.
4 · Prefer REST when there is no agent
MCP is a door, not a different service. If your caller is a script or a backend rather than an agent client, the REST API is the simpler contract — same key, same verdicts.
Next
- Integrate an agent — key handling, queue discipline, and error mapping for agent callers.
- MCP reference — all seven tools, plus the local MCP server.