Skip to main content
Glama
tashfeenahmed

AgentDomains MCP server

AgentDomains MCP 服务器

AgentDomains 的 MCP 服务器 —— 为 AI 智能体构建的网站和 API 提供免费域名。它能为任何支持 MCP 的智能体提供一个真实的主机名,位于 makes.fyiagentdomains.co 之下,并提供 DNS 记录、HTTPS、URL 转发和反向代理功能。

有两种运行方式:本地通过 npx 以 stdio 方式运行,或在 https://mcp.agentdomains.co 连接托管的远程端点。

安装(stdio)

无需安装步骤 —— npx 会按需拉取:

AGENTDOMAINS_API_KEY=adom_… npx -y @agentdomains/mcp

Claude Code

claude mcp add agentdomains --env AGENTDOMAINS_API_KEY=adom_… -- npx -y @agentdomains/mcp

Claude Desktop 及其它配置文件型客户端

添加到 claude_desktop_config.json(或你的客户端对应的等效配置文件)中:

{
  "mcpServers": {
    "agentdomains": {
      "command": "npx",
      "args": ["-y", "@agentdomains/mcp"],
      "env": { "AGENTDOMAINS_API_KEY": "adom_…" }
    }
  }
}

Related MCP server: domain-suite-mcp

远程端点

https://mcp.agentdomains.co

通过 Streamable HTTP 传输;使用 POST 发送 JSON-RPC,并在 Authorization 请求头中携带你的密钥:

curl -s https://mcp.agentdomains.co \
  -H 'Authorization: Bearer adom_…' \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

在 Claude Code 中:claude mcp add --transport http agentdomains https://mcp.agentdomains.co --header "Authorization: Bearer adom_…"

配置

变量

用途

AGENTDOMAINS_API_KEY

你的 API 密钥(adom_…)。未设置时回退到 ~/.agentdomains/config.json 中的 api_key

AGENTDOMAINS_API_URL

覆盖 API 的基础 URL。默认为 https://api.agentdomains.co

如果你已经在使用 Go CLI,其 ~/.agentdomains/config.json 会被自动读取,无需设置环境变量。

还没有密钥?调用 signup 工具 —— 它不需要任何凭据,即可生成一个密钥。该密钥只会显示一次,之后永远无法找回,因此请立即保存。账户是临时性的:使用 attach_email 绑定一个邮箱,并在 30 天内确认,否则账户及其域名会被删除。

API 密钥绝不会被记录、打印,也不会出现在任何工具输出中。

工具

工具

端点

说明

check_availability

GET /v1/available

某个标签是否可用?无需密钥。

signup

POST /v1/signup

创建账户,获取 API 密钥(仅显示一次)。无需密钥。

whoami

GET /v1/whoami

账户状态、邮箱、配额、用量。

attach_email

POST /v1/account/email

绑定邮箱并发送验证链接。

claim_domain

POST /v1/subdomains

注册 label.domain,可附带一条初始记录。

list_domains

GET /v1/subdomains

列出账户上的所有名称。

get_domain

GET /v1/subdomains/{label}

某个名称及其记录、转发/代理状态。

delete_domain

DELETE /v1/subdomains/{label}

破坏性操作 —— 永久删除名称及其记录。

add_dns_record

POST /v1/subdomains/{label}/records

添加 A、AAAA、CNAME 或 TXT 记录。

add_acme_challenge

POST /v1/subdomains/{label}/records

_acme-challenge 处设置 TXT,用于 Let's Encrypt DNS-01。

set_forward

PUT /v1/subdomains/{label}/forward

将名称重定向到一个 URL。

remove_forward

DELETE /v1/subdomains/{label}/forward

停止转发。

set_proxy

PUT /v1/subdomains/{label}/proxy

通过边缘提供服务后端,并为你终结 TLS。

remove_proxy

DELETE /v1/subdomains/{label}/proxy

停止代理。

delegate_nameservers

PUT /v1/subdomains/{label}/ns

将名称委派到你自己的名称服务器。

每个以标签为作用域的工具都接受一个可选的 domain 参数(默认是 makes.fyiagentdomains.co)。目前没有用于删除单条 DNS 记录的端点。

关于 HTTPS

“帮我搞个 SSL”在这里不是一次单一操作。有两条务实的路径:

  • set_proxy —— 边缘使用自己的证书终结 TLS,并将请求代理到你的后端。源站无需安装任何东西。

  • add_acme_challenge —— 发布 DNS-01 TXT 记录,以便你自己的 ACME 客户端签发 Let's Encrypt 证书(需要通配符或没有公网 80 端口的主机时可使用)。普通公网 Web 服务器只需使用 HTTP-01,完全不需要任何 DNS 记录。

兼容性

任何 MCP 客户端都可以使用。以下是常见客户端的已验证配置方法:

  • Claude Code —— claude mcp add(stdio 或 --transport http),如上所示。

  • Claude Desktop —— 在 claude_desktop_config.json 中配置 mcpServers 块。

  • OpenAI Agents SDK —— 使用 MCPServerStdio(params={"command": "npx", "args": ["-y", "@agentdomains/mcp"]}),或使用 MCPServerStreamableHttp 连接到远程 URL。

  • LangChain / LangGraph —— 使用 langchain-mcp-adaptersMultiServerMCPClient({"agentdomains": {"command": "npx", "args": ["-y", "@agentdomains/mcp"], "transport": "stdio"}})

  • CrewAI —— 使用 MCPServerAdapter,配置参数与上面相同的 stdio 参数。

  • 其他客户端 —— 将客户端指向基于 stdio 的 npx -y @agentdomains/mcp,或指向基于 Streamable HTTP 的 https://mcp.agentdomains.co

开发

npm install
npm run build     # tsc -> dist/
npm run smoke     # boots dist/index.js, runs initialize + tools/list over stdio

需要 Node 18+。唯一的运行时依赖是 @modelcontextprotocol/sdk

相关

License

FSL-1.1-Apache-2.0 —— 参见 LICENSE。与 CLI 的条款相同。

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to check domain availability, purchase domains via Stripe, and perform full DNS and nameserver management. It facilitates automated domain lifecycle tasks like record updates and transfer locks without requiring CAPTCHAs.
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    domain-suite-mcp is an MCP server that gives AI agents full autonomous control over the domain lifecycle. From checking availability and registering domains to managing DNS records, SSL certificates, and email authentication across Porkbun, Namecheap, GoDaddy, and Cloudflare through a unified set of 21 tools.
    21
    25
    17
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    AgentDomain MCP allows AI agents to register, buy, and manage internet domains via the Model Context Protocol. Features include domain search, availability check, purchase, DNS record management, and wallet operations.
    13
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • Agent-first web hosting: deploy sites, apps, databases and domains over MCP.

  • Agent-native web hosting — deploy sites, manage DNS, register domains, scale infrastructure

  • Hosted AgentLux MCP server for marketplace, identity, creator, services, and social flows.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tashfeenahmed/AgentDomains-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server