Namecheap is an MCP server that provides integration with the Namecheap API for domain management operations. It connects LLM-powered coding assistants and MCP clients directly to Namecheap's infrastructure, allowing developers, system administrators, and site owners to query their domain portfolio and perform domain tasks. The server enables users to list all domains within an account alongside expiration dates and auto-renewal settings, inspect the availability of new domains for registration, and update nameservers using custom DNS records. By design, the server restricts automated purchasing capabilities to prevent unwanted registrations, focusing strictly on read operations and DNS maintenance. Individual tools can also be enabled or disabled selectively using environment variables, ensuring fine-grained access control within client environments like Cursor. It also includes support for Namecheap's sandbox environment for safe testing.
Category: Cloud & Infrastructure
Tags: dns, domains, hosting, namecheap, registrar
bash git clone https://github.com/johnsorrentino/mcp-namecheap cd mcp-namecheap 2. Install the dependencies: bash npm install 3. Build the project: bash npm run build 4. Add the server to your MCP client configuration (such as Cursor): json { "mcpServers": { "namecheap": { "command": "node", "args": ["path/to/mcp-namecheap/dist/index.js"], "env": { "NAMECHEAP_API_USER": "your_api_username", "NAMECHEAP_API_KEY": "your_api_key", "NAMECHEAP_USERNAME": "your_namecheap_username", "NAMECHEAP_CLIENT_IP": "your_whitelisted_ip_address" } } } }Part of MCP Servers
The server allows MCP clients to query existing domains, inspect expiration and renewal statuses, test the availability of new domain names, and configure custom nameservers. It deliberately omits domain registration functionality to avoid accidental purchases.
It functions with any MCP-compliant client that supports local stdio command execution, including Cursor and Claude Desktop, using standard Node.js runtime commands.
Using the Namecheap API requires an active account with at least 20 domains, a $50 account balance, or $50 spent within the last two years, along with an enabled API key and a whitelisted client IP address.
Yes, the repository is open source and distributed under the MIT license on GitHub.
Yes, you can enable Namecheap's sandbox testing environment by setting the NAMECHEAP_SANDBOX environment variable to true in your server configuration.