Skip to main content

MCP Server

Skia exposes its full surface to agents over MCP (JSON-RPC 2.0). One law, two mounts: Both mounts are thin honest proxies: the MCP surface never forks settlement logic — it forwards to the same handlers the REST routes use, with bearer forwarding (the quote-plane discipline).

The tool set

Sixteen tools across the family:
  • Layer + market data: skia_layer_info, skia_registry, portfolio and tier reads (skia_portfolio, skia_tier_status, skia_order_status).
  • Settlement: quote, commit, reveal, and the one-shot swap (skia_get_quote, skia_commit, skia_reveal, skia_swap).
  • The invoice family (five tools, the locked names): issue_invoice, acknowledge_invoice, pay_invoice, dispute_invoice, get_receivable.
The initialize handshake instructions carry the invoice-family flow — an agent that connects gets the lifecycle order (issue → acknowledge → pay → read) without reading this site.

Discovery

The hosted server is self-describing:
  • GET / — human-readable discovery (transport, versions, schema pointer).
  • GET /schema — the machine-readable tools schema (versioned snapshots of published versions live in the repo under docs/mcp-schema-*.json).
  • GET /health — liveness.

Connect an MCP client

Point any Streamable-HTTP MCP client at the host. For Claude Desktop / Cursor-style configuration:
On testnet the bearer is the caller’s wallet address (simulated ethSigAuth) — the same posture as REST. Invoice tools enforce role law server-side: only the issuer issues, only the debtor acknowledges, disputes, and pays.

A session in three calls

The full agent session — initialize → tools/list → issue → acknowledge → pay → read — is walked through in the agent session example.

Where to next