Create or replace an External MCP Connection by stable key
Changed onDeclarative upsert; needs the Manage connections permission (owners and admins by default). Creates a connection when the organization has not used the key, otherwise replaces the keyed connection without changing its stable identity. Replacing a connection someone else created also needs Edit any connection, and making a connection org-wide needs Share with everyone.
Request
- Base URLhttps://api.openworklabs.com
- URLhttps://api.openworklabs.com/v1/mcp-connections/by-key/{externalKey}
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Client-chosen stable identifier, unique per organization. Immutable.
Headers
Existing connection updatedAt timestamp required by the caller for conditional replacement.
Request body
Response
Connection updated.
Changes
- warning
added the new
provider_setup_requiredenum value to the//////response property for the response status - warning
added the new
provider_setup_requiredenum value to the//////response property for the response status - warning
added the new
provider_setup_requiredenum value to the//////response property for the response status - warning
added the new
provider_setup_requiredenum value to the//////response property for the response status - info
added the new optional request property
- info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the optional property
/////to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning
- info
added the optional property
/to the response with the status
- info