Update an MCP server
PATCH/v1/mcp_servers/:id
A config sent replaces the whole entry.
Request​
Responses​
- 200
- 401
- 403
- 404
- 409
- 422
- 503
OK
INVALID_TOKEN / INVALID_AUDIENCE / INVALID_ISSUER / TOKEN_EXPIRED / TOKEN_REVOKED / MTLS_REQUIRED
INSUFFICIENT_SCOPE (see above) or FEATURE_NOT_ENABLED — the operation is not enabled for the organization (the same permission that enables the screen in the console); details: { permission }.
NOT_FOUND
CONFLICT — name already used / IDEMPOTENCY_KEY_REUSED
INVALID_CONFIG — config outside the mcpServers format or with a literal credential
AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).