/api/v1/mcps/{id} (PATCH)
const url = 'https://api.endless.zaia.app/api/v1/mcps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"agentIds":["2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"],"connectionId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","description":"example","detail":{"configurationRevision":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","toolHistory":[{"available":true,"description":"example","inputSchema":"example","name":"example","observedAt":"2026-04-15T12:00:00Z","outputSchema":"example"}],"tools":["example"],"type":"composio-airtable"},"name":"example","expectedRevision":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://api.endless.zaia.app/api/v1/mcps/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Content-Type: application/json' \ --data '{ "agentIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "connectionId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "description": "example", "detail": { "configurationRevision": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "toolHistory": [ { "available": true, "description": "example", "inputSchema": "example", "name": "example", "observedAt": "2026-04-15T12:00:00Z", "outputSchema": "example" } ], "tools": [ "example" ], "type": "composio-airtable" }, "name": "example", "expectedRevision": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'Updates an MCP.
Parameters
Seção intitulada “Parameters”Path Parameters
Seção intitulada “Path Parameters”A UUID v4 string that identifies an entity.
A UUID v4 string that identifies an entity.
Request Bodyrequired
Seção intitulada “Request Bodyrequired”object
Replace the linked agents atomically. Omit to preserve existing links.
The id of the connection the MCP will be used through.
The internal description of the MCP.
object
Server-managed revision for conditional configuration updates.
Server-managed last known tool metadata, including unavailable tools.
object
object
object
A safe callback URL that must be HTTPS and point to a public server.
The display name of the MCP.
Revision read when opening the configuration. Null identifies a legacy configuration without a revision. A stale revision returns 409.
Responses
Seção intitulada “Responses”The MCP was updated.
object
A UUID v4 string that identifies an entity.
The ID of the original entity in production.
A UUID v4 string that identifies an entity.
Agent-link snapshot returned atomically with this configuration when retrieving an MCP.
The id of the connection the MCP will be used through.
The internal description of the MCP.
object
Server-managed revision for conditional configuration updates.
Server-managed last known tool metadata, including unavailable tools.
object
object
object
A safe callback URL that must be HTTPS and point to a public server.
The display name of the MCP.
The workspace ID that owns the MCP.
Example
{ "detail": { "type": "composio-airtable" }}Connection type is not compatible with MCP type.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}Unauthorized.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}MCP or connection not found.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}The configuration revision is stale. Reload before retrying.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}