Namecheap
About
Manage domains using the Namecheap API.
Details
- Author
- johnsorrentino
- Categories
- Cloud Service, Infrastructure, API
Jump to
Setup
Install Namecheap in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/johnsorrentino/mcp-namecheap
Follow the installation instructions in the repository README, then restart your MCP client.
I only added the functionality I use and I don't think it's a good idea to allow an agent to register domains. The complete set of Namecheap API methods can be foundhere.
- Get Domain List: Retrieve all domains in your Namecheap account
- Check Domain Availability: Check if domains are available for registration
- Set Custom DNS: Configure custom nameservers for your domains
- Configurable Tools: Enable/disable specific tools to control what's available in Cursor
- At least 20 domains under your account
- $50 on your account balance
- $50 spent within the last 2 years
- Enable API access in your Namecheap dashboard
- Obtain your API key
- Whitelist your IP address
git clone <repository-url> cd mcp-namecheap
Create a.envfile with your Namecheap credentials:
NAMECHEAP_API_USER=your_api_username NAMECHEAP_API_KEY=your_api_key NAMECHEAP_USERNAME=your_namecheap_username NAMECHEAP_CLIENT_IP=your_whitelisted_ip_address
Or reference themcp-config.jsonfile which shows all available environment variables.
You can enable/disable specific tools by setting these environment variables:
- NAMECHEAP_ENABLE_GETLIST- Enable domain list retrieval (default: true)
- NAMECHEAP_ENABLE_CHECK- Enable domain availability checking (default: true)
- NAMECHEAP_ENABLE_SETCUSTOM- Enable custom DNS configuration (default: true)
Set any of these tofalseto disable the corresponding tool.
For testing, you can use Namecheap's sandbox environment:
1. Get Domain List (namecheap_get_domain_list)
Returns a list of all domains in your Namecheap account with details including expiration dates, auto-renewal status, and DNS configuration.
2. Check Domain Availability (namecheap_check_domain_availability)
Checks the availability of one or more domains for registration.
- domains(array): Array of domain names to check (e.g., ["example.com", "test.org"])
3. Set Custom DNS (namecheap_set_custom_dns)
Sets custom nameservers for a domain. Note that services like URL forwarding, email forwarding, and dynamic DNS will not work with custom nameservers.
- domain(string): The domain name (e.g., "example.com")
- nameservers(array): Array of nameserver addresses (1-12 nameservers)
To use this server with an MCP client like Cursor, add the following to your MCP configuration:
{ "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" } } } }
- npm run build- Build the TypeScript project
- npm run dev- Run in development mode with tsx
- npm start- Run the built project
src/ ├── index.ts # Main MCP server implementation ├── namecheap-client.ts # Namecheap API client └── types.ts # TypeScript type definitions
This server uses the following Namecheap API endpoints:
- namecheap.domains.getList- Retrieve domain list
- namecheap.domains.check- Check domain availability
- namecheap.domains.dns.setCustom- Set custom nameservers
For more information, see theNamecheap API documentation.
The server includes comprehensive error handling for:
- Missing or invalid API credentials
- Network connectivity issues
- Namecheap API errors
- Invalid parameters
- Disabled tools
- Store API credentials securely
- Keep your IP whitelist updated
- Use environment variables for sensitive configuration
- Consider using the sandbox environment for testing
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Manage Aiven cloud services like Kafka, PostgreSQL, and Redis via its API.
Automate Akamai resource actions using a conversational AI client. Requires Akamai API credentials.
Exposes API-Market's endpoints as MCP resources, requiring an API key for access.
Interact with the Appwrite API to manage databases, users, storage, and more. Requires configuration via environment variables.
Interact with the Appwrite API to manage your backend services.
A Node.js server for the Model Context Protocol that provides access to the Autodesk Platform Services (APS) API with fine-grained access control.
Expose the entire ArgoCD API to LLMs via MCP using just 2 auto-generated tools powered by the OpenAPI spec.
An experimental MCP server providing access to the Autodesk Platform Services (APS) API.
Query Azure retail pricing information using the Azure Retail Prices API.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.

