Custom Domain API

v0.13.0
io.github.sireto/custom-domain Checked 1 hour ago Published 1 month ago

Register a SaaS app's customer hostnames, show their DNS records and checks, recheck or delete them.

Values you need

VariableWhat it is
CUSTOM_DOMAIN_API_URLrequired Your edge, such as https://edge.example.net (https only)
CUSTOM_DOMAIN_API_KEYrequired secret An application API key (cd_...), never an operator token

PyPI (uvx)

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add custom-domain -e 'CUSTOM_DOMAIN_API_KEY=<CUSTOM_DOMAIN_API_KEY>' -e 'CUSTOM_DOMAIN_API_URL=<CUSTOM_DOMAIN_API_URL>' -- uvx custom-domain-mcp==0.13.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "custom-domain": {
      "args": [
        "custom-domain-mcp==0.13.0"
      ],
      "command": "uvx",
      "env": {
        "CUSTOM_DOMAIN_API_KEY": "<CUSTOM_DOMAIN_API_KEY>",
        "CUSTOM_DOMAIN_API_URL": "<CUSTOM_DOMAIN_API_URL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "custom-domain": {
      "args": [
        "custom-domain-mcp==0.13.0"
      ],
      "command": "uvx",
      "env": {
        "CUSTOM_DOMAIN_API_KEY": "<CUSTOM_DOMAIN_API_KEY>",
        "CUSTOM_DOMAIN_API_URL": "<CUSTOM_DOMAIN_API_URL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CUSTOM_DOMAIN_API_KEY",
      "id": "custom-domain-api-key",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "CUSTOM_DOMAIN_API_URL",
      "id": "custom-domain-api-url",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "custom-domain": {
      "args": [
        "custom-domain-mcp==0.13.0"
      ],
      "command": "uvx",
      "env": {
        "CUSTOM_DOMAIN_API_KEY": "${input:custom-domain-api-key}",
        "CUSTOM_DOMAIN_API_URL": "${input:custom-domain-api-url}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.custom-domain]
command = "uvx"
args = ["custom-domain-mcp==0.13.0"]
env = { "CUSTOM_DOMAIN_API_KEY" = "<CUSTOM_DOMAIN_API_KEY>", "CUSTOM_DOMAIN_API_URL" = "<CUSTOM_DOMAIN_API_URL>" }

For AI agents

  1. Ask the user for: CUSTOM_DOMAIN_API_URL, CUSTOM_DOMAIN_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json