MCP

Stream MCP tool requests for a workspace

Changed on

Documentation Server-Sent Events (SSE) endpoint that streams MCP tool requests for a workspace. This endpoint is used by client-side MCP servers to listen for tool requests in real-time. Events arrive as new tool requests are made. Reconnect with lastEventId after the stream closes to continue receiving events. The stream starts with a :connect comment. Request frames carry JSON with eventId and data fields. A plain-text data: done frame ends the current connection; clients may reconnect with lastEventId.

get/api/v1/w/{wId}/mcp/requests

Request

Path parameters

wIdstring required

ID of the workspace

Query parameters

serverIdstring required

ID of the MCP server to filter events for

lastEventIdstring

Redis stream ID of the last received request event. Omit to start from the available history.

Response

SSE event stream with a :connect comment followed by request frames. The JSON data field in each request frame contains the tool request.

Changes

    • warning

      removed the optional property from the response with the status

    • info

      the response property became required for the status

    • info

      added the required property to the response with the status