Domain Operator Kit
This server lets an AI agent quote, buy, renew and manage one-year domain registrations and their DNS through a domain operator.
quote— get a signed price and availability for a one-year registration, or a renewal quote (needs owner signature); availability is not a reservation.register— buy the exact domain from an unexpired quote, registered to a supplied registrant contact, with terms acceptance, a client order ID and separate x402 payment; irreversible once registered.renew— extend an owned domain by one year from a renewal quote, paid separately (registrar autorenew is off).status— recover a private order after a lost response using its order ID; pending is not failure, never re-buy to resolve a timeout.info— read an owned domain's expiry, nameservers and verification requirements.dnsGet— read owned DNS records plus the current revision.dnsSet— replace only the named DNS record sets (A, AAAA, CNAME, TXT, MX, CAA; up to 50 records) while preserving other names and types, guarded by a required revision.
Connects an owned domain to a Vercel project, using Vercel's current DNS recommendations, adding the apex domain to the pinned project, and preserving existing TXT verification values and unrelated records. Supports optional replacement of existing A records and reports whether Vercel configuration or DNS verification is still pending.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Domain Operator Kit quote and register example.com for a year, then attach it to my Vercel project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🔄 Synced from the AI-Factory monorepo (append-only history). Pull requests are welcome — merged PRs are imported back and re-synced here. Issues · Pull requests
An agent can build and deploy an application. This kit lets it take the next step: obtain a signed price for a domain, register it to its real owner, manage DNS and connect it to a Vercel project.
Independent operators run their own seller nodes, use their own registrar accounts and set a fixed markup per registration or renewal. Agents use a shared capability contract and a budgeted MCP client.
Pre-live release. The local tests and Openprovider and Porkbun Sandbox pilots pass: registration, DNS, renewal, lost-response recovery and MCP reads. Production domain purchases, payment settlement and Vercel attachment remain unverified. The default demo buys nothing. Verification record →
What the buyer gets
One exact domain, registered for one year to the supplied registrant. The quote shows the supplier cost, fixed markup and final amount before payment. For example, a $10 supplier cost plus a $2 markup gives a 12 USDC order; these are illustrative amounts, not a registrar tariff.
DNS management and domain information are included. Renewal is a separate purchase at a newly quoted price. Registrar autorenew is disabled. Availability is not a reservation, and registrant email verification may still require action by the owner.
The built-in registrar scope is .com, .net and .org, ordinary ASCII names, one year. Premium names, IDNs, incoming transfers and expired-domain restoration are outside this release.
Related MCP server: ClawDaddy MCP Server
One product, three roles
You are | What you use |
A domain operator or reseller | Your registrar account, receiving wallet, refund reserve and fixed markup; a seller node with durable orders |
An independent supplier | The HTTP supplier contract, implemented in your own language and infrastructure |
An agent or app developer | Signed |
flowchart LR
Agent["AI agent / MCP client"] -->|Discover| Hub["AIMarket Hub"]
Hub -->|Public quotes only| Seller["Domain operator"]
Agent -->|Private order + x402 payment| Seller
Seller -->|Register and reconcile| Provider["Openprovider / Porkbun / HTTP supplier"]
Agent -->|Owner-signed DNS| Seller
Agent -->|Buyer-side connector| Vercel["Your Vercel project"]The Hub handles discovery. Orders, registrant contacts, payment authorizations and DNS operations go directly to the seller. This implementation charges no Hub commission. The Vercel token stays with the buyer.
Try it locally
Use Node.js 22.13+; local verification used 22.22.1. From domain-kit/ in the monorepo, or from the root of a satellite checkout:
npm ci --ignore-scripts
npm run check
npm test
npm run demoThe demo runs a signed HTTP lifecycle: quote → simulated registration → DNS → renewal. No registrar account, wallet funding or external service is needed. Local HTTP tests require permission to listen on localhost.
For the simplest external API test, use the Porkbun Sandbox quickstart: automatic disposable credentials, virtual credit and a resumable end-to-end pilot. The Porkbun adapter is sandbox-only until a production pilot passes.
For the Openprovider Sandbox API integration test, follow the opt-in npm run sandbox:pilot instructions. The script retains its state and reuses the same orders on repeat runs.
For a persistent demo server:
cp .env.example .env
node --env-file=.env src/server.jsIn another terminal:
DOMAIN_ALLOW_DEMO=1 node bin/domain-rails.mjs check http://127.0.0.1:9495This checks the public quote protocol and signature; it does not certify the seller. The server persists encrypted documents and keys in data/. Do not discard that directory between deployments.
A public node: demo until your keys are in
DOMAIN_MODE=auto is for a node you publish before you sell. Without keys it is a public demo: availability is real (the registries' own RDAP for .com, .net, .org), quotes are signed and marked demo with illustrative prices, reads answer, and only register and renew are refused with 403 demo_mode. When every live setting is in (production registrar keys or an HTTP supplier, PAY_TO, CDP_KEY_FILE, DOMAIN_REFUND_KEY_FILE, HTTPS DOMAIN_PUBLIC_URL and DOMAIN_TERMS_URL, DOMAIN_UPSTREAM_COST_CONFIRMED=1), the next start sells live. Until then /healthz lists the setting names still missing (live_missing), never their values. Porkbun stays sandbox-only. modelmarket.dev runs such a node as its domain showcase: domains.modelmarket.dev, with the kit's landing at the root and the example desk — a storefront that searches names, shows the signed price and walks through the order. Both are static pages in docs/landing/ that call the node on their own origin; serve them next to yours (node docs/landing/dev.mjs previews them).
Agent capabilities
Capability | Purpose |
| Availability, exact registration price or private renewal quote |
| Register the quoted name for one year |
| Renew an owned domain using a new quote |
| Recover a pending order and retrieve its signed receipt |
| Expiry, nameservers and required owner actions |
| DNS records and revision |
| Replace selected record sets while preserving other names and types |
| Private transfer code, where supported; excluded from the MCP tool list |
Machine-readable contract · Authentication and payment protocol
Connect a buyer
node bin/domain-rails.mjs init-owner /private/path/owner.pemAdapt examples/mcp.json for a client that supports stdio MCP. Pin the seller's public key through a trusted catalog, configure the owner's signing key and contact file, then set a per-purchase and daily budget. Purchases default to disabled.
DOMAIN_REGISTRANT_FILE injects the contact locally. Wallet and owner keys come from private files, never model arguments. Payment authorizations and budget reservations are persisted before sending. A retry reuses its original authorization; an unknown outcome keeps its budget reserved.
Keep the original client_order_id and order body across retries. A pending response is a reason to check status, not to create a second purchase. The user or client policy must authorize purchases and acceptance of seller terms.
Connect the domain to Vercel
Configure VERCEL_TOKEN_FILE, VERCEL_PROJECT_ID and optionally VERCEL_TEAM_ID in the buyer's environment. The MCP client exposes vercelConnect:
{"domain":"your-owned-domain.com"}The connector uses Vercel's current DNS recommendations, adds the apex domain to the pinned project and preserves existing TXT verification values and unrelated records. Replacing other A records requires explicit replace_existing:true. Conflicting AAAA/CNAME records must first be removed through the DNS provider's console.
waiting_for_verification_or_dns means propagation or verification is still pending. configured reflects the Vercel API, not an independent HTTPS reachability test. The seller itself requires a persistent Node process and disk; it is not a Vercel Function.
Bring your supplier
Openprovider and Porkbun Sandbox have built-in adapters. Other suppliers implement the common HTTP endpoints for quotes, contact preparation, submission, reconciliation and management. Operators retain their own accounts, pricing and payment destination.
Supplier contract and runnable simulator →
Supporting the contract makes integration possible; it does not make an untested supplier production-ready. Our pilot plan starts with Openprovider Sandbox and our own agent, then a controlled domain for our own Vercel project, before involving outside customers.
Built for interrupted operations
Durable order identity. Changed input cannot silently reuse an existing order. A wallet signature binds payment to the order and owner key.
No blind mutation retries. Lost payment and registrar responses enter reconciliation using the original evidence.
Refunds for proven non-delivery. Refunds target the original payer. Ambiguous outcomes remain pending; refunds require a funded reserve and functioning infrastructure.
Private management. Owner requests and seller responses use Ed25519; document bodies use AES-256-GCM. Database row identifiers, including domain names, are not encrypted.
Explicit operational limits. One seller process per SQLite database. Openprovider renewal ambiguity may require documented operator evidence. Porkbun replays use a durable idempotency key only within a 23-hour window; older unknown outcomes require review. DNS revision checking is not an atomic lock against outside console edits.
No automatic expiry notifications, renewal scheduler, owner-key recovery or general DNS deletion API is included. Operators must provide those support procedures before serving customers. See OPERATIONS.md.
Repository status
Canonical source is domain-kit/ in the AIMarket monorepo. The GitHub satellite is alexar76/domain-operator-kit. From the monorepo root the same commands are npm test --prefix domain-kit (and npm run check --prefix domain-kit). A Node 22/24 CI workflow, Docker/Compose definitions and local branding assets are included. The workflow is prepared; this README does not claim it has run on GitHub. The local test badge links to a dated verification record.
Install from npm: npm i @aimarket/domain-operator-kit. The public demo at domains.modelmarket.dev runs in demo mode and registers nothing.
MIT licensed. Base payment reconciliation was adapted from the AIMarket eSIM operator kit; see NOTICE.md.
Available Tools
7 toolsdnsGetBRead-onlyInspect
Read owned DNS records and their revision before an update.
Inputs: domain (required).
dnsSetADestructiveInspect
Replace only named DNS record sets, preserving other names and types. Requires the current DNS revision.
Inputs: domain (required), records (required), revision (required).
infoBRead-onlyInspect
Read an owned domain, expiry, nameservers and verification requirements.
Inputs: domain (required).
quoteARead-onlyInspect
Quote a one-year domain registration or renewal. Renewal requires the owner signature. Availability is not a reservation.
Inputs: domain (required), operation, period_years.
registerADestructiveInspect
Buy the exact domain in an unexpired quote, registered to the supplied registrant. Irreversible after registration. Separate x402 payment required.
Inputs: quote_id (required), registrant (required), accept_terms (required), terms_version (required), +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct action: quote (pricing), register (new buy), renew (owned), status (order recovery), info (read), dnsGet/dnsSet (DNS). The only mild overlap is quote covering both registration and renewal pricing, but descriptions clearly separate it from register and renew.
Mix of bare lowercase verbs (quote, register, renew), lowercase nouns (status, info), and camelCase (dnsGet, dnsSet). Still readable, but the conventions are not uniform across the set.
Seven tools is well-scoped for a domain registration and DNS operator kit, with each tool earning its place across the quote/register/renew/status/info/DNS lifecycle.
Core lifecycle (quote, register, renew, status, info, DNS read/write) is covered, but obvious operations like listing owned domains, transfer, and domain deletion are absent. DNS deletion is only implicitly handled via dnsSet's named-set replacement.
Maintenance
Related MCP Connectors
Agent-first domain registration and DNS management, paid with USDC via x402.
Domain registration for AI agents via Stripe or x402 crypto with Cloudflare DNS.
Domain search, registration, DNS, marketplace, and checkout with your AI agent.
Internet identity for AI agents: register or broker domains, email, DNS - pay by card or USDC.
Related MCP Servers
AlicenseAqualityDmaintenanceService that lets AI Agents search, register, and configure domains1010MIT- AlicenseAqualityDmaintenanceEnables AI agents to check domain availability, purchase domains via Stripe, and perform full DNS and nameserver management. It facilitates automated domain lifecycle tasks like record updates and transfer locks without requiring CAPTCHAs.MIT
- AlicenseAqualityDmaintenanceDomain registration for AI agents. Check availability, buy domains (Stripe or x402 crypto), and auto-configure Cloudflare DNS - all without leaving your coding session.95MIT

Purple Flea Domainsofficial
AlicenseNot gradedqualityDmaintenanceBuy and manage domain names with USDC via API. Search availability, register .com/.ai/.io domains, and manage DNS records. Designed for autonomous AI agents. 15% referral commissions.9 npmMIT