AgentDomains

io.github.tashfeenahmed由 GitHub 账号 tashfeenahmed 发布v0.1.4更新于 Nov 14, 2026

Free domains under makes.fyi or agentdomains.co for the sites and APIs AI agents build.

已验证Streamable HTTP可网页运行云端与基础设施开发者工具

概览

AI 生成的概览

让助手在 makes.fyi 或 agentdomains.co 下获得真实主机名,并管理 DNS 记录、HTTPS、转发与反向代理。

可以做什么
  • 查询子域名标签是否可用,并注册账户获取 API 密钥
  • 认领、列出、查看和删除子域名,查看账户状态与配额
  • 添加或删除 A、AAAA、CNAME、TXT 记录,发布 Let's Encrypt DNS-01 验证记录
  • 设置或取消 URL 转发,以及由边缘节点终止 TLS 的反向代理
  • 将子域名委派给自有的名称服务器
  • 查看访问统计,获取 Stripe 结账或账单门户链接,以及删除账户
适用场景
适合助手搭建网站或 API 时需要公开主机名、DNS 记录或 HTTPS 但没有自有域名的情况,也适合把免费子域名指向隧道、PaaS 主机或内网机器。
运行要求
可作为托管的 Streamable HTTP 端点使用,也可通过 npx 在本地运行(需 Node 18+)。API 密钥(adom_…)通过 AGENTDOMAINS_API_KEY、Authorization Bearer 头或 api_key 参数提供;check_availability 和 signup 无需密钥。须在 30 天内绑定并验证邮箱,否则账户会被删除。
安装前请注意
signup 返回的 API 密钥只显示一次且无法找回,必须立即保存。delete_domain、delete_record 和 delete_account 不可撤销,删除账户会使密钥失效。设置转发或代理会删除该标签的地址记录。upgrade_to_pro 和 manage_billing 生成需人工打开并付款的 Stripe 链接;README 与工具说明中的 Pro 价格不一致。

安装

在 SourceWeft 中

  1. 打开 控制台中的 AgentDomains,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.tashfeenahmed%2Fagentdomains-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "agentdomains": {
      "type": "http",
      "url": "https://mcp.agentdomains.co/"
    }
  }
}

README

AgentDomains MCP server

MCP server for AgentDomains — free domains for the websites and APIs AI agents build. It gives any MCP-speaking agent a real hostname under makes.fyi or agentdomains.co, with DNS records, HTTPS, URL forwarding, and reverse proxying.

Two ways to run it: locally over stdio via npx, or against the hosted remote endpoint at https://mcp.agentdomains.co.

[Add to Cursor] [Install in VS Code]

The buttons add the hosted server with no key. Ask your agent to call signup, then it passes the returned key as the api_key argument on later calls (or add an Authorization: Bearer header to the config).

Install (stdio)

No install step — npx fetches it on demand:

bash
AGENTDOMAINS_API_KEY=adom_… npx -y agentdomains-mcp

Claude Code

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

Claude Desktop and other config-file clients

