v46

latestOpenAPI 3.0.0MITraw.githubusercontent.com2026-08-0311978417.1 KB
MCP

Stream MCP tool requests for a workspace

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. The connection will remain open and events will be sent as new tool requests are made.

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

Path parameters

wIdstring required

ID of the workspace

Query parameters

serverIdstring required

ID of the MCP server to filter events for

lastEventIdstring

ID of the last event to filter events for

Response

Connection established successfully. Events will be streamed in Server-Sent Events format. Each event will contain a tool request that needs to be processed by the MCP server.