A Model Context Protocol (MCP) server that provides access to the complete Name.com API for domain management operations. This server automatically generates tools from the Name.com OpenAPI specification, giving AI assistants access to all Name.com API functions including domain registration, DNS management, transfers, email forwarding, URL forwarding, and more.
⚠️ Experimental Tool: This MCP server is currently experimental and defaults to Name.com's test environment (mcp.dev.name.com
) which requires test environment credentials. While you can configure it to use the production environment, we recommend using the test environment for initial experimentation.
This MCP server works with any AI tool that supports the Model Context Protocol (MCP). You can use it for domain management tasks through natural conversation with your preferred AI assistant. The server dynamically creates tools for every available Name.com API endpoint, so you have access to the full range of domain management capabilities.
- 🔄 Complete API Access: Dynamically creates tools for every Name.com API endpoint
- 🛡️ Secure Authentication: Uses Name.com API credentials with proper authentication
- 🔧 Easy Integration: Simple configuration with popular AI tools
- 🧪 Safe Testing: Defaults to test environment for experimentation
- 🤖 AI-First Design: Built specifically for natural language interaction via MCP
- 🆘 Built-in Help: Ask your AI assistant for help, troubleshooting, and documentation links
- Node.js 17+ and npm (download here)
- Name.com Account with API credentials (sign up free | help getting credentials)
- MCP-Compatible AI Tool (Cursor, Claude Desktop, etc.)
Step 1: Install the package
npm install -g namecom-mcp
Step 2: Choose your configuration method
The npm install
command installed the Name.com MCP server on your computer. Now your AI tool needs to know where to find it and how to authenticate with Name.com. Choose one of the following configuration methods:
This approach uses Name.com's test environment by default. To get started, add the configuration below to your AI tool's MCP config file. Instructions for locating the MCP config files for a few common AI tools are provided after the configuration examples.
{
"mcpServers": {
"namecom": {
"command": "namecom-mcp",
"env": {
"NAME_USERNAME": "your-test-username",
"NAME_TOKEN": "your-test-token"
}
}
}
}
For production environment (advanced), add the API URL:
{
"mcpServers": {
"namecom": {
"command": "namecom-mcp",
"env": {
"NAME_USERNAME": "your-prod-username",
"NAME_TOKEN": "your-prod-token",
"NAME_API_URL": "https://mcp.name.com"
}
}
}
}
⚠️ Production Warning: This will affect your real Name.com account and may incur charges. See Environment Details for credential requirements.
Important: Use the right credentials for your environment - test credentials for test environment, production credentials for production.
How to add this configuration to your tool:
Cursor:
- Open Cursor → Press Cmd+Shift+J (Mac) or Ctrl+Shift+J (Windows)
- Go to Tools & Integrations → MCP Tools → Add New
- Add the configuration above → Save and restart Cursor
Claude Desktop:
- Open Claude Desktop Settings → Developer → Edit Config
- Add the configuration above → Save and restart Claude Desktop
Other MCP-Compatible Tools: This server is designed to work with any MCP-compatible tool. Check your tool's documentation for MCP configuration steps, as the exact process varies by tool.
📖 Note: The steps above may change as tools update. Please check the official documentation for Claude Desktop and Cursor if these steps don't match, and report any outdated instructions.
🔄 Important: Restart your AI tool after configuration changes if you experience connection issues.
Use this method if:
- Your tool doesn't support the direct configuration above
- You prefer managing credentials in environment files
- You're developing or testing the server
Create a .env
file in your working directory:
# For test environment (default)
NAME_USERNAME=your-test-username
NAME_TOKEN=your-test-token
# For production environment (advanced)
# NAME_USERNAME=your-prod-username
# NAME_TOKEN=your-prod-token
# NAME_API_URL=https://mcp.name.com
Important: Make sure to use the correct credentials for your chosen environment - test credentials for test environment, production credentials for production environment.
Step 3: You're done! 🎉
Start your AI tool and begin asking domain-related questions. Your AI assistant will automatically use the Name.com tools when needed.
What each setting does:
-
"namecom"
: The name for this MCP server (you can change this) -
"command": "namecom-mcp"
: Tells your AI tool to run the package you installed -
"NAME_USERNAME"
: Your Name.com API username (test credentials recommended) -
"NAME_TOKEN"
: Your Name.com API token (test credentials recommended) -
Optional: Add
"NAME_API_URL": "https://mcp.name.com"
for production environment
Congratulations! Your Name.com MCP server is now configured and ready to use with your AI assistant.
Start your AI tool and ask: "Can you check if example.com is available?"
If your AI assistant responds and searches for domains, you're all set! 🎉
What you can do now:
- Begin asking any domain-related questions in natural language
- Your AI assistant will automatically use the Name.com tools when needed
Now that you're set up, here's what you can do:
Ask your AI assistant:
"Can you search for available domains with 'myawesomeproject' in the name?"
Your AI assistant will:
- Ask permission to use the domain search tool
- Search Name.com's test environment safely
- Show you available options with pricing
- Help you register if you want (in test mode)
Other things to try:
- "List my current domains"
- "Show me DNS records for my domain"
- "Help me register a new domain"
- "Check if example.com is available"
Understanding the different Name.com environments and their credentials:
-
URL:
https://mcp.dev.name.com
(default) - Credentials: Use your test username and token from Name.com
- Safety: Operations won't affect real domains or billing
- Purpose: Safe experimentation and testing
-
URL:
https://mcp.name.com
(setNAME_API_URL=https://mcp.name.com
) - Credentials: Use your production username and token from Name.com
- **
⚠️ DANGER: All operations affect your real Name.com account and domains - Billing: Domain registrations and services will incur real charges
- Purpose: Live domain management
Critical: Make sure your credentials match your environment:
- Test environment (
mcp.dev.name.com
) → Test credentials - Production environment (
mcp.name.com
) → Production credentials
Using wrong credentials will result in authentication errors.
If you need to generate new API credentials or want to understand the different environments:
IMPORTANT: Name.com provides different credentials for test vs production environments. Make sure you're using the correct credentials for your chosen environment.
- Log in to your Name.com account
- Go to Account Settings > API Tokens
- Generate an API token
-
Note: When you generate a token, Name.com provides:
-
Test credentials (username/token) for
mcp.dev.name.com
-
Production credentials (username/token) for
mcp.name.com
-
Test credentials (username/token) for
- Copy the correct username and token for the environment you plan to use
The following section is for testing and troubleshooting your setup. If everything is working with your AI assistant, you can skip this section.
Start your AI tool and try these questions:
- "Can you list my domains?"
- "Search for available domains with the name 'example'"
- "Show me the DNS records for my domain"
- "Help me register a new domain"
Your AI tool will request permission to use Name.com tools, and the conversation should flow naturally.
The MCP Inspector is excellent for testing and troubleshooting your MCP server setup if you're experiencing issues.
-
Install the MCP Inspector (if not already installed):
npm install -g @modelcontextprotocol/inspector
-
Run the Inspector with your credentials:
NAME_USERNAME=your-test-username NAME_TOKEN=your-test-token npx @modelcontextprotocol/inspector namecom-mcp
For production environment (advanced):
NAME_USERNAME=your-prod-username NAME_TOKEN=your-prod-token NAME_API_URL=https://mcp.name.com npx @modelcontextprotocol/inspector namecom-mcp
-
Open the Inspector:
- The command will output a local URL with an auth token (e.g.,
http://localhost:6274/?MCP_PROXY_AUTH_TOKEN=...
) - Open this URL in your browser
- The command will output a local URL with an auth token (e.g.,
-
Test the Connection:
- Click "Connect" in the left sidebar
- Once connected, click "List Tools" in the center to see all available Name.com API tools
- Select any tool to test that the endpoints are working through the MCP server
- If you dont see any errors, but only a couple tools show up, there may have been an issue parsing the OpenAPI spec on startup. Please report this issue.
- API Token Security: Treat your Name.com API token like a password
- Safe Testing: Default test environment provides safe experimentation
- Least Privilege: The server only accesses Name.com APIs with the permissions of your API token
- Input Validation: All inputs are validated using Zod schemas
- Error Handling: Errors are handled gracefully without exposing sensitive information
- API Rate Limits: Respects Name.com's standard rate limits
- Fast Startup: Tool generation takes ~2-3 seconds on first startup
-
Authentication Errors:
- Verify your
NAME_USERNAME
andNAME_TOKEN
are correct - Most Common: Make sure you're using the correct credentials for your environment (see Environment Details)
- Need new credentials? Get them here
- Verify your
-
API URL Issues: The tool defaults to test environment (
mcp.dev.name.com
) -
Tool Generation Fails: The server will fall back to basic tools if OpenAPI spec loading fails
-
Package Not Found:
- Make sure you've installed the package:
npm install -g namecom-mcp
- Try reinstalling if you encounter issues:
npm uninstall -g namecom-mcp && npm install -g namecom-mcp
- Make sure you've installed the package:
-
MCP Configuration Issues:
- Check your MCP config file path and JSON syntax (see Configuration section for file locations)
- Restart your AI tool (like Claude Desktop) after configuration changes
- Verify the command is
namecom-mcp
(no npx needed)
-
MCP Inspector Connection Issues:
- Make sure to include your credentials:
NAME_USERNAME=your-username NAME_TOKEN=your-token npx @modelcontextprotocol/inspector namecom-mcp
- Check that your credentials are correct and match your configured environment (test vs production)
- Make sure to include your credentials:
For npm installation or permission issues, see the official documentation:
- npm global package installation
- Node Version Manager (nvm) - recommended for avoiding permission issues
If you run into issues:
- Check the troubleshooting section above
- Test with the MCP Inspector first to isolate configuration issues
- Verify your credentials work with Name.com's API directly
- Check GitHub Issues for known issues
- Report bugs or request features on GitHub Issues
For Name.com account or API issues:
- Name.com Support - Account and billing support
- Name.com API Documentation - API reference and guides
Q: What AI tools work with this? A: Any tool that supports MCP - Claude Desktop, Cursor, Continue, and many others.
Q: Is it safe to test? A: Yes! The default test environment won't affect real domains or billing.
Q: Can I use this with production domains?
A: Yes, set NAME_API_URL=https://mcp.name.com
and use production credentials.
Q: Why am I getting authentication errors? A: Usually mismatched credentials - test credentials work with test environment, production credentials with production environment. See Environment Details for credential requirements.
Q: How much does it cost? A: The MCP server is free. You only pay for actual Name.com services you use.
Q: Does it work offline? A: No, it needs internet access to communicate with Name.com's API.
This server is part of the growing Model Context Protocol ecosystem. The MCP is rapidly gaining adoption across AI tools, and this Name.com server works with any MCP-compatible tool, giving you flexibility in choosing your preferred AI assistant for domain management tasks.
Related MCP Resources:
- MCP Inspector: Debug and test MCP servers
- MCP SDK: Build your own MCP servers
- MCP Protocol: Learn more about the Model Context Protocol
MIT License - see LICENSE file for details.
- Issues: Report bugs and feature requests on GitHub Issues
- Documentation: See the Name.com API Documentation for API details
- MCP Protocol: Learn more about Model Context Protocol
See the GitHub Releases page for version history and updates.