Generate a connection-scoped MCP URL
get_unified_connection_mcp_urlGet the MCP remote server URL for a specific connection ID. Returns a ready-to-use, connection-scoped Streamable HTTP MCP endpoint that exposes that connection's integration-specific tools. Available with a workspace API key or an OAuth sign-in. The URL embeds a credential and grants tool access without a further login, so treat it as a secret. It does NOT expire on its own. By default it carries a 'user'-mode token scoped to this one connection, revoked by deleting the connection; only an explicit mode 'api' (workspace API key only) returns a URL carrying the workspace API key, revoked by rotating that key (which affects every URL that used it). Optional server options (permissions, tools, aliases, defer_tools, hide_sensitive, include_external_tools, disable_events) are baked into the returned URL as query parameters.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connection_id": "<connection_id>"
},
"name": "get_unified_connection_mcp_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Authentication mode for the generated URL. 'user' (the default) mints a connection-scoped signed token that only grants access to this one connection; it does not expire and is revoked by deleting the connection. 'api' returns the workspace API key (connection + token), granting full-account… | |
| tools | No | Comma-separated list of tool IDs or wildcard patterns to limit which tools the URL exposes (e.g. 'list_*,*invoices*') | |
| aliases | No | Custom description aliases in the form 'key:alt1,alt2;key2:alt3' to improve tool matching (e.g. 'employee:user;employees:users') | |
| defer_tools | No | Defer tool loading to reduce context usage. Use 'all' to defer every tool, or a comma-separated list of tool IDs to defer. | |
| permissions | No | Comma-separated permission scopes to limit the tools exposed by the URL (e.g. 'crm_contact_read,crm_company_read') | |
| connection_id | Yes | The ID of the connection to generate an MCP remote URL for | |
| disable_events | No | When true, the server does not offer MCP Events (the io.modelcontextprotocol/events extension) for this connection | |
| hide_sensitive | No | When true, strips PII and other sensitive fields from tool responses before they reach the LLM | |
| include_external_tools | No | When true, exposes the vendor's raw passthrough endpoints as additional callable MCP tools |