Create a Virtual MCP server
Creates a new MCP configuration with a set of connections and tools.
Authorization
Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.
Body
namestringrequiredUnique name for the MCP configuration. Must be 1–100 characters. Allowed characters: lowercase letters (a–z), digits (0–9), hyphens (-), and underscores (_).
connection_tool_mappingsarray of objectList of connection-to-tool mappings for this MCP config. Maximum 25 entries.
Show 2 child attributes
connection_namestringrequiredDeveloper-assigned connection name
toolsarray of stringList of tool names linked to this connection (empty = all tools)
descriptionstringDescription of the MCP configuration
scalekit_client.actions.mcp.create_config
Create a new MCP configuration from the supplied metadata and tool mappings.
scalekit_client.actions.mcp.create_config( name: str, description: Optional[str] = None, connection_tool_mappings: Optional[List[McpConfigConnectionToolMapping]] = None,) -> CreateMcpConfigResponseParameters
namestrrequiredHuman readable name for the configuration.
descriptionOptional[str]Summary that surfaces in dashboards and APIs.
connection_tool_mappingsOptional[List[McpConfigConnectionToolMapping]]Explicit mapping between connectors and tools.
Returns CreateMcpConfigResponse: The created configuration payload.
From scalekit-sdk-python 2.19.1.
scalekit.actions.mcp.createConfig
Creates a Virtual MCP server configuration. Create this once per agent role. The response carries a static config.mcpServerUrl that every user and every session reuses.
scalekit.actions.mcp.createConfig( params: { name: string; description?: string; connectionToolMappings?: MessageInitShape<typeof McpConfigSchema>['connectionToolMappings']; },): Promise<CreateMcpConfigResponse>Parameters
namestringrequiredUnique name. 1-100 characters, lowercase letters, digits, hyphens and underscores.
descriptionstringHuman-readable summary of what this server exposes.
connectionToolMappingsMessageInitShape<typeof McpConfigSchema>['connectionToolMappings']Which connections, and which tools from each, to expose. Omit
tools on a mapping to expose every tool for that connection. Maximum 25 mappings.Returns Promise<CreateMcpConfigResponse>.
From @scalekit-sdk/node 2.18.0.
Response 200
configobjectThe created MCP configuration
Show 5 child attributes
connection_tool_mappingsarray of objectList of connection-to-tool mappings for this MCP config. Maximum 25 entries.
Show 6 child attributes
connected_account_idstringConnected account backing this connection in the MCP instance context
connected_account_statusstringAuthentication status for the connected account
connection_idstringUnique ID of the connection
connection_namestringDeveloper-assigned connection name
providerstringProvider name for this connection
toolsarray of stringList of tool names linked to this connection (empty = all tools)
descriptionstringDescription of the MCP configuration
idstringUnique ID of the MCP config
mcp_server_urlstringThe URL MCP clients connect to for this server. Every user and session shares it; the session token identifies the user.
namestringUnique name for the MCP configuration. Must be 1–100 characters. Allowed characters: lowercase letters (a–z), digits (0–9), hyphens (-), and underscores (_).
Errors
Every error has the same body: code, message and details. See Errors and rate limits.
400Invalid request - missing required fields or invalid connection/tool mappings401Authentication required - missing or invalid access token