Headless Domains MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Headless Domains MCP Server check if myagent.agent is available"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Headless Domains MCP Server
ChatGPT Plugin Extension MVP: this branch includes an isolated, read-only plugin server at
plugin_server.py. It does not replace or modify the legacyserver.pyruntime.
ChatGPT Plugin Extension MVP
The new server provides:
lookup_namecheck_availabilitylist_my_namesget_recordsa global sidebar entrypoint (
headlessdomains.app)a thread-side name inspector (
headlessdomains.name_panel)desktop composer mention search
a versioned MCP App at
ui://headlessdomains/app-v1streamable HTTP at
/mcp
It is read-only. Registration, renewal, payment, record changes, MCP Events, and public deployment are intentionally excluded.
Safe local start
Fixture mode is the default and makes no production API requests:
python3 -m venv .venv
.venv/bin/python -m pip install -e '.[dev]'
HEADLESSDOMAINS_DATA_MODE=fixture .venv/bin/python plugin_server.pyThen connect MCP Inspector to http://127.0.0.1:8787/mcp.
Production read-only lookup and availability can be enabled explicitly:
HEADLESSDOMAINS_DATA_MODE=production .venv/bin/python plugin_server.pySee:
Test
.venv/bin/python -m pytest -qOfficial Model Context Protocol (MCP) server for Headless Domains. This server exposes Headless Domains API operations to MCP-compatible clients such as Claude Desktop, Cursor, and Windsurf.
Related MCP server: FastDomainCheck MCP Server
Features
search_domain: check whether a domain is availablelookup_whois: inspect a registered identityregister_domain: register a domain with an API keysync_bio: sync agent/profile bio content with an API keyAutomatic transport selection:
stdiofor local MCP clientsssewhenPORTis present for hosted deployments
Requirements
Python 3.10+
Optional: a Headless Domains API key for authenticated tools
Local Setup
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtEnvironment Variables
Variable | Required | Default | Purpose |
| No | unset | Sends |
| No |
| Overrides the API base URL |
| No |
| HTTP timeout in seconds |
| No |
| Override register endpoint path if the API changes |
| No |
| Override sync-bio endpoint path if the API changes |
| No | auto | Force a transport such as |
| No |
| Bind host for SSE mode |
| No | unset | When present, starts the server in |
Run Locally
For a local MCP client, the server uses stdio by default:
python server.pyYou can also run it through the MCP CLI:
mcp run server.pyClaude Desktop Configuration
Add a server entry to claude_desktop_config.json:
{
"mcpServers": {
"headlessdomains": {
"command": "mcp",
"args": [
"run",
"/absolute/path/to/headlessdomains-mcp/server.py"
],
"env": {
"HEADLESSDOMAINS_API_KEY": "your-api-key-here"
}
}
}
}If you do not need authenticated tools yet, you can omit HEADLESSDOMAINS_API_KEY.
Hosted SSE Mode
When PORT is present, server.py starts an SSE transport automatically:
PORT=8080 python server.pyTypical Railway-style launch:
HOST=0.0.0.0 PORT=8080 python server.pyTool Notes
register_domain
Requires
HEADLESSDOMAINS_API_KEYSends a base payload containing
domain,namespace,years,agreed_to_terms(true), andpayment_method("gems")Accepts
extra_payload_jsonfor API fields not hard-coded into the tool
Example:
{
"domain": "myagent.agent",
"years": 1,
"extra_payload_json": "{\"owner_email\":\"me@example.com\"}"
}sync_bio
Requires
HEADLESSDOMAINS_API_KEYSyncs to the
/domains/<domain>/bioendpointSends
domain,bio, andbio_markdownAccepts
extra_payload_jsonfor any additional API fields (likename,x,github, etc.)
Example:
{
"domain": "myagent.agent",
"bio_markdown": "# About Me",
"extra_payload_json": "{\"name\":\"My Agent Name\", \"x\":\"twitter_handle\"}"
}Docker
Build:
docker build -t headlessdomains-mcp .Run:
docker run --rm -p 8080:8080 \
-e PORT=8080 \
-e HEADLESSDOMAINS_API_KEY=your-api-key-here \
headlessdomains-mcpSmoke Testing
After installing dependencies:
python -m py_compile server.py
python - <<'PY'
import server
print(server.search_domain("example.agent"))
print(server.lookup_whois("test.agent"))
PYNotes
/temp-specsis ignored in.gitignoreso local planning docs stay out of version control.
Available Tools
7 toolscheck_availabilityCheck name availabilityBRead-only
Check authoritative availability without starting checkout or changing account state.
Inputs: query (required), namespaces. Returns: query, matches, warnings
get_recordsGet name recordsCRead-only
Return source-labelled records for one name. Production currently derives records from the public lookup response and reports that limitation.
Inputs: name (required), types. Returns: name, records, warnings, resolverStatus
headlessdomains.appHeadlessDomainsBRead-only
Open HeadlessDomains name search and the connected account portfolio.
Inputs: no named parameters. Returns: view, dataMode, productionWiring
headlessdomains.name_panelHeadlessDomains name inspectorBRead-only
Open a HeadlessDomains name inspector beside this conversation.
Inputs: no named parameters. Returns: view, dataMode, productionWiring
list_my_namesList my HeadlessDomains namesARead-only
List the connected account's names. Fixture mode returns demo data; production mode requires server-side authentication and never accepts an account ID from the model.
Inputs: limit, query, cursor. Returns: names, message, nextCursor, authRequired
lookup_nameLook up a HeadlessDomains nameARead-only
Resolve one exact name and return its owner summary, endpoints, and capabilities.
Inputs: name (required). Returns: links, owner, query, status, +5 more
search_mentionsDRead-only
Inputs: query (required). Returns: Selectable resources returned by mention search.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
lookup_name, check_availability, and get_records are fairly distinct, but the two headlessdomains.* UI openers overlap with list_my_names and the app-level search. search_mentions has no description, making its boundary unclear.
Five tools use clear snake_case verb_noun naming (lookup_name, check_availability, list_my_names, get_records, search_mentions), but headlessdomains.app and headlessdomains.name_panel use a dotted namespace convention. The mix is readable but not fully consistent.
Seven tools is a well-scoped set for a domain search and portfolio server. Each tool has a plausible role without excessive surface area.
The set covers lookup, availability, portfolio listing, and records, but there is no direct programmatic name-search tool and no registration or checkout path. The UI-opening tools partially compensate, leaving notable gaps for an agent-driven workflow.
Maintenance
Related MCP Connectors
Domain search and prices; authenticated registration, nameserver and renewal workflows.
Search domains, get a ready-to-pay checkout link, and manage DNS and email from your AI.
Add, check, diagnose and remove your SaaS customers' custom domains from any MCP client.
Custom domains for SaaS and AI agents: search, register, connect DNS, and issue HTTPS over MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables checking domain availability using WHOIS and DNS resolution, with support for single and batch queries.29-
- AlicenseAqualityDmaintenanceEnables checking domain name availability for single or multiple domains using WHOIS and DNS verification.121MIT
- AlicenseNot gradedqualityCmaintenanceEnables checking domain name availability and pricing, and provides a registration link. Read-only: no purchases in chat.MIT

nameai-mcpofficial
FlicenseNot gradedqualityCmaintenanceEnables domain search and availability checks, WHOIS lookups, TLD registration pricing, and TLD requirement queries through MCP tools.-