Skip to main content
Glama
AgentDomains MCP server

AgentDomains MCP server

AgentDomains MCP サーバー

AgentDomains 向けの MCP サーバー — AI エージェントが構築するウェブサイトや API のための無料ドメインです。makes.fyi または agentdomains.co の下に実在するホスト名を、DNS レコード、HTTPS、URL フォワード、リバースプロキシ付きで、MCP 対応の任意のエージェントに提供します。

実行方法は2つ: 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: AgentDomain

リモートエンドポイント

https://mcp.agentdomains.co

Streamable HTTP; Authorization ヘッダーにキーを指定して POST で JSON-RPC を送信します:

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}

1 つの名前、その他、転送/プロキシ状態。

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

Let's Encrypt DNS-01 用に _acme-challenge に TXT レコードを追加します。

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.fyi がデフォルト、または agentdomains.co)を受け取ります。個別の DNS レコードを削除するエンドポイントはありません。

HTTPS について

"SSL を取得する"という操作はここには1つではありません。正直な経路が 2つあります:

  • set_proxy — サーバーが独自の証明書で TLS を終端し、バックエンドへプロキシします。オリジン側でインストールするものはありません。

  • add_acme_challenge — DNS-01 TXT レコードを公開し、自分の ACME クライアントが Let's Encrypt 証明書を発行できるようにします(ワイルドカードや、公開ポート 80 を持たないホストに必要です)。通常の公開ウェブサーバーは 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"]})、またはリモート URL に対する MCPServerStreamableHttp。

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

  • CrewAI — 同じ stdio パラメータを持つ MCPServerAdapter。

  • その他 — クライアントを stdio 上の npx -y @agentdomains/mcp に向けるか、https://mcp.agentdomains.co を Streamable HTTP で指定します。

開発

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

Node.js 18+ が必要です。唯一の実行時依存は @modelcontextprotocol/sdk です。

関連項目

ライセンス

FSL-1.1-Apache-2.0 — LICENSE を参照。CLI と同じ条件です。

Available Tools

15 tools
add_acme_challengeAInspect

Publish a Let's Encrypt DNS-01 challenge: creates a TXT record at _acme-challenge.. with the token your ACME client printed. Use this to get a certificate without exposing port 80 (for example for a wildcard cert, or a host behind NAT). DNS propagates within seconds, then tell your ACME client to continue. For a normal public web server, HTTP-01 validation needs no DNS record at all.

Inputs: label (required), value (required), domain.

add_dns_recordAInspect

Add a DNS record to a subdomain you already own. Use type A or AAAA to point at an IP address, CNAME to point at another hostname, or TXT for verification strings. Adding a record does not replace existing ones. Note: there is no API for deleting an individual record — delete_domain removes them all.

Inputs: type (required), label (required), content (required), host, +1 more.

attach_emailAInspect

Attach an email address to the account and send it a verification link. A human must click that link within 30 days or the provisional account and its domains are deleted. Use this right after signup.

Inputs: email (required).

check_availabilityAInspect

Check whether a subdomain label is free before claiming it. Requires no API key. Returns { label, domain, fqdn, available, reason } where reason is 'available', 'taken', or 'invalid' (with a 'detail' explaining why the label is not usable).

Inputs: label (required), domain.

claim_domainAInspect

Register a subdomain (label.makes.fyi or label.agentdomains.co) on this account, optionally creating its first DNS record in the same call. An email is required the first time an account registers a name — pass 'email' here or call attach_email first; the name is reaped if that email is not confirmed within 30 days. Returns the fqdn and, when a record was requested, the created record.

Inputs: label (required), host, type, email, +2 more.

delegate_nameserversAInspect

Delegate the subdomain to your own nameservers, handing you full control of it and everything beneath it (your own records, MX, deeper sub-domains). AgentDomains stops answering for the name, so its existing records, forwards, and proxies no longer apply. Supply at least two nameservers.

Inputs: label (required), nameservers (required), domain.

delete_domainAInspect

DESTRUCTIVE AND IRREVERSIBLE: permanently delete a subdomain and every DNS record, forward, and proxy attached to it. The hostname stops resolving immediately and the label is released for anyone else to claim. There is no undo and no recovery. Only call this when the user has explicitly asked for this specific name to be deleted.

