Update a saved server
Sparse update: omitted fields are unchanged. Renaming re-checks per-workspace uniqueness (409 on a clash). Editing a server shared as an OAuth connection requires project admin. clientSecret and clearClientSecret are mutually exclusive.
Authorizations
MCPJam API key (sk_…). Create one at Settings → API keys. Guest sessions cannot use the API, and API keys cannot manage other API keys.
Path Parameters
ID of the hosted project that contains the server.
ID of the server inside the project.
Body
Sparse update — omitted fields are unchanged, and at least one field is required. Editing a server that is shared as an OAuth connection requires project admin.
1stdio, http stdio transport only.
Stored encrypted; never returned by any read.
http transport only.
Stored encrypted; never returned by any read.
Opaque MCP client capabilities bag.
mcpjam, own Stored encrypted; never returned. Reads expose only hasClientSecret.
Removes the stored client secret. Mutually exclusive with clientSecret.
Response
The updated server.
A saved MCP server, projected toward the hosted (HTTP) shape. STDIO command/args/env and raw headers are never exposed.
Endpoint for HTTP-transport servers; null for stdio.
Epoch milliseconds.

