BF

bingal/fastdomaincheck-mcp-server-python

Productivity workflow

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

21 stars 4 forks 品質 53 トレンド 0MIT

MCPの特長 WHOISとDNSを使用してドメインネームの可用性をstdioで確認するためのサーバー.

概要

これは、Pythonとモデルコンテキストプロトコル(MCP)を使用して実装されたドメインの可用性チェックサーバーです。 単一または複数のドメイン名が既に登録されているかどうかを確認する MCP ツールを提供します。 - バルクドメイン登録状況チェック - WHOISとDNSを使用したデュアル検証 - IDN(国際ドメインネーム)のサポート - 簡潔な出力フォーマット - 内蔵入力検証とエラー処理 複数のドメイン名の登録状況を確認してください。 パラメーター: - ドメイン: ドメイン名を含む文字列の配列をチェックする - ドメインごとの255文字の最大長 - リクエストごとに最大50ドメイン - 空のドメイン名が許可されていません 応答フィールド: - 結果: キーとしてドメイン名を持つオブジェクトと値として結果をチェック - 登録された: Boolean - true: ドメインが登録 - false: ドメインが利用可能 ツールは、次の場合にエラーを返します: 1. 空のドメインリスト2. 要求3の50以上のドメイン 空のドメイン名 4. ドメイン名が255文字を超える 5.

概要(AI 翻訳)

これは、Pythonとモデルコンテキストプロトコル(MCP)を使用して実装されたドメインの可用性チェックサーバーです。 単一または複数のドメイン名が既に登録されているかどうかを確認する MCP ツールを提供します。

##特徴

  • バルクドメイン登録状況の確認
  • WHOISとDNSを使用したデュアル検証
  • IDN(国際化ドメイン名)のサポート
  • 出力フォーマットの簡潔化
  • 組み込み入力検証とエラー処理

ツールドキュメント

チェック ドメイン

複数のドメイン名の登録状況を確認してください。

入力形式

パラメーター:

  • ドメインごとの255文字の最大長
  • リクエストごとの最大50ドメイン
  • 許可されていないドメイン名

出力形式

応答分野:

  • [registered: ボオラン

エラー処理

ツールは、次の場合にエラーを返します。

  1. 空のドメインリスト
  2. 50以上のドメイン要求
  3. ドメイン名を空にする
  4. ドメイン名が255文字を超える
  5. 結果のシリアライズ失敗

エラー応答形式:

使用例

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

README

FastDomainCheck MCP Server (Python)

This is a domain availability check server implemented using Python and the Model Context Protocol (MCP). It provides MCP Tools to check if single or multiple domain names are already registered.

Features

  • Bulk domain registration status checking
  • Dual verification using WHOIS and DNS
  • Support for IDN (Internationalized Domain Names)
  • Concise output format
  • Built-in input validation and error handling

Tool Documentation

check_domains

Check registration status for multiple domain names.

Input Format

{
  "domains": ["example.com", "test.com"]
}

Parameters:

  • domains: Array of strings containing domain names to check
    • Maximum length of 255 characters per domain
    • Maximum 50 domains per request
    • No empty domain names allowed

Output Format

{
  "results": {
    "example.com": {
      "registered": true
    },
    "test.com": {
      "registered": false
    }
  }
}

Response Fields:

  • results: Object with domain names as keys and check results as values
    • registered: Boolean
      • true: Domain is registered
      • false: Domain is available

Error Handling

The tool will return an error in the following cases:

  1. Empty domains list
  2. More than 50 domains in request
  3. Empty domain name
  4. Domain name exceeding 255 characters
  5. Result serialization failure

Error Response Format:

{
  "error": "Error: domains list cannot be empty"
}

Usage Examples

Check multiple domains:

Request

{
  "domains": ["example.com", "test123456.com"]
}

Response

{
  "results": {
    "example.com": {
      "registered": true
    },
    "test123456.com": {
      "registered": false
    }
  }
}

MCP Server Settings

Configuring FastDomainCheck MCP in Claude Deskto

Modify your claude-desktop-config.json file as shown below

{
  "mcpServers": {
    "fastdomaincheck": {
      "command": "uvx",
      "args": [
        "fastdomaincheck-mcp-server"
      ]
    }
  }
}

Go Version Reference

go version

Contributing

Feel free to open issues or submit pull requests.

License

MIT License (You should add a LICENSE file, typically containing the MIT license text)

GitHub で README 全文を見る

インストール

uvx fastdomaincheck-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "fastdomaincheck": { "command": "uvx", "args": [ "fastdomaincheck-mcp-server" ] } } }