Skip to main content
The Contra MCP server exposes a handful of tools that wrap the REST API 1:1.

Tool catalog

ToolWrapsCost
contra_list_workflowsGET /v1/workflowsfree
contra_start_verificationPOST /v1/sessionshold
contra_get_decisionGET /v1/sessions/:id/decisionpaid
contra_anchor_onchainPOST /v1/sessions/:id/anchorpaid
contra_check_complianceGET /v1/compliance/:addressfree

Wiring

import { MCPServer } from '@modelcontextprotocol/sdk'
import { contraTools } from '@contra/mcp'

const server = new MCPServer({ tools: contraTools() })
server.start()

Auth model

  • Tools that cost us money (Smile job, on-chain mint) sit behind x402.
  • Tools that are on-chain reads are free — the composability moat.
See x402 for the payment handshake.