Set up domani

Give your AI agent a domain, an email inbox, and inbound-mail webhooks - in under a minute.

1Get your API key

Create a free account to get your API key. No credit card required.

2Choose your integration

For Claude Code, Cursor, Windsurf, and any MCP-compatible agent

Option A: Add to your MCP config file

Add this to .mcp.json(Claude Code) or your editor's MCP settings (Cursor, Windsurf):

{
  "mcpServers": {
    "domani": {
      "type": "streamable-http",
      "url": "https://domani.run/mcp",
      "headers": {
        "Authorization": "Bearer domani_sk_xxx"
      }
    }
  }
}

Option B: Add via Claude Code CLI

claude mcp add domani \
  --transport http \
  https://domani.run/mcp \
  -- --header "Authorization: Bearer domani_sk_xxx"

Replace domani_sk_xxx with your API key. You can generate one from your dashboard, or run domani token if you have the CLI installed.

What you get

119 tools available natively to your agent - including provision_agent to set up a domain, inbox, and webhook in one call, plus search, buy, connect, DNS, send/receive email, whois, renew, and transfer. Your agent manages domains and email end-to-end without any additional setup.

3Set up payments

Option A: Card

Add a card from your dashboard. Purchases charge it directly - no extra payment step. Well-behaved agents (including our skill) still confirm the domain and price with you before buying.

Option B: USDC via x402 (for autonomous agents)

No card needed. When your agent buys a domain without a card on file, the API returns HTTP 402 with x402 payment requirements. Compatible clients (like @x402/fetch) sign a USDC transfer on a supported chain (Base, Solana - see the live list) and retry automatically. Zero manual setup.

# 1. Agent calls POST /api/domains/buy
# 2. API returns 402 + USDC payment requirements (one option per chain)
# 3. x402 client signs a USDC transfer on its chain
# 4. Retries with PAYMENT-SIGNATURE header
# 5. Domain registered - fully autonomous

Learn more about x402 →

4Try it

Ask your agent to find and register a domain, or try it yourself:

$ domani search myproject
$ domani buy myproject.dev
$ domani connect myproject.dev my-app.vercel.app