Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Update a Virtual MCP server

PUT/api/v1/mcp/configs/{config_id}

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_idstringrequired
ID of the MCP configuration to update

Body

connection_tool_mappingsarray of object
Updated list of connection-to-tool mappings for this MCP config. Maximum 25 entries.
Show 2 child attributes
connection_namestringrequired
Developer-assigned connection name
toolsarray of string
List of tool names linked to this connection (empty = all tools)
descriptionstring
Updated description for the MCP configuration

Response 200

configobject
The updated MCP configuration
Show 5 child attributes
connection_tool_mappingsarray of object
List of connection-to-tool mappings for this MCP config. Maximum 25 entries.
Show 6 child attributes
connected_account_idstring
Connected account backing this connection in the MCP instance context
connected_account_statusstring
Authentication status for the connected account
connection_idstring
Unique ID of the connection
connection_namestring
Developer-assigned connection name
providerstring
Provider name for this connection
toolsarray of string
List of tool names linked to this connection (empty = all tools)
descriptionstring
Description of the MCP configuration
idstring
Unique ID of the MCP config
mcp_server_urlstring
The URL MCP clients connect to for this server. Every user and session shares it; the session token identifies the user.
namestring
Unique 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 - malformed payload or invalid mappings
401Authentication required
404Not Found - MCP configuration does not exist

Used in