For the complete documentation index, see llms.txt. This page is also available as Markdown.

MCP Server

The Doma MCP server is a hosted Model Context Protocol server that gives any MCP-capable AI agent direct access to Doma: domain lookup and search, availability and pricing, DNS, marketplace listings and quotes, token prices and wallet balances — and, once authorized, buying listed domains, swapping tokens, bridging assets to other chains, and resting limit orders from the user's own Doma wallet.

One URL in your MCP client and the agent discovers the tools itself — no API key, no contract ABIs, no Seaport or orderbook code.

Endpoints

Network
URL
Chain ID

Doma Mainnet

https://mcp.doma.xyz/mcp

97477

Doma Testnet

https://mcp-testnet.doma.xyz/mcp

97476

Both speak MCP over Streamable HTTP. Each server executes on exactly one network — server.ping.v1 reports which. To use both, connect both under distinct names (doma, doma-testnet).

Pasting the bare origin (https://mcp.doma.xyz) also works — the server routes protocol traffic from / to /mcp. The /mcp path is the canonical one to configure.

Two tiers

  • Read tools — no authentication. Lookups, search, pricing, DNS, listings, offers, quotes, token data, balances. Connect and start asking; nothing is signed, nothing is spent.

  • Execute tools — OAuth authorization required. Buying a listing, swapping tokens, and bridging assets to other chains sign and broadcast real transactions from the user's Doma wallet, gated by an OAuth 2.1 flow, a USD spend allowance the user sets, a per-transaction ceiling, and a rate limit. Limit orders are authorized the same way, but — because they fill off-session — are bounded by a standing on-chain router allowance rather than the USD budget. See Authorization & Spend Controls.

Execute tools are still listed to unauthorized clients, so an agent can see what's possible; calling one without a token returns a standard 401 challenge, which is the cue for your client to run the OAuth flow.

Execution on Doma chains is gasless — the user needs no ETH on the Doma chain to trade.

Which surface should I use?

Doma exposes agent-facing capability three ways. They overlap deliberately; pick by how much control you want.

Surface
Best for
Setup

MCP server (this section)

Any MCP client — Claude, Cursor, Codex, your own agent. Tools are discovered automatically and stay current with no action from you.

One URL

Agents that load SKILL.md files and want Doma's own instructions for multi-step workflows, discovered over DNS.

One-time skill install

Humans in a terminal, scripts, and CI — plus operations the MCP server doesn't expose yet (bridging, subdomains, selling).

npm install -g

If you are wiring up an agent and don't have a reason to prefer another path, start here.

Where to go next

  • Connect Your Client — copy-paste config for Claude Code, Claude, Cursor, VS Code, Codex, Windsurf, and anything else.

  • Authorization & Spend Controls — how the OAuth flow and the spend allowance work, and how to revoke.

  • Tool Reference — the full tool surface at a glance, and what isn't exposed yet.

  • Examples — real prompts and what the agent does with them.

Last updated