Agent setup

Set up DoDomain in GitHub Copilot (VS Code)

The fast way: copy this sentence into GitHub Copilot (VS Code) and let it do the setup below itself.

Connect the MCP server

  1. 1. Add the server to .vscode/mcp.json in the workspace. If the file exists, merge the dodomain entry into its servers object.

    File: .vscode/mcp.json

    {
      "servers": {
        "dodomain": {
          "type": "http",
          "url": "https://app.dodomain.io/api/mcp"
        }
      }
    }

Sign in. Start the server from the MCP: List Servers command (or the Start link VS Code shows above the entry in mcp.json). VS Code asks to sign in and opens the DoDomain consent page in the browser. 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.

GitHub Copilot (VS Code)'s own MCP documentation: https://code.visualstudio.com/docs/copilot/customization/mcp-servers. Other agents: all agent guides.