Patch Agent Mcp Connection
Partial-update one external MCP connection by name.
name is URL-encoded by the FE so quirks like spaces survive.
Switching authMode mid-patch swaps the discriminated-union
variant; the merged row re-validates fully so the FE can’t end up
with an “unknown” auth mode mid-flight.
PATCH
/agents/connections/mcp/{name}Authorization
AuthorizationBearer token · headerrequiredPath parameters
namestringrequiredRequest body
requiredapplication/jsonobjectResponses
200
Successful Response
object422
Validation Error
detailValidationError[]Show propertiesHide properties
Array of
ValidationErrorlocstring | integer[]requiredShow propertiesHide properties
Array of
string | integerAny of:
string
stringinteger
integermsgstringrequiredtypestringrequiredinputanyctxobject