All agents

AGENT SETUP · ANTHROPIC

Connect Claude to SaaS Custom Domains

Add SaaS Custom Domains to Claude as a custom connector and manage your customers' domains from a chat: add a domain, get the DNS records to send your customer, or check why a domain isn't live. Connectors you add in claude.ai also reach Claude Code when you're signed in with the same account.

Works in claude.ai and the Claude apps.

  • Connector
  • Sign in

Quick start

  1. Add a custom connector

    Open Customize → Connectors, click + Add, then Add custom connector. In the newer layout, Customize is called Plugins.

  2. Enter the server URL

    Name it SaaS Custom Domains, enter the URL and click Continue. Under Authentication, choose Sign in now, keep the recommended OAuth client and click Add.

    Remote MCP server URL
    https://mcp.saascustomdomains.com/mcp
  3. Sign in

    Your browser opens: approve the connection, sign in to SaaS Custom Domains (with two-factor authentication if you use it) and click Continue.

  4. Turn it on in a chat

    Click + in the chat box, open Connectors and turn on SaaS Custom Domains.

Signing in and API tokens

On Team and Enterprise plans, an owner adds the connector under Organization settings → Connectors, and members then click Connect and sign in with their own SaaS Custom Domains account.

Signing in creates an API token named after the client, for example MCP: Claude, under Settings » API. Delete it there to disconnect.

Other ways to set it up

  • Add the skill (optional)

    The skill helps when you ask Claude to write integration code. Put SKILL.md in a folder named saas-custom-domains, zip the folder and upload the zip under Customize → Skills. Skills need code execution turned on in Settings.

    Terminal
    mkdir saas-custom-domains
    curl -fsSL https://docs.saascustomdomains.com/.well-known/agent-skills/saas-custom-domains/SKILL.md \
      -o saas-custom-domains/SKILL.md
    zip -r saas-custom-domains.zip saas-custom-domains

Keep your setup in a Project

Working on custom domains often? Create a Project and give it instructions, so every chat in it starts with your setup.

Project instructions
Use the SaaS Custom Domains connector for anything about our customers' domains.
Our upstream is app.yourapp.com. When you add a domain, also give me the DNS records as a short message I can send the customer.

EXAMPLE PROMPTS

What to ask Claude

The skill helps when you build your custom domains integration. The MCP server works in your account.

Build

Integration code, with the skill

  • “Explain how our Express app should verify X-SaaS-Domains-Auth-Token before trusting X-Served-For, with a code example.”

Operate

Your account, through the MCP server

  • “Add app.acme.com to our upstream and write the email I should send Acme with the DNS records.”
  • “Which of our customers still haven't set up their DNS? Make a table with each domain and the record it needs.”
  • “Compare last month's traffic for app.acme.com and shop.northpeak.com.”

Troubleshooting

Claude doesn't use the tools

Turn the connector on for the chat: click +, open Connectors and switch on SaaS Custom Domains. Naming it in your message also helps.

I'm on a Team or Enterprise plan and can't add it

An owner adds custom connectors under Organization settings → Connectors. Members then click Connect.

How do I disconnect?

Delete the connector, or delete its token under Settings » API. Claude then asks you to sign in again.

Give your agent your custom domains

Start your free trial, then connect your agent by signing in.