Update an External MCP server
Updates name/url/auth fields. Sending a new authValue/authHeaders rotates the secret. url or auth change triggers sync re-discovery. OAUTH_AUTHORIZATION_CODE rejected.
Autorizações
Parâmetros de caminho
Corpo
Body for updating an existing external MCP server. All fields are optional; only provided fields are updated.
New legacy header name (prefer authHeaders for CUSTOM_HEADER).
"X-Api-Key"
New list of custom auth headers, each as {name, value}.
New authentication scheme used to talk to the MCP server.
NONE, API_KEY, BEARER_TOKEN, CUSTOM_HEADER, OAUTH_AUTHORIZATION_CODE New credential value for API_KEY/BEARER_TOKEN auth.
"sk_live_abc123"
New display name of the external MCP server.
255"GitHub MCP"
New HTTPS URL of the external MCP server.
2048^https://.+"https://mcp.example.com/sse"
Resposta
OK
Workspace-registered External MCP server. Auth values are NEVER returned.
Present when authType=CUSTOM_HEADER with a single legacy header.
NONE, API_KEY, BEARER_TOKEN, CUSTOM_HEADER PENDING, CONNECTED, ERROR, PENDING_AUTHORIZATION, EXPIRED Tools discovered on the server. {id,name,description,enabled}

