Update a connection
connection_updateChange a connected MCP server. Only the fields you pass are touched. Changing url, transport, authType or the secret triggers a fresh probe. Docs: https://only-mcp.com/docs/mcp-servers#how-a-server-signs-in
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": {
"slug": "<slug>"
},
"name": "connection_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | New https URL. A new address drops the stored secret and every authorization of this connection: pass secret in the same call to keep a bearer or header connection working. | |
| name | No | New human readable name. | |
| slug | Yes | Which connection, by its slug. | |
| secret | No | Replace the credential. | |
| enabled | No | false takes its tools out of the gateway. | |
| authType | No | none, bearer or header. Switching to none clears the stored secret. | |
| transport | No | http or sse. | |
| authHeaderName | No | Only for authType header. |