AgentDomains

io.github.tashfeenahmedPublished by GitHub account tashfeenahmedv0.1.4Updated Nov 14, 2026

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

VerifiedStreamable HTTPWeb executableCloud & InfrastructureDeveloper Tools

Overview

AI-generated overview

Gives an assistant a real hostname under makes.fyi or agentdomains.co, with DNS records, HTTPS, forwarding and reverse proxying.

What you can do
  • Check whether a subdomain label is free, and sign up for an account to get an API key
  • Claim, list, inspect and delete subdomains, and show account state and quotas
  • Add or remove A, AAAA, CNAME and TXT records, and publish Let's Encrypt DNS-01 challenge records
  • Set or remove URL forwarding and edge reverse proxying with TLS termination
  • Delegate a subdomain to your own nameservers
  • Read visitor stats, get Stripe checkout or billing-portal links, and delete the account
When to use it
Useful when an agent builds a site or API and needs a public hostname, DNS records or HTTPS without owning a domain, or when you want to point a free subdomain at a tunnel, PaaS host or internal box.
Requirements
Runs as a hosted Streamable HTTP endpoint or locally via npx (Node 18+). An API key (adom_…) is passed as AGENTDOMAINS_API_KEY, an Authorization Bearer header, or an api_key argument; check_availability and signup need no key. An email must be attached and verified within 30 days to keep the account.
Before you install
The signup API key is shown once and cannot be retrieved again, so it must be stored immediately. delete_domain, delete_record and delete_account are irreversible, and delete_account invalidates the key. Setting a forward or proxy deletes the label's address records. upgrade_to_pro and manage_billing produce Stripe links a human must open and pay; the README and tool text disagree on Pro pricing.

Installation

In SourceWeft

  1. Open AgentDomains in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.tashfeenahmed%2Fagentdomains-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "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.

Source: README.md at commit 7eccaa7

Tools

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

Parameterslabelrequireddomain

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.

Takes no parameters.

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.

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

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

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

Parametersapi_key

get_domain

Show one domain

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

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

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

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

Parametershosttyperequiredlabelrequireddomainapi_keycontentrequired

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.

Parameterslabelrequireddomainapi_keyrecord_idrequired

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.

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

Parameterscloakemaillabelrequireddomaintargetrequiredapi_keypermanentpreserve_path

remove_forward

Remove a forward

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

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

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

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

Parameterslabelrequireddomainapi_keynameserversrequired

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.

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

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

Parametersapi_key

Version history

2
  1. v0.1.4LatestNov 14, 2026
  2. v0.1.3Sep 30, 2026

Score

90% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.