8
n8n 中文网amn8n.com

批量WHOIS API MCP服务器

中级

这是一个Market Research, AI RAG领域的自动化工作流,包含 14 个节点。主要使用 HttpRequestTool, McpTrigger 等节点。 为AI代理创建具有8个域名管理操作的WHOIS API接口

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "v6LyGtVBk8ZTj5mE",
  "meta": null,
  "name": "批量 WHOIS API MCP 服务器",
  "tags": [],
  "nodes": [
    {
      "id": "d3e2b6b0-742b-44b3-9ff8-667e26fa627e",
      "name": "设置说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1060,
        "content": "### ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "80a3eaa0-37c0-4a45-a19a-68c82882e7ff",
      "name": "工作流概览",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "width": 420,
        "height": 920,
        "content": "## 🛠️ 批量 WHOIS MCP 服务器 ✅ 8 个操作"
      },
      "typeVersion": 1
    },
    {
      "id": "66672868-c8c2-446d-b5b7-d1f1010434af",
      "name": "批量 WHOIS MCP 服务器",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -620,
        -240
      ],
      "webhookId": "6cf0cc14-5751-41c2-bd05-75266866dbdf",
      "parameters": {
        "path": "bulk-whois-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "62dad9c1-27cf-4255-877c-6856da294361",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 900,
        "height": 200,
        "content": "## 批量"
      },
      "typeVersion": 1
    },
    {
      "id": "2d3a9d10-c3ba-47ca-b0ea-da80f560e6d6",
      "name": "获取您的批次",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        -60
      ],
      "parameters": {
        "url": "=http://localhost:5000/batch",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Get your batches"
      },
      "typeVersion": 4.2
    },
    {
      "id": "6d6dc999-b615-40a9-81c0-b176d239c6be",
      "name": "创建批次。然后批次将被处理直到",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        -60
      ],
      "parameters": {
        "url": "=http://localhost:5000/batch",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "domains",
              "value": "={{ $fromAI('domains', 'Domains', 'json') }}"
            },
            {
              "name": "operation",
              "value": "={{ $fromAI('operation', 'Operation', 'string') }}"
            },
            {
              "name": "options",
              "value": "={{ $fromAI('options', 'Options', 'json') }}"
            }
          ]
        },
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Create batch. Batch is then being processed until all provided items have been completed. At any time it can be `get` to provide current status with results optionally.\n\nParameters:\n- Body parameters:\n  • domains (required)\n  • operation (required)\n  • options (optional)"
      },
      "typeVersion": 4.2
    },
    {
      "id": "db526626-0203-4a70-b062-b3b9a0e0f0c4",
      "name": "删除批次",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        -60
      ],
      "parameters": {
        "url": "=http://localhost:5000/batch/{{ $fromAI('id', 'Batch ID', 'string') }}",
        "method": "DELETE",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Delete batch\n\nParameters:\n- Path parameters:\n  • id (required) - Batch ID"
      },
      "typeVersion": 4.2
    },
    {
      "id": "4eeffbc9-5219-4b43-b9fe-cd0eab602869",
      "name": "获取批次",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        80,
        -60
      ],
      "parameters": {
        "url": "=http://localhost:5000/batch/{{ $fromAI('id', 'Batch ID', 'string') }}",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Get batch\n\nParameters:\n- Path parameters:\n  • id (required) - Batch ID"
      },
      "typeVersion": 4.2
    },
    {
      "id": "5001852e-6d17-41de-8458-9a6c2fb27850",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        140
      ],
      "parameters": {
        "color": 3,
        "width": 300,
        "height": 200,
        "content": "## 数据库"
      },
      "typeVersion": 1
    },
    {
      "id": "2cccd1ae-d209-466e-8cc4-77e62ab07b4e",
      "name": "查询域名数据库",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        180
      ],
      "parameters": {
        "url": "=http://localhost:5000/db",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "query",
              "value": "={{ $fromAI('query', 'Query (contact name, dns, domain etc)', 'string') }}"
            }
          ]
        },
        "toolDescription": "Query domain database\n\nParameters:\n- Query parameters:\n  • query (required) - Query (contact name, dns, domain etc)"
      },
      "typeVersion": 4.2
    },
    {
      "id": "039644d1-96a9-4bf1-aa18-860277ff5f41",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        380
      ],
      "parameters": {
        "color": 4,
        "width": 700,
        "height": 200,
        "content": "## 域名"
      },
      "typeVersion": 1
    },
    {
      "id": "e36bba72-454f-4c5a-a6e6-d61123a92f83",
      "name": "检查域名可用性",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        420
      ],
      "parameters": {
        "url": "=http://localhost:5000/domains/{{ $fromAI('domain', 'Domain', 'string') }}/check",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Check domain availability\n\nParameters:\n- Path parameters:\n  • domain (required) - Domain"
      },
      "typeVersion": 4.2
    },
    {
      "id": "06de063c-7901-4b1b-908a-11ddc136f789",
      "name": "检查域名排名(权威性)。",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        420
      ],
      "parameters": {
        "url": "=http://localhost:5000/domains/{{ $fromAI('domain', 'Domain', 'string') }}/rank",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Check domain rank (authority).\n\nParameters:\n- Path parameters:\n  • domain (required) - Domain"
      },
      "typeVersion": 4.2
    },
    {
      "id": "07ed3bd8-ce49-4d70-9e5f-14bf2b92cd5e",
      "name": "域名的 WHOIS 查询",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -120,
        420
      ],
      "parameters": {
        "url": "=http://localhost:5000/domains/{{ $fromAI('domain', 'Domain', 'string') }}/whois",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "format",
              "value": "={{ $fromAI('format', 'Format', 'string') }}"
            }
          ]
        },
        "toolDescription": "WHOIS query for a domain\n\nParameters:\n- Path parameters:\n  • domain (required) - Domain\n- Query parameters:\n  • format (optional)"
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "shared": [
    {
      "role": "workflow:owner",
      "project": {
        "id": "G5fce9xGuBAsWBXe",
        "icon": null,
        "name": "David Ashby <david.ashby.lds@gmail.com>",
        "type": "personal",
        "createdAt": "2025-06-04T02:55:02.013Z",
        "updatedAt": "2025-06-04T02:56:01.361Z",
        "projectRelations": [
          {
            "role": "project:personalOwner",
            "user": {
              "id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
              "role": "global:owner",
              "email": "david.ashby.lds@gmail.com",
              "disabled": false,
              "lastName": "Ashby",
              "settings": {
                "npsSurvey": {
                  "responded": true,
                  "lastShownAt": 1749357655581
                },
                "userActivated": true,
                "userActivatedAt": 1749075994495,
                "easyAIWorkflowOnboarded": true,
                "firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
              },
              "createdAt": "2025-06-04T02:55:01.745Z",
              "firstName": "David",
              "isPending": false,
              "updatedAt": "2025-06-08T04:40:58.399Z",
              "mfaEnabled": false,
              "personalizationAnswers": {
                "version": "v4",
                "personalization_survey_n8n_version": "1.95.3",
                "personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
              }
            },
            "userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
            "createdAt": "2025-06-04T02:55:02.013Z",
            "projectId": "G5fce9xGuBAsWBXe",
            "updatedAt": "2025-06-04T02:55:02.013Z"
          }
        ]
      },
      "createdAt": "2025-07-01T19:18:52.023Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-01T19:18:52.023Z",
      "workflowId": "v6LyGtVBk8ZTj5mE"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-01T19:18:52.018Z",
  "updatedAt": "2025-07-01T19:19:16.000Z",
  "versionId": "f98af83c-edde-4c13-be69-a4652f93f4a5",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "Get batch": {
      "ai_tool": [
        [
          {
            "node": "Bulk WHOIS MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete batch": {
      "ai_tool": [
        [
          {
            "node": "Bulk WHOIS MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get your batches": {
      "ai_tool": [
        [
          {
            "node": "Bulk WHOIS MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Query domain database": {
      "ai_tool": [
        [
          {
            "node": "Bulk WHOIS MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "WHOIS query for a domain": {
      "ai_tool": [
        [
          {
            "node": "Bulk WHOIS MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Check domain availability": {
      "ai_tool": [
        [
          {
            "node": "Bulk WHOIS MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Check domain rank (authority).": {
      "ai_tool": [
        [
          {
            "node": "Bulk WHOIS MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create batch. Batch is then being processed until ": {
      "ai_tool": [
        [
          {
            "node": "Bulk WHOIS MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 市场调研, AI RAG 检索增强

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量14
分类2
节点类型3
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
David Ashby

David Ashby

@cfomodz

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord

外部链接
在 n8n.io 查看

分享此工作流