Add to claude_desktop_config.json (or your client's equivalent):

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

Remote endpoint

https://mcp.agentdomains.co

Streamable HTTP; send JSON-RPC over POST with your key in the Authorization header:

bash
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":{}}'

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

No key yet? Connect without the header, call signup, and pass the returned key as the api_key argument on every other tool call. The header wins when both are present.

Configuration

VariablePurpose
AGENTDOMAINS_API_KEYYour API key (adom_…). Falls back to api_key in ~/.agentdomains/config.json.
AGENTDOMAINS_API_URLOverride the API base URL. Defaults to https://api.agentdomains.co.

If you already use the Go CLI, its ~/.agentdomains/config.json is picked up automatically and no env var is needed.

No key yet? Call the signup tool — it needs no credentials and returns one. The key is shown once and is never retrievable, so store it immediately. Accounts are provisional: attach an email with attach_email and confirm it within 30 days or the account and its domains are deleted.

The API key is never logged, printed, or included in any tool output.

Tools

ToolEndpointDescription
check_availabilityGET /v1/availableIs a label free? No key required.
signupPOST /v1/signupCreate an account, get an API key (shown once). No key required.
whoamiGET /v1/whoamiAccount state, email, quota, usage.
attach_emailPOST /v1/account/emailAttach an email and send its verification link.
claim_domainPOST /v1/subdomainsRegister label.domain, optionally with a first record.
list_domainsGET /v1/subdomainsList every name on the account.
get_domainGET /v1/subdomains/{label}One name, its records, forward/proxy state.
delete_domainDELETE /v1/subdomains/{label}Destructive — permanently delete a name and its records.
add_dns_recordPOST /v1/subdomains/{label}/recordsAdd an A, AAAA, CNAME, or TXT record.
delete_recordDELETE /v1/subdomains/{label}/records/{id}Destructive — remove one record, keeping the name. Ids come from get_domain.
add_acme_challengePOST /v1/subdomains/{label}/recordsTXT at _acme-challenge for Let's Encrypt DNS-01.
set_forwardPUT /v1/subdomains/{label}/forwardRedirect the name to a URL; replaces the address records on it.
remove_forwardDELETE /v1/subdomains/{label}/forwardStop forwarding.
set_proxyPUT /v1/subdomains/{label}/proxyServe a backend through the edge, with TLS terminated for you; replaces the address records on it.
remove_proxyDELETE /v1/subdomains/{label}/proxyStop proxying.
delegate_nameserversPUT /v1/subdomains/{label}/nsDelegate the name to your own nameservers.
delete_accountDELETE /v1/account[?force=true]Destructive — close the account and kill its key; refuses while names are held unless force.
upgrade_to_proPOST /v1/billing/checkoutA Stripe checkout link for Pro (100 names, $5/month or $48/year). Charges nothing; a human opens the link and pays.
manage_billingPOST /v1/billing/portalA Stripe billing-portal link for a Pro account (card, invoices, interval, cancel).

Every label-scoped tool takes an optional domain (makes.fyi, the default, or agentdomains.co).

Setting a forward or a proxy takes the hostname over. The A/AAAA/CNAME records on the label itself are deleted in the same call and handed back as replaced_records, so tell the user what moved. Sub-label records (www.myapp.makes.fyi) and TXT records are left alone, and if the forward fails to come up the replaced records are restored with new ids.

A claim and its first record stand or fall together. If claim_domain is given a record it cannot create, nothing is claimed — fix the record and call again. Re-claiming a name the account already holds answers 409 with owned:true, which means carry on.

On HTTPS

"Get me SSL" is not one operation here. Two honest paths:

  • set_proxy — the edge terminates TLS with its own certificate and proxies to your backend. Nothing to install on the origin.
  • add_acme_challenge — publishes the DNS-01 TXT record so your own ACME client can issue a Let's Encrypt certificate (needed for wildcards or hosts with no public port 80). A plain public web server can just use HTTP-01 and needs no DNS record at all.

Compatibility

Any MCP client works. Verified shapes for the common ones:

  • Claude Code — claude mcp add (stdio or --transport http), as above.
  • Claude Desktop — mcpServers block in claude_desktop_config.json.
  • OpenAI Agents SDK — MCPServerStdio(params={"command": "npx", "args": ["-y", "agentdomains-mcp"]}), or MCPServerStreamableHttp against the remote URL.
  • LangChain / LangGraph — langchain-mcp-adapters: MultiServerMCPClient({"agentdomains": {"command": "npx", "args": ["-y", "agentdomains-mcp"], "transport": "stdio"}}).
  • CrewAI — MCPServerAdapter with the same stdio parameters.
  • Anything else — point your client at npx -y agentdomains-mcp over stdio, or at https://mcp.agentdomains.co over Streamable HTTP.

Development

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

Requires Node 18+. The only runtime dependency is @modelcontextprotocol/sdk.

Related

License

FSL-1.1-Apache-2.0 — see LICENSE. Same terms as the CLI.

MCP Registry listing

This server is listed in the official MCP Registry as io.github.tashfeenahmed/agentdomains-mcp — the index PulseMCP, Glama and other agent-tool directories read from. The metadata is server.json in this repo.

Publishing is manual (GitHub Actions is not running on this account). On each npm release, bump version in server.json and its packages[0].version to match package.json, publish to npm first, then:

bash
# once: install the publisher (macOS/Linux)curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
./mcp-publisher login github     # device-code flow as the tashfeenahmed GitHub account./mcp-publisher publish          # uploads server.jsoncurl -s "https://registry.modelcontextprotocol.io/v0/servers?search=io.github.tashfeenahmed/agentdomains-mcp"

The registry checks that the npm package's mcpName matches name in server.json, so the npm version named in server.json must already be published.

docs/publish-mcp-registry.yml is an optional GitHub Actions workflow that does the same on a v* tag via GitHub OIDC. It only runs if moved to .github/workflows/ and Actions is available on the account.

来源:README.md,提交 7eccaa7

工具

20

check_availability

Check if a name is free

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).

输入参数label必填domain

signup

Create an account

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. If this MCP connection has no Authorization header configured, pass the key as the 'api_key' argument on every later tool call. 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. Every new account gets a 30-day free trial with no card: on day 30, names on an account that has not upgraded to Pro ($10/year or $1/month, see upgrade_to_pro) are released for anyone to claim. The account stays. This endpoint is rate-limited per IP address.

无需输入参数。

whoami

Show my account

Show the current account: id, state, attached email and whether it is verified, domains used, and which domains are available to claim under. When quotas are disabled the response omits 'quota' and says unlimited:true; 'max_subdomains' is the separate hard cap on how many names one account may hold at once (10 on the trial, 100 on Pro). 'plan' is 'free' or 'pro'; when Pro is on sale a free account also gets an 'upgrade' hint (see upgrade_to_pro). A trial account also gets 'trial_days_left' and 'trial_ends_at': on that date its names are released unless the account upgrades to Pro. Tell the user.

输入参数api_key

attach_email

