Create MCP server config
Path parameters
Organization name or ID
Request body
ForwardCoderHeaders, when true, forwards Coder identity headers on every outgoing MCP request. See MCPServerConfig.
OAuth2RevocationURL is the provider's RFC 7009 revocation endpoint; auto-populated by OAuth2 discovery when omitted.
Response
Created
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"