Update MCP server config
Path parameters
Organization name or ID
MCP server config ID
Request body
ForwardCoderHeaders, when set, updates whether Coder identity headers are forwarded on every outgoing MCP request.
OAuth2RevocationURL is validated in the handler because a validate tag would reject the pointer to "" that clears it.
Response
OK
API key fields (only populated for admins).
Per-user state (populated for non-admin requests).
"none", "oauth2", "api_key", "custom_headers", "user_oidc"
Availability policy set by admin.
ForwardCoderHeaders forwards the same Coder identity headers we send to LLM providers (X-Coder-Owner-Id, X-Coder-Chat-Id, and the optional X-Coder-Subchat-Id and X-Coder-Workspace-Id) to this MCP server on every request. Off by default to avoid leaking chat identity to third-party servers.
OAuth2 fields (only populated for admins).
Tool governance.
"streamable_http" or "sse"