Inputs: label (required), domain.

get_domainAInspect

Show one subdomain in full: its fqdn, DNS records, forward or proxy configuration, and delegation state.

Inputs: label (required), domain.

list_domainsAInspect

List every subdomain on this account, with each one's DNS records and whether it is forwarding, proxying, or delegated to external nameservers.

Inputs: no named parameters.

remove_forwardAInspect

Stop forwarding a subdomain. The name itself stays registered on the account; only the redirect is removed.

Inputs: label (required), domain.

remove_proxyAInspect

Stop reverse-proxying a subdomain, so the edge no longer serves the backend or terminates TLS for it. The name stays registered on the account.

Inputs: label (required), domain.

set_forwardAInspect

Forward (HTTP-redirect) a subdomain to another URL. Claims the label first if you do not own it yet, in which case an email may be required exactly as for claim_domain. Defaults to a 302 temporary redirect that preserves the request path and query. HTTPS at the edge is handled for you.

Inputs: label (required), target (required), cloak, email, +3 more.

set_proxyAInspect

Serve a backend at this subdomain through the AgentDomains edge, which terminates TLS with its own certificate — this is how you get working HTTPS on an origin that has no certificate of its own (a bare IP-less PaaS host, a tunnel, an internal box). Unlike a forward, the URL stays on your domain and the response is proxied, not redirected. Claims the label first if needed. Caveat: apps that hardcode their own hostname (OAuth callbacks especially) may need your new hostname registered on their side.

Inputs: label (required), origin (required), email, domain.

signupAInspect

Create a new AgentDomains account and get an API key. Requires no existing key. IMPORTANT: the returned api_key is shown ONCE and is never retrievable again — you must store it immediately (save it to ~/.agentdomains/config.json or set AGENTDOMAINS_API_KEY) or the account is lost. The account is provisional: attach and confirm an email within 30 days (see the attach_email tool) or it is deleted along with its domains. This endpoint is rate-limited per IP address.

Inputs: no named parameters.

whoamiAInspect

Show the current account: id, state, attached email and whether it is verified, quota, domains used, and which domains are available to claim under.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 15 tools

    Disambiguation5/5

    Each tool maps to a distinct resource and action: account creation, identity, attaching email, claiming domains, listing/reading/deleting domains, adding DNS records, managing forwards/proxies, and delegating nameservers. Even closely related tools like set_forward/set_proxy and add_dns_record/add_acme_challenge are clearly separated by their target behavior and edge cases.

    Naming Consistency4/5

    Most tools follow a clear verb_noun pattern such as claim_domain, list_domains, add_dns_record, set_forward, and delegate_nameservers, with a strong convention of remove_* for destructive/simple removal operations. The exceptions are signup and whoami, which are shorter conventional names rather than verb_noun pairs; these are understandable but slightly inconsistent with the rest of the set.

    Tool Count5/5

    Fifteen tools is at the upper edge of a well-scoped server, but each tool covers a meaningful operation in the domain lifecycle: account, claim, DNS, forwarding, proxying, and delegation. The count feels appropriate for the breadth of the product rather than inflated with redundant helpers.

    Completeness3/5

    The core domain lifecycle is well covered: check, signup, attach email, claim, list, get, delete, and configure DNS/forward/proxy behavior. However, there is no way to delete or update an individual DNS record—add_dns_record and add_acme_challenge only add records, and the only fallback is the destructive delete_domain tool. There is also no explicit undelegate operation, so some workflows leave agents stranded once a record is added or nameservers are delegated.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      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
      24
      MIT
    • A
      license
      A
      quality
      D
      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
      87 PyPI
      3
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Official Porkbun MCP server, maintained by Porkbun. Check availability and pricing, register, renew and transfer domains, and manage DNS, nameservers, URL forwarding, glue, DNSSEC, DNS restore points, static hosting, webhooks and Cloudflare-connected domains. Hosted at mcp.porkbun.com/mcp with Porkbun sign-in (no API key), or run locally with npx @porkbunllc/mcp-server. Docs: porkbun.com/mcp
      169
      3,076 npm
      37
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for domainagent.dev, enabling AI agents to search, register, deploy, host, and manage domains with USDC payment on Base via x402. Supports static site deployment via Cloudflare Pages and DNS management.
      13 npm
      MIT