Tool catalog
Wiring
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.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Contra exposes the identity API as MCP tools so any AI agent can call them as native capabilities.
| Tool | Wraps | Cost |
|---|---|---|
contra_list_workflows | GET /v1/workflows | free |
contra_start_verification | POST /v1/sessions | hold |
contra_get_decision | GET /v1/sessions/:id/decision | paid |
contra_anchor_onchain | POST /v1/sessions/:id/anchor | paid |
contra_check_compliance | GET /v1/compliance/:address | free |
import { MCPServer } from '@modelcontextprotocol/sdk'
import { contraTools } from '@contra/mcp'
const server = new MCPServer({ tools: contraTools() })
server.start()