MCP server

Connect an MCP client to https://api.acretix.io/api/mcp. The server uses streamable HTTP transport; SSE is disabled.

Authenticate every connection with Authorization: Bearer followed by the same tenant API key used by the REST API. Set ACRETIX_API_KEY in your client environment.

The server health is available without a key at https://api.acretix.io/api/mcp/health.

Client setup

Claude Code

.mcp.json

{
  "mcpServers": {
    "acretix-verify": {
      "type": "http",
      "url": "https://api.acretix.io/api/mcp",
      "headers": {
        "Authorization": "Bearer ${ACRETIX_API_KEY}"
      }
    }
  }
}
Format per Claude Code documentation

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "acretix-verify": {
      "url": "https://api.acretix.io/api/mcp",
      "headers": {
        "Authorization": "Bearer ${env:ACRETIX_API_KEY}"
      }
    }
  }
}
Format per Cursor documentation

Codex

~/.codex/config.toml

[mcp_servers.acretix-verify]
url = "https://api.acretix.io/api/mcp"
bearer_token_env_var = "ACRETIX_API_KEY"
Format per Codex documentation

Tools

The server exposes these tools:

verify_submit, verify_get, verify_get_proof, verify_reverify, verify_feedback, rubric_compile, rubric_get, and usage_get.

Return shapes

verify_submit answers completed (the verification) or accepted (poll with verify_get).

verify_get_proof returns the proof object.

proof_ref on MCP is an internal locator; use verify_get_proof.

Errors

Error responses have the shape {error, detail, code, fix}. A scope failure has code insufficient_scope. An expired or held key gets a bare 401.

Limits that differ from REST

MCP has no 1 MiB body cap. It applies a per-key minute limit.