Skip to main content

Overview

Claude connects to remote MCP servers as custom connectors, running the OAuth flow itself, with no config file and no mcp-remote wrapper. A connector is added once against your account and is then available in Claude on desktop, web and mobile.
Custom connectors are available on Free, Pro, Max, Team and Enterprise plans, with Free limited to one. See Anthropic’s guide to custom connectors for the current flow.

Prerequisites

  • A StackOne project you are a member of.
  • A connector profile in the project for each provider the agent should reach, with the actions you want exposed enabled.
  • (Optional) A linked account for each provider. Accounts can also be linked during the consent flow.

Setup

1

Add the connector

How you add the connector depends on your Claude plan. On Pro and Max you add it yourself, and on Team and Enterprise an Owner adds it for everyone.
  1. Go to Customize → Connectors.
  2. Open the Add dropdown and select Add custom connector.
  3. Set the name (e.g. StackOne) and the Remote MCP Server URL:
  4. Leave the OAuth client ID and secret fields empty (Claude discovers the endpoints and registers itself).
  5. Click Add.
2

Connect

Under Customize → Connectors, click Connect on the StackOne connector.
3

Approve the consent screen

Claude opens StackOne in your browser.Sign in, pick the project and the linked accounts the connector should reach, then Authorize.
4

Verify connection

StackOne appears under Customize → Connectors, where you can review each tool and set whether it runs automatically or asks first:
Claude Desktop Connectors page showing tool permissions with options to enable or require approval for each tool
Then try prompts like:
One grant covers every account you approved, so a single connector is usually all you need. To change which accounts or actions it can reach, disconnect the current connector and then run the flow again; to revoke it, use Connected Apps in the StackOne dashboard.
A session token URL carries its own credential, so it covers the cases OAuth can’t: a shared server, a scheduled job, or anywhere nobody is present to approve a consent screen.Generate one from Connectors, open a connector, then Use in Agent. Pick a linked account, set the expiry (one year by default), and copy the URL:
One URL covers one linked account, and anyone holding it has that access until it expires, so treat it like a password. See Choosing a connection method for the comparison with OAuth.There is no consent screen to set Search & Execute on, so add the tool-mode query parameter instead:
A token URL is not a remote OAuth connector, so it goes through the mcp-remote package in claude_desktop_config.json. Open it from Settings → Developer → Edit Config:
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop to load it. Servers added this way show under Settings → Developer with a green “running” badge; if you see “failed”, click Open Logs Folder.
For multiple linked accounts, add an entry for each. Get each token from the dashboard by selecting the relevant account.
Claude Desktop Connectors page showing multiple MCP servers configured for different integrations
If you prefer to use your API key and account ID directly, encode your API key first:
Terminal showing base64 encoding command and output
Then add to your config:

Programmatic integration

For programmatic integration with Anthropic’s Claude API, see the Anthropic SDK Framework Guide.

Optimize and secure

With your agent connected, use StackOne’s platform features to optimize performance and secure every call.

Search & Execute

Reduce context and save tokens.

Defender

Block prompt injections before they reach your agent.