Connecting AI assistants
DoDomain's remote MCP server — one URL, OAuth 2.1 sign-in, and seven scoped tools for checking domains and running connect sessions.
DoDomain ships a remote MCP (Model Context Protocol) server, so AI assistants and agents — Claude, coding agents, anything that speaks MCP — can check a domain's DNS provider, mint a connect session, hand your user the hosted connect link, and verify DNS, using the same REST API and permissions your integration already has.
One URL, nothing else to configure
The server lives at:
https://app.dodomain.io/api/mcpLet your coding agent set itself up
Paste this sentence into Claude Code, Codex, Cursor, OpenCode or GitHub Copilot. The agent fetches DoDomain's setup instructions and adds this server, installs the SDK for your stack and verifies the result:
Fetch and execute the appropriate instructions to set me up for DoDomain from https://dodomain.io/agent-setup/prompt.mdThe same commands, one page per agent, are at dodomain.io/agent-setup. The manual setup for each client follows.
How sign-in works
It speaks Streamable HTTP (stateless) and authenticates with OAuth 2.1 — PKCE plus dynamic client registration — publishing the standard discovery documents (RFC 9728 protected-resource and RFC 8414 authorization-server metadata). MCP clients find the authorization server, register themselves, and start the sign-in flow automatically. You add the URL, sign in with your DoDomain account, and approve the requested scopes on the consent page. No API keys, no manual client setup.
Claude Code
claude mcp add --transport http dodomain https://app.dodomain.io/api/mcpStart a new session, run /mcp, pick dodomain and choose Authenticate.
Codex
codex mcp add dodomain --url https://app.dodomain.io/api/mcp
codex mcp login dodomainCursor
Add the server to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project), merging into mcpServers if the file exists:
{
"mcpServers": {
"dodomain": {
"url": "https://app.dodomain.io/api/mcp"
}
}
}OpenCode
Add the server to opencode.json in the project root (or ~/.config/opencode/opencode.json), then sign in:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"dodomain": {
"type": "remote",
"url": "https://app.dodomain.io/api/mcp",
"enabled": true
}
}
}opencode mcp auth dodomainGitHub Copilot (VS Code)
Add the server to .vscode/mcp.json, then start it from MCP: List Servers and sign in when VS Code asks:
{
"servers": {
"dodomain": {
"type": "http",
"url": "https://app.dodomain.io/api/mcp"
}
}
}Claude.ai (custom connector)
In Claude's web or desktop app, open Settings → Connectors → Add custom connector and paste the URL above as the remote MCP server URL. Claude walks you through the DoDomain sign-in and consent screen, then the tools appear in your conversations.
Any MCP client
Any client that supports remote MCP servers over Streamable HTTP with OAuth works the same way — MCP Inspector, ChatGPT connector settings, or your own agent built on an MCP SDK. The URL is the only configuration.
The seven tools
Every tool calls the same /api/v1 REST surface documented in the API reference, under the signed-in user's team. None are destructive — nothing an agent can call deletes apps, connections, or DNS records.
| Tool | What it does | Scope | Access |
|---|---|---|---|
check_domain | Pre-flight a domain before connecting it: which DNS provider manages it, the registrable zone, the connect tier its provider supports (one-click, Domain Connect, or guided manual; the one-click tiers need a Pro or Scale session), nameservers, and a provider-specific setup guide. | domains:read | Read-only |
list_apps | List the apps in your team — id, name, public (widget) key, sandbox flag. Never returns secret keys. The source of the appId other tools take. | apps:read | Read-only |
list_connections | List verified domain connections and their live DNS health (active vs broken), filterable by app or domain. | connections:read | Read-only |
get_connect_session | Fetch one connect session's state by its token: domain, requested DNS records, status, detected provider, expiry. Poll it to see whether the end user finished. | sessions:read | Read-only |
create_connect_session | Start a connect session for a domain. Returns a connectUrl the agent hands your end user to finish DNS setup in the browser, plus the composed fqdn each record will be verified at. Refused with quota_exceeded at the monthly cap; on Free the cap is shared across the owners' Free teams and unfinished sessions count against it (see Rate limits and pricing). | sessions:write | Writes |
verify_connect_session | Trigger a live DNS check of a session's expected records against authoritative nameservers. When every record matches, the connection is finalized and webhooks fire. | sessions:write | Writes |
reverify_connection | Queue an on-demand DNS health recheck of one existing connection. The result arrives asynchronously as a connection.verified / connection.failed webhook and on the dashboard. | connections:write | Writes |
Scopes and consent
Access is scoped. When a client connects, the consent page lists exactly what it asked for, and the token it receives carries only the scopes you approve. The tool list an agent sees is filtered to its granted scopes — a client granted only read scopes never even sees create_connect_session.
These are the six scopes, worded as the consent screen words them:
| Scope | Grants |
|---|---|
domains:read | Check which DNS provider manages a domain and how it can connect |
apps:read | List the apps in your team |
connections:read | List verified domain connections |
connections:write | Request re-verification of an existing connection |
sessions:read | Read the status of domain-connect sessions |
sessions:write | Create domain-connect sessions and trigger DNS verification |
Revoking access
Every connected client is listed in the dashboard under Connected apps. Revoking one takes effect immediately: both its access and refresh tokens stop working on the next request.
Rate limits and pricing
MCP access is included on every plan — there is no separate SKU. Requests ride the same per-minute plan meters as the REST API (Free 60, Pro 300, Scale 1,200 requests/min per team), and the monthly connection quota is metered identically to REST: creating a session costs nothing, and one unit is charged when a domain is first verified. create_connect_session is refused with quota_exceeded exactly when the REST endpoint would refuse it: on every plan once the team's monthly cap is reached, and on Free also once the Free teams owned by any of this team's owners together reach it, or once its unfinished sessions reach what the month has left plus 10 (see Pricing).
Security
MCP callers authenticate exclusively with OAuth 2.1: PKCE on every flow, short-lived access tokens, and refresh only for clients granted it at consent. Your dd_sk_ secret keys are never exposed to agents — the MCP endpoint does not accept them. Grants are per-user, per-client, scope-limited, and revocable instantly from the dashboard.