Connect your AI assistant
The server speaks MCP over streamable HTTP.
| Setting | Value |
|---|---|
| URL | https://mcp.custodianlabs.io/mcp |
| Header | Authorization: Bearer <your Custodian Labs API key> |
Get your API key
Copy it from API Keys. It's the same key the SDKs use. No key yet?
Add the server to your client
Pick your client, and replace custodian_labs_... with your key.
- Claude Code
- Claude Desktop
- Cursor
- VS Code
- Other clients
claude mcp add --transport http custodian-labs https://mcp.custodianlabs.io/mcp \
--header "Authorization: Bearer custodian_labs_..."
Run /mcp inside Claude Code to check it's connected.
Claude Desktop connects to remote servers with a bearer token through the
mcp-remote bridge. It needs Node.js.
Open Settings → Developer → Edit Config and add:
{
"mcpServers": {
"custodian-labs": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.custodianlabs.io/mcp",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer custodian_labs_..."
}
}
}
}
Restart Claude Desktop. The Custodian Labs tools appear in the tools menu.
Add to ~/.cursor/mcp.json, or .cursor/mcp.json in a project:
{
"mcpServers": {
"custodian-labs": {
"url": "https://mcp.custodianlabs.io/mcp",
"headers": {
"Authorization": "Bearer custodian_labs_..."
}
}
}
}
Add to .vscode/mcp.json. VS Code asks for the key once and stores it securely:
{
"inputs": [
{
"type": "promptString",
"id": "custodian-key",
"description": "Custodian Labs API key",
"password": true
}
],
"servers": {
"custodian-labs": {
"type": "http",
"url": "https://mcp.custodianlabs.io/mcp",
"headers": {
"Authorization": "Bearer ${input:custodian-key}"
}
}
}
}
Any MCP client that supports streamable HTTP and custom headers works. Point it at
https://mcp.custodianlabs.io/mcp and send Authorization: Bearer <key>.
Clients that only support local servers can use the
mcp-remote bridge, as in the Claude
Desktop tab.
Check it works
Ask your assistant:
List the Custodian Labs templates.
It should call list_templates and show 15 starter agents. If it can't connect, see
Troubleshooting.