---
title: "Stream MCP tool requests for a workspace"
method: GET
path: "/api/v1/w/{wId}/mcp/requests"
tags: ["MCP"]
---

# Stream MCP tool requests for a workspace

`GET /api/v1/w/{wId}/mcp/requests`

[Documentation](https://docs.dust.tt/docs/client-side-mcp-server)
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.

## Path parameters

- `wId` string, required

## Query parameters

- `serverId` string, required
- `lastEventId` string

## Response `200`

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.

## Other responses

- `400` — Bad Request. Missing or invalid parameters.
- `401` — Unauthorized. Invalid or missing authentication token.
- `403` — Forbidden. You don't have access to this workspace or MCP server.
- `500` — Internal Server Error.

---

[API](https://skmtc.net/dust-tt/apis/dust-api-documentation.md) · [All operations](https://skmtc.net/dust-tt/apis/dust-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dust-tt/dust-api-documentation/versions/5834d690c29d/schema)
