Update an MCP server
PATCH/v1/projects/:project_id/mcp-servers/:mcp_server_id
A field sent replaces the stored one, tools, context and auth whole; null clears an optional field. The result is checked as on create. Changing auth.type away from header deletes the server's keys.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 502
MCP server updated.
The request was malformed or failed validation.
Missing or invalid credentials.
The credential is scoped to a different project, or the caller's role in the project does not carry this action.
The resource does not exist (existence is not leaked).
The upstream runtime could not be reached or answered unexpectedly (UPSTREAM_UNAVAILABLE).