mcp-namecheap
Manage domains, DNS records, nameservers, registration, and pricing through the Namecheap API.
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., "@mcp-namecheap list all my domains"
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.
mcp-namecheap
Comprehensive MCP server for the Namecheap API. Manage domains, DNS records, nameservers, registration, and pricing — all from Claude, Cursor, or any MCP client.
Tools (10)
Tool | Description |
| List all domains in your account |
| Detailed info: owner, status, dates, DNS |
| Check domain availability (bulk) |
| Get DNS records (A, AAAA, CNAME, MX, TXT...) |
| Set DNS records (replaces all existing) |
| Get current nameservers |
| Set custom nameservers |
| Reset to Namecheap DNS |
| Register (purchase) a domain |
| Get TLD pricing (registration/renewal/transfer) |
Related MCP server: dynadot-mcp
Setup
1. Get Namecheap API Access
Log in to Namecheap
Go to Profile → Tools → API Access
Enable API access and whitelist your IP address
Copy your API key
2. Install
git clone https://github.com/jarupai/mcp-namecheap.git
cd mcp-namecheap
npm install
npm run build3. Configure Claude Code
Add to your Claude Code MCP settings (~/.claude/settings.json or project .claude/settings.local.json):
{
"mcpServers": {
"namecheap": {
"command": "node",
"args": ["/path/to/mcp-namecheap/dist/index.js"],
"env": {
"NAMECHEAP_API_USER": "your_username",
"NAMECHEAP_API_KEY": "your_api_key",
"NAMECHEAP_USERNAME": "your_username"
}
}
}
}Configure Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"namecheap": {
"command": "node",
"args": ["/path/to/mcp-namecheap/dist/index.js"],
"env": {
"NAMECHEAP_API_USER": "your_username",
"NAMECHEAP_API_KEY": "your_api_key",
"NAMECHEAP_USERNAME": "your_username"
}
}
}
}Environment Variables
Variable | Required | Description |
| Yes | API username |
| Yes | API key |
| Yes | Account username |
| No | Whitelisted IP (auto-detected if not set) |
| No | Set |
Examples
List your domains:
"Show me all my Namecheap domains"
Check availability:
"Is coolstartup.ai available?"
Manage DNS:
"Add a CNAME record for api.mysite.com pointing to myapp.railway.app"
Get pricing:
"How much does a .app domain cost?"
Register a domain:
"Register example.com for 1 year"
Important Notes
namecheap_set_dns_hostsreplaces all records. Always read existing records first withnamecheap_get_dns_hosts, modify the list, then set them all back.namecheap_register_domainwill charge your account. The AI will confirm before executing.IP auto-detection uses public services (ipify.org, ip.sb, ifconfig.me). Set
NAMECHEAP_CLIENT_IPmanually if your IP is static.
Credits
Inspired by community MCP servers:
License
MIT
Available Tools
10 toolsnamecheap_check_domainA
Check if one or more domains are available for registration. Returns availability and premium pricing.
Inputs: domains (required).
namecheap_get_dns_hostsA
Get all DNS host records for a domain (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA).
Inputs: domain (required).
namecheap_get_domain_infoA
Get detailed info about a domain: owner, status, creation/expiry dates, DNS provider, nameservers.
Inputs: domain (required).
namecheap_get_nameserversA
Get current nameservers for a domain and whether it uses Namecheap DNS or custom nameservers.
Inputs: domain (required).
namecheap_get_tld_pricingA
Get pricing for a TLD (.com, .net, .app, etc.) — registration, renewal, and transfer costs for different year periods.
Inputs: tld (required).
namecheap_list_domainsA
List all domains in your Namecheap account with details: expiration, auto-renew, lock status, DNS provider.
Inputs: page, pageSize.
namecheap_register_domainA
Register (purchase) a new domain name. Requires contact information as parameters. This will charge your Namecheap account.
Inputs: city (required), email (required), phone (required), domain (required), +9 more.
namecheap_set_default_nameserversA
Reset a domain to use Namecheap default nameservers. Use this to switch back from custom nameservers.
Inputs: domain (required).
namecheap_set_dns_hostsA
Set DNS host records for a domain. WARNING: This REPLACES all existing records. Always get current records first, modify them, and set the full list back.
Inputs: hosts (required), domain (required).
namecheap_set_nameserversA
Set custom nameservers for a domain (e.g. Cloudflare, AWS Route53). This switches the domain away from Namecheap DNS.
Inputs: domain (required), nameservers (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct aspect of domain management: listing, info, availability, DNS records, nameservers, pricing, and registration. While set_nameservers and set_default_nameservers are related, their descriptions clearly distinguish custom vs. default, preventing misselection.
All tools follow the namecheap_<verb>_<object> pattern consistently. Verbs (list, get, check, set, register) are used predictably, and there is no mixed casing or stray naming.
With 10 tools, the server covers the core domain management workflows (query, purchase, DNS, nameservers, pricing) without unnecessary bloat. Each tool addresses a real need and earns its place.
The tool set lacks key domain lifecycle operations such as renewal, transfer, and contact updates. While DNS and nameserver management are well covered, this gap will cause agent failures for expiration-related tasks.
Maintenance
Related MCP Connectors
MCP server for DNSimple — domains, DNS zone records, availability, pricing and contacts.
Official Porkbun MCP server: domains, DNS, SSL, hosting and Cloudflare via the Porkbun API.
Domains MCP — domain registration lookup + availability search over live RDAP (ICANN standard…
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides integration with the Namecheap API for domain management operations, including domain listing, availability checks, and nameserver configuration. It allows users to interact with their Namecheap account through natural language commands in MCP-compatible clients.334 npm20MIT
- AlicenseBqualityBmaintenanceMCP server for Dynadot domain registrar API3 — manage domains, DNS, contacts, transfers & more67106 npm1MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for managing DNS records and domains via the Namecheap API. Works with Claude.ai and other MCP clients.6 npmMIT
- FlicenseAqualityDmaintenanceA Model Context Protocol server that wraps the Namecheap API, enabling AI assistants to manage domains, DNS records, SSL certificates, and account information.212 npm-