Home / Servers / DigitalOcean API / harness_get_session_events

StreamSessionEvents opens the session's Server-Sent Events feed.

An MCP tool from the DigitalOcean API server, hosted on mcp.hjlabs.in.

StreamSessionEvents opens the session's Server-Sent Events feed. Opens a text/event-stream of the session's canonical events, served by the MARS data plane (OHP). Each frame is event: plus a data: line holding a JSON event envelope; comment lines (: keepalive)… [GET /v2/agents/sessions/{session_id}/events]

Name on the gateway: digitalocean_api__harness_get_session_events · read-only.

Parameters

NameTypeDescription
session_id requiredstringThe session UUID.
replay_onlybooleanWrite the selected history and then close the stream, rather than going live.…
replay_fromstringEvent-id pagination cursor for the replay_only lane only; return events after…
cursorstringQuery-param equivalent of Last-Event-ID, because a browser EventSource cannot…
device_idstringQuery-param equivalent of X-Device-UUID. Identifies one client install so its…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "digitalocean_api__harness_get_session_events",
  "arguments": {
    "session_id": "…"
  }
}

Or connect the DigitalOcean API server directly, which lists 874 tools including this one:

Run in your terminal
claude mcp add --transport http hj-digitalocean-api https://mcp.hjlabs.in/mcp/digitalocean-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the streamsessionevents opens the session's server-sent events feed. tool with session_id set to ….

More from DigitalOcean API