update_virtual_mcp_server
Modify a virtual MCP server's description, connections, or tool exposure mode while preserving omitted fields and replacing the full connection list when supplied.
Instructions
Change the description, connections or tool exposure mode of one virtual MCP server. Fields you leave out keep their current value; connections, when sent, replaces the whole list. The name cannot be changed. Switching to DIRECT fails with more than 25 connections or when two connections have actions with the same name. After a change, MCP clients must list tools again; existing session tokens keep working. Use get_virtual_mcp_server to read the current settings. Requires the caller OAuth token.
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": {
"environmentId": "<environmentId>",
"virtualMcpServerId": "<virtualMcpServerId>"
},
"name": "update_virtual_mcp_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connections | No | Replaces the server's whole connection list. Leave out to keep the current connections. | |
| description | No | New description. | |
| toolExposure | No | Leave out to keep the current mode. | |
| environmentId | Yes | Scalekit environment id. Format: env_<id>. | |
| virtualMcpServerId | Yes | Virtual MCP server ID (cfg_...). |