domainagent-mcp
MCP server for domainagent.dev, enabling AI agents to search, register, deploy, host, and manage domains with USDC payment on Base via x402. Supports static site deployment via Cloudflare Pages and DNS management.
README
domainagent-mcp
MCP server for domainagent.dev — go from idea to live, hosted website in one agent prompt.
Search, register, deploy, host, and manage domains. Pay with USDC on Base via x402.
What is domainagent?
domainagent is an agent-first domain + hosting platform. Instead of clicking through GoDaddy, Netlify, and Cloudflare separately, your AI agent calls one API and gets:
- Domain search + registration via Name.com
- Static site deployment via Cloudflare Pages
- DNS management (A, CNAME, MX, TXT records)
- SSL (automatic via Cloudflare)
- Health checks (DNS, HTTP, SSL, response time)
- Renewals with expiry tracking
- Free transfer-out with auth/EPP codes (no lock-in)
- x402 payment — USDC on Base mainnet, no credit card needed
Install
npx (no install)
npx domainagent-mcp
Claude Desktop / Cursor / MCP-compatible tools
Add to your MCP config:
{
"mcpServers": {
"domainagent": {
"command": "npx",
"args": ["domainagent-mcp"],
"env": {
"SHIPAGENT_API": "https://domainagent.dev"
}
}
}
}
Global install
npm install -g domainagent-mcp
domainagent-mcp
Tools
| Tool | Description | Auth | Payment |
|---|---|---|---|
domainagent_search |
Search available domains | — | Free |
domainagent_recommend |
AI domain suggestions from a description | — | Free |
domainagent_pricing |
TLD price list | — | Free |
domainagent_status |
Check domain deployment status | — | Free |
domainagent_health |
DNS + HTTP + SSL health check | — | Free |
domainagent_renewals_due |
Domains expiring within 30 days | — | Free |
domainagent_deploy |
Register + deploy + DNS + SSL | Wallet | x402 USDC |
domainagent_redeploy |
Update existing deployment | Wallet | x402 USDC |
domainagent_renew |
Renew domain registration | Wallet | x402 USDC |
domainagent_auth_challenge |
Get wallet auth challenge | — | Free |
domainagent_auth_verify |
Verify signed challenge → session token | — | Free |
domainagent_list_domains |
List your domains | Token | Free |
domainagent_dns_list |
List DNS records | Token | Free |
domainagent_dns_add |
Add DNS record | Token | Free |
domainagent_dns_delete |
Delete DNS record | Token | Free |
domainagent_renewal_email |
Set renewal reminder email | Token | Free |
domainagent_connect |
Connect your Cloudflare account | Token | Free |
domainagent_transfer_out |
Get auth/EPP code for transfer | Token | Free |
Hosting Plans
| Tier | Monthly | Bandwidth | Type | Overage | Auto-pause |
|---|---|---|---|---|---|
| starter | $3/mo | 5 GB | Static (CF Pages) | $0.50/GB | At limit |
| growth | $8/mo | 25 GB | Static (CF Pages) | $0.50/GB | At limit |
| pro | $20/mo | 100 GB | Static (CF Pages) | $0.50/GB | At limit |
| app_sm | $12/mo | 25 GB | App (Fly.io) | $0.50/GB | At limit |
| app_md | $25/mo | 50 GB | App (Fly.io) | $0.50/GB | At limit |
| app_lg | $50/mo | 100 GB | App (Fly.io) | $0.50/GB | At limit |
Bandwidth enforcement: At 80% you'll get an email warning. At 100% your site pauses automatically — no surprise bills. First month is billed at deploy time.
Quick Start
Search for a domain:
"Find me a domain for my fitness tracking app"
→ domainagent_search({ query: "fitness tracker" })
→ fittrack.dev — $14.99 (available)
Deploy:
"Deploy my app to fittrack.dev"
→ domainagent_deploy({ domain: "fittrack.dev", owner: "0x...", filesBase64: "..." })
→ 402 Payment Required: $16.99 USDC (domain + deploy fee)
→ Agent signs USDC authorization, retries
→ ✓ fittrack.dev is live with SSL
Check health:
"Is fittrack.dev working?"
→ domainagent_health({ domain: "fittrack.dev" })
→ DNS: ✓ | HTTP: 200 | SSL: valid | Response: 45ms
Authentication
Free tools (search, pricing, health) require no auth.
Sensitive operations use wallet-based authentication:
- Call
domainagent_auth_challengewith your wallet address - Sign the returned message with your wallet
- Call
domainagent_auth_verifywith the signature - Use the returned session token as
authTokenin subsequent calls
Paid operations (deploy, redeploy, renew) use x402 — sign a USDC authorization on Base mainnet.
x402 Payment Flow
Paid endpoints return 402 Payment Required with details:
- Network: Base mainnet (eip155:8453)
- Token: USDC (
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) - Amount: varies by operation
Your agent signs a USDC authorization and retries with the X-Payment header. The x402 protocol handles the rest.
No Lock-in
- Free transfer-out — get your auth/EPP code anytime via
domainagent_transfer_out - You own your domain — registered in your name via Name.com (ICANN-accredited)
- Connect your own Cloudflare — deploy to your infrastructure, not ours
⚠️ BYO Cloudflare requirement: This works for static sites where your domain is already in your Cloudflare account. If the domain isn't in your CF account yet, DNS setup will fail. Make sure your domain's nameservers are pointed to Cloudflare before connecting.
- Open MCP — this repo is MIT licensed
x402 Payment Signing
Some MCP tools (deploy, redeploy, renew) require x402 USDC payment on Base mainnet.
The examples/ directory includes tools to make this easy:
x402-signer.js
Signs x402 payment headers from your wallet. Use it when an MCP tool returns a 402:
# Install dependencies
npm install viem @x402/core @x402/evm
# Sign a payment from a saved 402 response
node examples/x402-signer.js --payment-file payment-402.json --key 0xYOUR_KEY
# Or pipe it
echo '{"paymentDetails":{...}}' | node examples/x402-signer.js --key 0xYOUR_KEY
# Use with env var
export WALLET_PRIVATE_KEY=0x...
node examples/x402-signer.js --payment-file payment-402.json
Output: a base64-encoded PAYMENT-SIGNATURE value ready to pass as paymentSignature in any MCP tool.
Full deploy flow example
export WALLET_PRIVATE_KEY=0x...
export WALLET_ADDRESS=0x...
export CONTACT_EMAIL=you@example.com
./examples/agent-deploy-flow.sh mydomain.xyz ./my-site.zip
This script handles the complete flow: search → deploy attempt → sign payment → retry with signature → verify status.
API
Full OpenAPI spec: domainagent.dev/openapi.yaml
Agent discovery: domainagent.dev/.well-known/agent.json
License
MIT
Source
Open source MCP server: github.com/mswat/domainagent-mcp
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.