MCP Setup

The sota.io MCP server lets AI clients like Claude Desktop, claude.ai, Claude Code, Cursor and Windsurf deploy, manage and monitor applications through the Model Context Protocol.

There are two ways to connect:

Hosted connector (recommended for Claude)Local server
What you enterThe URL https://mcp.sota.io/mcpnpx -y @sota-io/mcp plus an API key
Sign-inYour sota.io e-mail and a six-digit code, onceA sota_… API key in the config
DeploysInline files (at most 200 files, 10 MB)A folder on your machine, a public git URL or inline files
Needs Node.jsNoYes (20 or newer)

The MCP server is open source: GitHub | npm

Hosted connector: the URL to use

https://mcp.sota.io/mcp

This is the URL for everyone who has a sota.io account. When you add it, Claude opens the sota.io sign-in straight away. Do not add a token or header yourself.

https://mcp.sota.io/mcp/signup is only for creating a brand-new account from inside a chat (the create_account tool); after that, add https://mcp.sota.io/mcp and sign in.

https://mcp.sota.io/mcp/discover is a read-only listing for registries, directories and docs tooling: it answers initialize, tools/list and prompts/list without a credential and refuses every tool call and every request that carries a credential. Do not add it as a connector.

What the sign-in looks like

  1. A browser window opens on sota.io → Sign in.
  2. Enter the e-mail address of your sota.io account and press Continue (or use Continue with Google / Continue with GitHub if your account uses them).
  3. Enter the six-digit code from the e-mail "Your sota.io login code". The code expires after a few minutes; request a new one if it did.
  4. sota.io asks whether Claude may use your account. Press Authorize.
  5. The window returns to Claude and the connector shows as connected. Claude creates its own API key on your account (marked source=claude); you never copy a key.

Claude Desktop on Windows

  1. Open Claude Desktop and sign in with your Claude account.
  2. In the sidebar open Customize → Connectors.
  3. Click Add (the + button) → Add custom connector.
  4. Name: sota.io. URL: https://mcp.sota.io/mcp.
  5. If the dialog shows Authentication, choose Sign in now (Claude marks what it detected from the server). Leave OAuth client on its default; no client ID or secret is needed, because Claude registers itself.
  6. Click Add, then Connect. Your default browser opens the sign-in (see above). After Authorize, switch back to Claude Desktop.
  7. Under Customize → Connectors → sota.io set the tool permissions: read tools (list, status, logs) can be Always allow; keep deploy, deploy-changes, rollback, redeploy, set-env and the delete tools on Needs approval.

If no browser window opens, check that Windows has a default browser and that it does not block pop-ups, then click Connect again.

Claude Desktop on macOS

The steps are the same as on Windows: Customize → Connectors → Add → Add custom connector, name sota.io, URL https://mcp.sota.io/mcp, Sign in now if asked, Add, Connect, sign in in the browser, Authorize. Connectors you add in the app belong to your Claude account, so the same connector also appears in claude.ai and in the Claude mobile apps.

claude.ai in the browser

Open claude.ai/customize/connectors (the link fills in name and URL), then follow the same steps. To use it in a chat, enable sota.io in the chat's + menu under connectors.

Plans, Team and Enterprise workspaces

  • Every Claude plan can add custom connectors; the Free plan allows one.
  • In a Team or Enterprise workspace members cannot add custom connectors themselves. An owner adds it once under Organization settings → Connectors → Add → Custom → Web with the URL https://mcp.sota.io/mcp. It then appears for every member, and each member clicks Connect and signs in with their own sota.io account.
  • Authentication settings cannot be edited later: to change them, remove the connector and add it again.

Claude Code (CLI)

claude mcp add --transport http --scope user sota https://mcp.sota.io/mcp

Then start claude, type /mcp, pick sota and choose Authenticate: the browser sign-in opens. --scope user makes the server available in every project; leave it out to add it to the current project only.

If you are signed in to Claude Code with your Claude account, connectors from your Claude account (including one added in Claude Desktop or claude.ai) already show up in /mcp, so you may not need to add it again.

With an API key instead of the sign-in (CI, servers without a browser):

claude mcp add --transport http --scope user sota https://mcp.sota.io/mcp \
  --header "Authorization: Bearer sota_your_api_key_here"

The Code tab in Claude Desktop

The Code tab runs Claude Code inside the desktop app. It uses the connectors of your Claude account, so a sota.io connector added under Customize → Connectors is available there without further setup. MCP servers you added with claude mcp add are available in the Code tab too.

