Open a Platform MCP event stream
GET https://{controlplane_path}/api/1/rest/public/platform_mcp/mcp/platform
Overview
This API opens a persistent Server-Sent Events (SSE) stream for receiving server-initiated messages from the SnapLogic MCP Server on the Platform toolset.
Use this endpoint when your MCP client needs to receive asynchronous notifications or streaming responses initiated by the server for the Platform toolset. The stream remains open until the client closes the connection or the session is terminated with DELETE /platform_mcp/mcp/platform.
Prerequisites
- An active Platform toolset MCP session. Initialize a session with
POST
/platform_mcp/mcp/platform and obtain the
Mcp-Session-Idbefore opening a stream.
Request
GET https://{controlplane_path}/api/1/rest/public/platform_mcp/mcp/platform
Path parameters
| Key | Description |
|---|---|
controlplane_path |
Required. The SnapLogic control plane host:
elastic.snaplogic.com (US) or
emea.snaplogic.com (EU). |
Request headers
| Key | Type | Description |
|---|---|---|
Authorization |
String | Required. HTTP Basic credentials. Refer to MCP APIs — Authentication for format details. |
Mcp-Session-Id |
String | Required. The session identifier returned
by the initialize response. Associates this SSE stream
with an existing Platform toolset MCP session. |
Request body
None.
Response
Returns a chunked SSE stream with
Content-Type: text/event-stream. Each event carries a
JSON-RPC 2.0 message in the data field:
event: message
data: {"jsonrpc": "2.0", "method": "notifications/message", "params": { ... }}
HTTP status codes:
| Key | Description |
|---|---|
200 OK |
The SSE stream is open and ready to receive server-initiated messages. |
401 Unauthorized |
The request is missing a valid Authorization
header. |
403 Forbidden |
The authenticated user doesn't have permission to access the requested organization or resource. |
502 Bad Gateway |
The SnapLogic MCP Server is unreachable. |
Examples
GET https://elastic.snaplogic.com/api/1/rest/public/platform_mcp/mcp/platform
Authorization: Basic <base64_credentials>
Mcp-Session-Id: <session_id>