gateway.update_server
Update a subordinate MCP server package to a newer version and restart it so the new version runs; pinned or discovered servers and pending requests are refused unless force is set.
Instructions
Update a subordinate MCP server package to latest version and restart it so the new version is actually running. Call this to check for and apply an update -- the gateway does not volunteer update notices, so nothing will prompt you. Refuses a server whose config pins a version, and a server registered with gateway.register_discovered_server. Refuses to restart by default when the server has pending requests; set force=true to cancel them.
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": {
"server_name": "<server_name>"
},
"name": "gateway.update_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Restart the server even if it has pending requests or active MCP tasks, cancelling them. Mirrors gateway.restart_server's force flag. | |
| server_name | Yes | Name of server to update |