Sign-in code does not arrive

  • Look in the spam or junk folder for "Your sota.io login code" from sota.io <alex@sota.io>.
  • Company mail filters sometimes hold mail from new senders. Ask your IT to allow the sender domain sota.io (sender address alex@sota.io).
  • Wait a minute before asking for a new code: a new code can be requested once per minute per address, and only the newest code is valid.
  • sota.io is invite-only: the sign-in only sends a code to addresses that already have an account. Use the address your invitation went to.

Connected without a sign-in

Before version 1.9.0 of the hosted server, Claude could connect without signing in and only asked for the sign-in on the first real action (or, in some set-ups, never). If your sota.io connector shows tools but every action fails, or it never asked you to sign in:

  1. Open Customize → Connectors → sota.io. If there is a Connect button, click it and sign in.
  2. Otherwise remove the connector (… → Remove) and add it again with the URL https://mcp.sota.io/mcp. Choose Sign in now if asked.
  3. In a Team or Enterprise workspace the owner removes and re-adds it under Organization settings → Connectors.

What is MCP?

MCP (Model Context Protocol) enables AI assistants to interact with external tools and services. The sota.io MCP server exposes the platform's operations (projects, deploys, status, logs, environment variables, rollback, domains) as tools that AI agents can call directly, no CLI or API calls needed. See Available Tools.

Local server

Use the local server when your client is not Claude, when you want to deploy a folder from your machine, or when you prefer an API key over the sign-in.

Installation

Run directly with npx (no install required):

npx -y @sota-io/mcp

This short form works from version 1.7.1 on. Versions 1.0.0 to 1.7.0 stop with "could not determine executable to run"; if you pin one of them, use the long form:

npx -y -p @sota-io/mcp@1.7.0 sota-mcp

Or install globally (puts sota-mcp, sota-mcp-http and, from 1.7.1, mcp on your PATH):

npm install -g @sota-io/mcp

Requirements: Node.js >= 20

Prerequisites

You need a sota.io API key to authenticate the MCP server. Create one at Dashboard Settings or see API Keys.

IDE Configuration

Each IDE has its own MCP configuration format. Choose yours below — every snippet is copy-paste ready.

Claude Code

CLI method (recommended):

claude mcp add sota -- npx -y @sota-io/mcp

Then set your API key:

export SOTA_API_KEY=sota_your_api_key_here

Manual JSON — add to .claude/settings.json:

{
  "mcpServers": {
    "sota": {
      "command": "npx",
      "args": ["-y", "@sota-io/mcp"],
      "env": {
        "SOTA_API_KEY": "sota_your_api_key_here"
      }
    }
  }
}

Claude Desktop

Edit claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "sota": {
      "command": "npx",
      "args": ["-y", "@sota-io/mcp"],
      "env": {
        "SOTA_API_KEY": "sota_your_api_key_here"
      }
    }
  }
}

On Windows Claude Desktop cannot start npx directly (it is a .cmd script there). Run it through cmd /c:

{
  "mcpServers": {
    "sota": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "@sota-io/mcp"],
      "env": {
        "SOTA_API_KEY": "sota_your_api_key_here"
      }
    }
  }
}

Restart Claude Desktop completely (quit it from the tray icon) after editing the file. Servers from this file run on your computer and do not appear in claude.ai or the mobile apps; the hosted connector above does.

Cursor

Create .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "sota": {
      "command": "npx",
      "args": ["-y", "@sota-io/mcp"],
      "env": {
        "SOTA_API_KEY": "sota_your_api_key_here"
      }
    }
  }
}

Windsurf

Edit ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "sota": {
      "command": "npx",
      "args": ["-y", "@sota-io/mcp"],
      "env": {
        "SOTA_API_KEY": "sota_your_api_key_here"
      }
    }
  }
}

Authentication

The MCP server authenticates using the SOTA_API_KEY environment variable. This must be set in the env block of your MCP configuration — shell environment variables do not automatically pass to MCP servers.

Create an API key at Dashboard Settings. Keys use the sota_ prefix.

Verify Setup

After configuration, ask your AI assistant:

"List my sota.io projects"

The assistant should invoke the list-projects tool and return your project list. If you see an error, check the Troubleshooting section.

Troubleshooting

npx: command not found

If you use nvm or fnm, your IDE may not inherit the shell PATH. Use the absolute path to npx:

which npx
# Example: /Users/you/.nvm/versions/node/v22.0.0/bin/npx

Replace "command": "npx" with the full path in your MCP config:

{
  "command": "/Users/you/.nvm/versions/node/v22.0.0/bin/npx",
  "args": ["-y", "@sota-io/mcp"]
}

SOTA_API_KEY not set

The env block in MCP config is required. Every config snippet above includes it — make sure you've added your actual API key.

Next Steps