get_mcp_server
Get a collection's MCP server: the url end users connect to, ready-to-paste snippets (a Claude Code command and a JSON config), callbackUrls for the OAuth app, the sign-in setup and any custom domain. Creates the server if it's missing and syncs its tools with the published endpoints. Call it after publishing to hand the user their MCP URL.
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": {
"orgId": "<orgId>",
"collectionId": "<collectionId>"
},
"name": "get_mcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orgId | Yes | The orgId path variable | |
| collectionId | Yes | The collectionId path variable |