Attach an email

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.

输入参数email必填api_key

claim_domain

Claim a domain

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. On the 30-day free trial, names last until the trial ends ('trial_ends_at' in the response) unless the account upgrades to Pro; tell the user that date. Returns the fqdn and, when a record was requested, the created record. The claim and its first record succeed or fail together: if the record is malformed (400) or the provider refuses it (503) the label is NOT claimed, so fix the record and call again. Re-claiming a name this account already holds answers 409 with owned:true: that means carry on using it, not pick another label.

输入参数hosttypeemaillabel必填domainapi_keycontent

list_domains

List my domains

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

输入参数api_key

get_domain

Show one domain

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

输入参数label必填domainapi_key

get_visits

Show visitor stats

Visitor stats for a name that has a forward or proxy (plain DNS records are not seen). Pro accounts get daily requests and page views plus top countries; free accounts get the period total and an 'upgrade' offer. 'days' is 1 to 90 (default 30).

输入参数dayslabel必填domainapi_key

delete_domain

Delete a domain

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.

输入参数label必填domainapi_key

add_dns_record

Add a DNS record

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; use delete_record to remove a single one. Refused with a 409 while the label carries a forward or a proxy (they own the hostname) — call remove_forward or remove_proxy first, or add the record on a sub-label via 'host', which is a different hostname and unaffected.

输入参数hosttype必填label必填domainapi_keycontent必填

delete_record

Delete a DNS record

DESTRUCTIVE: permanently remove ONE DNS record from a subdomain, keeping the name and every other record. Use this to undo a single record — a wrong IP, a spent ACME challenge — instead of delete_domain, which takes the whole name. The record_id is the 'id' field shown by get_domain (and returned by claim_domain and add_dns_record); it is not the record's name or content. The hostname stops resolving through that record immediately and there is no undo.

输入参数label必填domainapi_keyrecord_id必填

add_acme_challenge

Add an ACME challenge

Publish a Let's Encrypt DNS-01 challenge: creates a TXT record at _acme-challenge.<label>.<domain> 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.

输入参数label必填value必填domainapi_key

set_forward

Forward a domain to a URL

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. A forward TAKES OVER the hostname: any A/AAAA/CNAME record on the label itself is deleted as part of this call and returned in 'replaced_records' — report those to the user, since the name no longer points where it did. Records on a sub-label (www.myapp.makes.fyi) and TXT records are untouched. If the forward fails to come up the replaced records are restored, with new ids.

输入参数cloakemaillabel必填domaintarget必填api_keypermanentpreserve_path

remove_forward

Remove a forward

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

输入参数label必填domainapi_key

set_proxy

Proxy a domain to an app

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. Like a forward, a proxy TAKES OVER the hostname: A/AAAA/CNAME records on the label itself are deleted and returned in 'replaced_records', while sub-label and TXT records are untouched. A proxy and a forward are mutually exclusive on one label. Caveat: apps that hardcode their own hostname (OAuth callbacks especially) may need your new hostname registered on their side.

输入参数emaillabel必填domainorigin必填api_key

remove_proxy

Remove a proxy

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.

输入参数label必填domainapi_key

delegate_nameservers

Delegate to my nameservers

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.

输入参数label必填domainapi_keynameservers必填

delete_account

Delete my account

DESTRUCTIVE AND IRREVERSIBLE, AND THE LARGEST ONE HERE: delete the whole AgentDomains account and invalidate its API key, which cannot be recovered or reissued — every later tool call fails with a 401 until a new signup. Without force it REFUSES while the account still holds names, answering 409 with the list of them; that refusal is a safety net, so show the list to the user and get an explicit yes before retrying. With force:true those names are deleted too: they stop resolving at once and are released for anyone else to claim. Only ever call this when the user has asked to close the account itself — never as cleanup after a task, and never to 'start fresh' on your own initiative.

输入参数forceapi_key

upgrade_to_pro

Get a Pro checkout link

Get a Stripe checkout link for AgentDomains Pro: names kept after the 30-day free trial for as long as you pay, 100 names instead of 10, visitor stats, names never removed for being unused, and priority support, for $10/year (interval 'year', the better deal) or $1/month. Use this when the trial is ending and the user wants to keep their names, or when a claim is refused because the account is at its name limit and the user wants more. It only returns a link and never charges anything: a human must open the URL and pay. Show them the url and say what Pro costs; do not open it or pay on their behalf. If the account is already Pro the answer has kind:'portal' and a link to manage the subscription instead. Answers 404 'billing is not enabled' on a server that does not sell Pro.

输入参数api_keyinterval

manage_billing

Get a billing portal link

Get a Stripe billing-portal link for a Pro account: update the card, see invoices, switch between monthly and yearly, or cancel. A human must open it. Cancelling keeps Pro to the end of the paid period and never deletes a name. Answers 409 if the account has never subscribed (use upgrade_to_pro).

输入参数api_key

版本历史

2
  1. v0.1.4最新Nov 14, 2026
  2. v0.1.3Sep 30, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。