API & MCP

API tokens, ordering by API and Claude (MCP).

API & MCP

Scaledmail MCP Server

Updated Nov 11, 2026

Use ScaledMail directly inside Claude Desktop via the Model Context Protocol (MCP). Once set up, you can buy domains, manage mailboxes, swap domains, and more — all from within a Claude conversation.


What is MCP?

MCP (Model Context Protocol) is an open standard that lets AI models like Claude securely connect to external tools and services. The ScaledMail MCP server gives Claude direct access to your ScaledMail account.


Requirements

Before you start, make sure you have:

  • Claude Desktop (Mac or Windows) — Download here
  • Node.js — Download here — required to run the MCP server via npx
  • scaledmail-mcp package — View on npm — installed automatically via npx, no manual install needed
  • A ScaledMail account with admin access to generate an API token

Step 1. Create your API token

1. Go to Settings › API tokens in your ScaledMail dashboard 2. Click Create token. Pick read and write access if you want Claude to buy or change things 3. Copy the token: you'll need it in Step 3

Keep your token private. Treat it like a password. Anyone with this token can access your ScaledMail account.

Screenshot for this step

Step 2. Install Claude Desktop & Node.js

If you haven't already:

1. Download and install Claude Desktop: claude.ai/download 2. Download and install Node.js: nodejs.org — choose the LTS version

To verify Node.js is installed, open a terminal and run:

node -v

You should see a version number like v20.x.x.


Step 3. Edit the Claude Desktop Config

1. Open Claude Desktop 2. Go to Settings → Developer → Edit Config

Screenshot for this step

3. This opens claude_desktop_config.json in your file system

Screenshot for this step

4. Open the file and paste the following config. Replace YOUR_API_TOKEN with the token from Step 1 and YOUR_ORG_ID with your Workspace ID (Settings › API tokens shows it with a Copy button). Easier: Settings › MCP Server shows this config with your Workspace ID already filled in.

{
  "mcpServers": {
    "scaledmail": {
      "command": "npx",
      "args": ["-y", "scaledmail-mcp"],
      "env": {
        "API_TOKEN": "YOUR_API_TOKEN",
        "ORGANIZATION_ID": "YOUR_ORG_ID",
        "BASE_URL": "https://server.scaledmail.com"
      }
    }
  }
}

The scaledmail-mcp package is installed automatically by npx — no separate install needed. View on npm →

Already have other MCP servers configured? Don't replace the whole file. Just add the scaledmail block inside your existing mcpServers object.

Screenshot for this step

5. Save the file


Step 4. Restart Claude Desktop

You must fully quit Claude Desktop — closing the window is not enough.

  • Mac: Press Cmd + Q
  • Windows: Right-click the Claude icon in the taskbar → Quit

Then relaunch Claude Desktop.


Step 5. Enable ScaledMail in Claude

1. Open a new chat in Claude Desktop 2. Click the tools icon (hammer icon) in the bottom of the chat input bar 3. Find ScaledMail in the list and toggle it on

Screenshot for this step

Step 6. Test the Connection

Type /mcp in the chat to confirm ScaledMail is connected. You should see it listed as an active server.

You can also just ask Claude:

"Show me my available domains in ScaledMail"

Claude will call the ScaledMail MCP server and return your data directly in the chat.

Screenshot for this step

What can you do with ScaledMail in Claude?

  • Search and buy new domains
  • View and manage your mailboxes
  • Swap domains
  • Check domain status
  • And more as we expand the integration

Troubleshooting

ProblemFix
ScaledMail not showing in tools listMake sure you fully quit and relaunched Claude Desktop. Check the config file for typos.
npx not found errorInstall Node.js from nodejs.org and restart your terminal
Authentication errorDouble-check your API_TOKEN and ORGANIZATION_ID values in the config. New tokens expire after 90 days unless you chose otherwise: if yours expired, create a new one in Settings › API tokens.
Config file not foundOpen Claude Desktop → Settings → Developer → Edit Config to create it automatically

FAQ

Does this work on Claude.ai (web)? No. MCP is only supported in Claude Desktop (Mac and Windows).

Where do I find my Organization ID? It's your Workspace ID: Settings › API tokens shows it with a Copy button, and Settings › MCP Server puts it in the config for you.

Can I use this if I'm not an admin? Only workspace owners and admins can create API tokens. Once a token is created, any team member with that token can use the integration.

Is my data secure? Yes. The MCP server communicates directly with the ScaledMail API using your token over HTTPS. Claude only accesses data when you explicitly ask it to.


Still having trouble? Contact support at support@scaledmail.com.

Still have questions? Chat with us