mcp-connections

Create an MCPConnection resource.

Changed on
post/api/mcp-connection

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/mcp-connection
  • Auth: HTTP bearer

Headers

X-AgentZ-Workspace-IDstring

Stable Workspace ID selecting Workspace scope. Omit for Organisation scope.

Request body

namestring required

MCPConnection resource name.

Response

MCPConnection created.

can_deleteboolean required

Whether the current principal may delete this connection in the selected scope.

namestring required

MCPConnection resource name.

scope'Organisation' | 'Workspace' required
created_atstring date-time required
status'Accepted' | 'Ready' | 'Error' required
reason'Ready' | 'ProbePending' | 'Unreachable' | 'InvalidCredentials' | 'ProtocolError' | 'InternalError' required
messagestring required
tool_catalog_readyboolean required

Changes

    • info

      the endpoint scheme security GatewayBearer was added to the API

    • info

      added the new optional header request parameter X-AgentZ-Workspace-ID

    • info

      added the non-success response with the status

    • info

      added the non-success 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

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status