JM

johnsorrentino/mcp-namecheap

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

20 stars 7 forks 品質 55 トレンド 0

NamecheapのMCPサーバー

概要

ドメイン管理操作用のNamecheap APIと統合するモデルコンテキストプロトコル(MCP)サーバー。 私は使用している機能だけを追加し、エージェントがドメインを登録できるようにするのは良い考えではないと思います。 Namecheap API メソッドの完全なセットがここにあります。 - : Namecheapアカウントのすべてのドメインを取得する - : ドメインが登録可能かどうかチェック - : ドメインのカスタムネームサーバーの設定 - : Cursorで利用可能なものを制御するための有効/無効な特定のツール 1. : - 少なくとも 20 あなたのアカウントのドメイン - $ 50 あなたのアカウント残高に - $ 50 最後の2年以内に過ごしました 2. : - NamecheapダッシュボードでAPIアクセスを有効にする - APIキーの取得 - IPアドレスのホワイトリスト Namecheap 資格情報で .env ファイルを作成します。 または利用可能なすべての環境変数を示す mcp-config.json ファイルを参照します。 これらの環境変数を設定することで、特定のツールを有効に/無効にすることができます

概要(AI 翻訳)

ドメイン管理操作用のNamecheap APIと統合するモデルコンテキストプロトコル(MCP)サーバー。

##特徴

私は使用している機能だけを追加し、エージェントがドメインを登録できるようにするのは良い考えではないと思います。 Namecheap API メソッドの完全なセットがここにあります。

  • ドメインリストを入手: Namecheapアカウントのすべてのドメインを取得する -ドメインの空き状況をチェック:ドメインが登録可能かどうかをチェック
  • カスタムDNSを設定: ドメインのカスタムネームサーバーの設定
  • 構成可能な用具: Cursorで利用可能なものを制御するための特定のツールを有効に/無効化

前提条件

このMCPサーバーを使用する前に、次の操作が必要です。

1。 Namecheapアカウントの要件:

  • 少なくとも 20 あなたのアカウントのドメイン
  • あなたのアカウント残高の$ 50
  • 最後の2年以内に過ごした$ 50

2.APIアクセス設定:

  • NamecheapダッシュボードでAPIアクセスを有効にする
  • APIキーの取得
  • IPアドレスのホワイトリスト

インストール

  1. このリポジトリをクローンする:

  2. 依存関係を取付けて下さい:

  3. プロジェクトのビルド:

設定

Namecheap 認証情報で [.env] ファイルを生成します。

もしくは `mcp-config. を参照するか.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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:
git clone 
cd mcp-namecheap
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Configuration

Create a .env file 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 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:

NAMECHEAP_SANDBOX=true

Usage

Running the Server

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:

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)
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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