Agent setup

Set up DoDomain in Claude Code

The fast way: copy this sentence into Claude Code and let it do the setup below itself.

Connect the MCP server

  1. 1. Register the DoDomain MCP server

    claude mcp add --transport http dodomain https://app.dodomain.io/api/mcp

Sign in. Start a new Claude Code session so it loads the server, run /mcp, pick dodomain and choose Authenticate. The browser opens the DoDomain sign-in and consent page. No API key is involved: the MCP server uses OAuth and refuses secret keys by design.

What you get

Install the SDK

Server code uses a secret key from DODOMAIN_SECRET_KEY. Create an app at https://app.dodomain.io/dashboard and copy the secret key from its API keys card. It is shown once.

Verify

After signing in, ask the agent to call the list_apps tool: it lists the apps on your team. To check a secret key, run:

curl -s https://app.dodomain.io/api/v1/apps -H "Authorization: Bearer $DODOMAIN_SECRET_KEY"

Success is HTTP 200 with a JSON body of the form {"apps": [...]}: a secret key sees exactly its own app, with its id, name and publishable key.

Claude Code's own MCP documentation: https://code.claude.com/docs/en/mcp. Other agents: all agent guides.