MCP Namecheap 服务器 logo

MCP Namecheap 服务器

Community
johnsorrentino

MCP Server for Namecheap

Publisherjohnsorrentino
Repositorymcp-namecheap
LanguageJavaScript
Forks
7
Stars
20
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    MCP Namecheap 服务器 exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    20 stars and 7 forks from the linked repository.

MCP Namecheap Server

A Model Context Protocol (MCP) server that provides integration with the Namecheap API for domain management operations.

Features

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 found here.

  • 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

Prerequisites

Before using this MCP server, you need:

  1. Namecheap Account Requirements:

    • At least 20 domains under your account
    • $50 on your account balance
    • $50 spent within the last 2 years
  2. API Access Setup:

    • Enable API access in your Namecheap dashboard
    • Obtain your API key
    • Whitelist your IP address

Installation

  1. Clone this repository:
bash
git clone <repository-url>
cd mcp-namecheap
  1. Install dependencies:
bash
npm install
  1. Build the project:
bash
npm run build

Configuration

Create a .env file with your Namecheap credentials:

bash
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 the mcp-config.json file which shows all available environment variables.

Tool Configuration

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 to false to disable the corresponding tool.

Sandbox Mode

For testing, you can use Namecheap's sandbox environment:

bash
NAMECHEAP_SANDBOX=true

Usage

Running the Server

bash
npm start

Available Tools

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.

Parameters: None

2. Check Domain Availability (namecheap_check_domain_availability)

Checks the availability of one or more domains for registration.

Parameters:

  • 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.

Parameters:

  • domain (string): The domain name (e.g., "example.com")
  • nameservers (array): Array of nameserver addresses (1-12 nameservers)

MCP Client Configuration

To use this server with an MCP client like Cursor, add the following to your MCP configuration:

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"
      }
    }
  }
}

Development

Scripts

  • npm run build - Build the TypeScript project
  • npm run dev - Run in development mode with tsx
  • npm start - Run the built project

Project Structure

src/
├── index.ts          # Main MCP server implementation
├── namecheap-client.ts # Namecheap API client
└── types.ts          # TypeScript type definitions

API Reference

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 the Namecheap API documentation.

Error Handling

The server includes comprehensive error handling for:

  • Missing or invalid API credentials
  • Network connectivity issues
  • Namecheap API errors
  • Invalid parameters
  • Disabled tools

Security Considerations

  • Store API credentials securely
  • Keep your IP whitelist updated
  • Use environment variables for sensitive configuration
  • Consider using the sandbox environment for testing

License

MIT

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "johnsorrentino-mcp-namecheap": {
      "command": "",
      "args": []
    }
  }
}

Use MCP Namecheap 服务器 MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP Namecheap 服务器 is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP Namecheap 服务器 as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP Namecheap 服务器 MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "johnsorrentino-mcp-namecheap": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-namecheap"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP Namecheap 服务器 MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP Namecheap 服务器 MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP Namecheap 服务器 to help me with this task?
MCP Namecheap 服务器
Sure. I read it.
Here is what I found using MCP Namecheap 服务器.

Frequently asked questions

What is the MCP Namecheap 服务器 MCP server used for?

MCP Namecheap 服务器 is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP Namecheap 服务器 MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP Namecheap 服务器 with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP Namecheap 服务器 MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP Namecheap 服务器 connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP Namecheap 服务器 MCP to TypingMind?

MCP Namecheap 服务器 runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does MCP Namecheap 服务器 MCP provide in TypingMind?

MCP Namecheap 服务器 exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP Namecheap 服务器 MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP Namecheap 服务器 requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