Set up domani
Give your AI agent domain management capabilities 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.sh/mcp",
"headers": {
"Authorization": "Bearer domani_sk_xxx"
}
}
}
}Option B: Add via Claude Code CLI
claude mcp add domani \ --transport http \ https://domani.sh/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
21 tools available natively to your agent: search, suggest, buy, connect, DNS, email, whois, renew, transfer, and more. Your agent can manage domains end-to-end without any additional setup.
3Set up payments
Option A: Card
Add a card from your dashboard. All purchases are charged automatically - no confirmation needed.
Option B: USDC on Base (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 Base and retry automatically. Zero manual setup.
# 1. Agent calls POST /api/domains/buy # 2. API returns 402 + USDC payment requirements # 3. x402 client signs USDC transfer on Base # 4. Retries with PAYMENT-SIGNATURE header # 5. Domain registered - fully autonomous
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