namecheap-mcp
Provides tools for managing Namecheap domains and DNS, including listing and inspecting domains, checking availability and pricing, configuring nameservers and contacts, locking/unlocking transfers, registering/renewing domains, checking balances, reading and safely updating DNS records, deleting records, and configuring email forwarding.
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., "@namecheap-mcp set www DNS to 192.0.2.10 without changing other records"
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.
namecheap-mcp
Stdio MCP server for Namecheap domains and DNS.
Why
Namecheap's official MCP server auth is broken (OAuth discovery points at www.namecheap.com instead of mcp.namecheap.com, single-use refresh tokens expire after ~24 hours or on concurrent refreshes), and setHosts is a footgun that overwrites the entire DNS zone (and resets EmailType if omitted) when you just want to patch one record.
Related MCP server: namecheap-webui-mcp
How
Zero-dependency stdio MCP server built on Namecheap's XML API.
Compresses the entire domain and DNS surface into 2 ergonomic tools (
domainsanddns) instead of 15+ scattered endpoints.Safe read-merge-write DNS updates (
set/deleteby record ID or{ type, name }) that automatically preserve existing records, TTLs, andEmailType(MX/MXE/FWD) unlessmode: "replace"is explicitly requested.Works directly with Namecheap XML API credentials or through a static-IP bearer proxy (like jump) so roaming networks never trip Namecheap's IP whitelist.
Tools
domainslist- List domains in account with paging and search.get- Get domain details, lock state, nameservers, WhoisGuard, and contacts.check- Check availability and pricing across standard and premium TLDs.set_nameservers- Switch between Namecheap BasicDNS (default: true) and custom nameservers.set_contacts- Update Registrant, Tech, Admin, and AuxBilling contacts.set_lock- Lock or unlock registrar transfer lock.register- Register a new domain (auto-fills contacts from an existing domain when omitted).renew- Renew a domain.balances- Get account balances.
dnsget- List DNS host records,emailType, and email forwarding rules.set- Safe read-merge-write DNS updates (with automaticEmailTypepromotion/demotion, ormode: "replace").delete- Delete specific DNS host records byidor{ type, name, value }.set_email_forwarding- Configure mailbox forwarding rules.
Usage
$ npm i
$ cp .env.example .envConfigure either Direct Namecheap API credentials or a Bearer Proxy in .env (or via env in mcp_config.json):
Direct API mode
NAMECHEAP_API_KEY- Namecheap XML API key.NAMECHEAP_USER- Namecheap username.NAMECHEAP_CLIENT_IP- Whitelisted client IPv4 address.NAMECHEAP_URL(optional) - Defaults tohttps://api.namecheap.com/xml.response.
Bearer Proxy mode
NAMECHEAP_URL- Proxy endpoint URL.NAMECHEAP_TOKEN- Proxy bearer token.
{
"mcpServers": {
"namecheap": {
"command": "npx",
"args": ["-y", "github:jessetane/namecheap-mcp"]
}
}
}Test
$ npm testLicense
MIT
Available Tools
2 toolsdnsB
Read, add/update (safe read-merge-write), or delete DNS host records and email forwarding settings on a Namecheap domain.
Inputs: action (required), domain (required), mode, upsert, +3 more.
domainsB
Manage Namecheap domain portfolio, availability & pricing checks, registration, renewal, nameservers, contacts, transfer lock, and account balances.
Inputs: action (required), page, years, domain, +9 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools target mostly distinct areas: domain portfolio/account/registration operations versus DNS records and email forwarding. There is minor boundary overlap around nameservers, which sit in the domains tool while DNS configuration is handled separately, but an agent can generally choose correctly.
Both names are concise, lowercase resource nouns following the same convention. The naming is predictable and easy to map to the server's domain.
Two broad tools can cover a lot of functionality, but the surface feels thin for full Namecheap domain and DNS lifecycle management. The tools are heavily aggregated, which may reduce discoverability and force agents to rely on long natural-language descriptions for action selection.
The set covers most core domain portfolio, registration, renewal, nameserver, contact, transfer-lock, balance, DNS record, and email-forwarding operations. Some lifecycle gaps remain, such as domain transfer initiation/status, privacy protection management, and DNSSEC controls.
Maintenance
Related MCP Connectors
Domain search and prices; authenticated registration, nameserver and renewal workflows.
Register, transfer and manage domain names and DNS from your AI agent.
29 DNS, SEO, SSL, security, WHOIS & mail tools for AI agents. Pay per call (x402) or card API key.
List domains and expiry dates; read, create and update LiveDNS records in Gandi.
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.320MIT
- AlicenseAqualityDmaintenanceManages Namecheap domains and account settings through the web dashboard without requiring an API key or IP allowlist.131MIT
- AlicenseAqualityDmaintenanceComprehensive MCP server for the Namecheap API, enabling domain management, DNS record control, nameserver settings, and domain registration from any MCP client.10MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to manage Namecheap domains, DNS, contacts, registrar locks, and view SSL certificates and pricing through safe read and configuration tools.16116 npmMIT