Update a Virtual MCP server
Updates the description and connection-to-tool mappings for an existing MCP configuration. The configuration name cannot be changed after creation.
Authorization
Authorization: Bearer $TOKEN, an access token from the client credentials grant. See Authentication.
Path parameters
config_idstringrequiredBody
connection_tool_mappingsarray of objectShow 2 child attributes
connection_namestringrequiredtoolsarray of stringdescriptionstringscalekit_client.actions.mcp.update_config
Update mutable fields on an existing MCP configuration.
scalekit_client.actions.mcp.update_config( config_id: str, description: Optional[str] = None, connection_tool_mappings: Optional[List[McpConfigConnectionToolMapping]] = None,) -> UpdateMcpConfigResponseParameters
config_idstrrequireddescriptionOptional[str]connection_tool_mappingsOptional[List[McpConfigConnectionToolMapping]]Returns UpdateMcpConfigResponse: The updated configuration payload.
From scalekit-sdk-python 2.19.1.
scalekit.actions.mcp.updateConfig
Updates the description and connection-to-tool mappings of a configuration. The name cannot be changed after creation. Avoid updating while agent sessions are running — tools can become unavailable mid-session. For a significant change, create a new configuration and swap the URL instead.
scalekit.actions.mcp.updateConfig( params: { configId: string; description?: string; connectionToolMappings?: MessageInitShape<typeof UpdateMcpConfigRequestSchema>['connectionToolMappings']; },): Promise<UpdateMcpConfigResponse>Parameters
configIdstringrequireddescriptionstringconnectionToolMappingsMessageInitShape<typeof UpdateMcpConfigRequestSchema>['connectionToolMappings']Returns Promise<UpdateMcpConfigResponse>.
From @scalekit-sdk/node 2.18.0.
Response 200
configobjectShow 5 child attributes
connection_tool_mappingsarray of objectShow 6 child attributes
connected_account_idstringconnected_account_statusstringconnection_idstringconnection_namestringproviderstringtoolsarray of stringdescriptionstringidstringmcp_server_urlstringnamestringErrors
Every error has the same body: code, message and details. See Errors and rate limits.
400Invalid request - malformed payload or invalid mappings401Authentication required404Not Found - MCP configuration does not exist