Set MCP configuration
Adds or updates MCP server entries for the workspace. Existing servers not included in the payload are preserved unchanged.
For each server entry in the payload, if `headers` is omitted or `null` and a server with the same `id` (or `mcp_url`) already exists, the stored header values are preserved. To explicitly clear all headers for a server, pass `headers: {}`. Returns the first saved server entry with its stable ID.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
workspace_id
Request
This endpoint expects an object.
servers
List of MCP server configurations
Response
MCP configuration set successfully
id
Stable config ID for linking actions to this server entry
mcp_url
The HTTPS URL of the MCP server (SSE endpoint)
has_headers
Whether custom headers are stored in Vault
headers_keys
Names of stored header keys (values redacted)
Errors
400
Bad Request Error