Domain Suite MCP README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Domain Suite MCP listing page.

domain-suite-mcp

MCP server for AI agents to autonomously manage domains and DNS — without human intervention.

npm version License: MIT Node.js Tests

domain-suite-mcp is an open-source MCP server written in TypeScript that enables AI agents to autonomously manage domains and DNS without human intervention. It acts as a unified abstraction layer over multiple domain registrar and DNS provider APIs, exposing a consistent set of 21 MCP tools that any MCP-compatible agent can call.

AI agents can now build and deploy full applications end-to-end — writing code, provisioning infrastructure, pushing to production. The remaining gap in the autonomous shipping pipeline is domain and DNS management. domain-suite-mcp eliminates that gap.

An agent can now complete the full domain lifecycle without human intervention:

Code
check availability → register → configure DNS → provision SSL → set up email
domain-suite-mcp MCP server

Quick Start

No installation required. Domain availability checking works immediately with zero configuration via public RDAP/WHOIS protocols.

Terminal
npx domain-suite-mcp

Add provider credentials via environment variables to enable registration, DNS management, SSL, and more.

Install globally

Terminal
npm install -g domain-suite-mcp
domain-suite-mcp

Install Claude Code skills

Install five pre-built skills (/domain-check, /domain-register, /domain-dns-setup, /domain-email-setup, /domain-full-setup) into your Claude Code setup:

Terminal
npx domain-suite-mcp install

This copies the skills to ~/.claude/skills/. Restart Claude Code to activate them.

Print MCP client config

Terminal
npx domain-suite-mcp config

Prints the ready-to-paste JSON snippet for Claude Desktop, Cursor, Windsurf, or any MCP client.


Claude Desktop

Add to claude_desktop_config.json:

config.json
{
  "mcpServers": {
    "domain": {
      "command": "npx",
      "args": ["-y", "domain-suite-mcp"],
      "env": {
        "PORKBUN_API_KEY": "pk1_...",
        "PORKBUN_SECRET_API_KEY": "sk1_..."
      }
    }
  }
}

Cursor / Windsurf / Kiro

Add to your MCP settings (varies by client):

config.json
{
  "command": "npx",
  "args": ["-y", "domain-suite-mcp"],
  "env": {
    "PORKBUN_API_KEY": "pk1_...",
    "PORKBUN_SECRET_API_KEY": "sk1_..."
  }
}

Claude Code

Install the skills, then add the MCP server to your project settings:

Terminal
npx domain-suite-mcp install    # installs /domain-* skills to ~/.claude/skills/
npx domain-suite-mcp config     # prints the MCP server config to add

Once configured, you can invoke skills directly in Claude Code:

Code
/domain-check myapp.com io,dev
/domain-register myapp.com
/domain-email-setup myapp.com google
/domain-full-setup myapp.com

See docs/SKILLS.md for full workflow patterns and prompt templates.


Provider Support

FeaturePorkbunNamecheapGoDaddyCloudflare
Domain availability checkYesYesYesYes
Domain registrationYesYesYesEnterprise only
Domain renewalYesYesYesEnterprise only
DNS record CRUDYesYesYes*Yes
SSL certificate managementYes (full)NoNoList/status only
WHOIS contact managementNoYesYesEnterprise only
Domain transfer (inbound)YesYesYesNo
Pricing via APIYesYesYesNo
Sandbox / test environmentYesYesYesNo

* GoDaddy DNS management requires 10+ active domains or Domain Pro plan (~$240/yr).

Recommended setup: Register on Porkbun or Namecheap, then point nameservers to Cloudflare for DNS. Best of both: easy registration + Cloudflare's fast DNS API.


Environment Variables

Porkbun

bash
PORKBUN_API_KEY=pk1_...
PORKBUN_SECRET_API_KEY=sk1_...

Namecheap

bash
NAMECHEAP_API_KEY=...
NAMECHEAP_API_USER=your_username
NAMECHEAP_CLIENT_IP=...   # optional; auto-detected if not set
NAMECHEAP_SANDBOX=true    # optional; use sandbox environment

Your server IP must be whitelisted in Namecheap under Profile → Tools → API Access → Whitelisted IPs before any call will work.

GoDaddy

bash
GODADDY_API_KEY=...
GODADDY_API_SECRET=...
GODADDY_SANDBOX=true   # optional; use OTE environment

Cloudflare

bash
CLOUDFLARE_API_TOKEN=...
CLOUDFLARE_ACCOUNT_ID=...   # optional

Tools

ToolDescription
list_providersList configured providers and their capabilities
check_availabilityCheck if a domain is available — works with zero configuration
list_domainsList all domains across configured providers
get_domainGet details for a specific domain
register_domainRegister a new domain
renew_domainRenew an existing domain
list_dns_recordsList all DNS records for a domain
create_dns_recordCreate a new DNS record
update_dns_recordUpdate an existing DNS record (full replacement)
delete_dns_recordDelete a DNS record
list_certificatesList SSL certificates for a domain
create_certificateProvision a new SSL certificate
get_certificate_statusGet the status of a certificate
setup_spfAdd SPF record with mail provider template (Google, Resend, SendGrid, Mailgun, SES, Postmark)
setup_dkimAdd DKIM record — supports RSA and Ed25519, idempotent
setup_dmarcAdd DMARC policy record, idempotent
setup_mxConfigure MX records with mail provider template
transfer_domain_inInitiate inbound domain transfer
get_transfer_statusCheck status of a pending transfer
get_whois_contactGet WHOIS contact info for a domain
update_whois_contactUpdate WHOIS contact info for a domain

Full tool reference with schemas and examples: docs/TOOLS.md


Designed for AI Agents

Every error message tells the agent what went wrong, why, and exactly what to do next. No raw API error codes, no cryptic status numbers.

Code
[IP_NOT_WHITELISTED] namecheap: Namecheap API authentication failed. Your server's IP
address must be whitelisted in your Namecheap account under Profile → Tools → API Access
→ Whitelisted IPs. → Log in to Namecheap and add your current IP address to the whitelist.

Format: [ERROR_CODE] provider: what went wrong → what to do

The server is fully stateless — no database, no persistent auth, no server to manage. Every call fetches fresh data directly from the provider API.


Documentation

DocumentDescription
docs/TOOLS.mdComplete tool reference with schemas
docs/PROVIDERS.mdProvider setup guides and known limitations
docs/SKILLS.mdAgent workflow patterns and prompt templates
CHANGELOG.mdVersion history
CONTRIBUTING.mdContribution guide

Contributing

Contributions are welcome. See CONTRIBUTING.md for setup, testing, and pull request guidelines.

bash
git clone https://github.com/oso95/domain-suite-mcp.git
cd domain-suite-mcp
npm install && npm test

License

MIT