McpServer.connectedSessions

The session tokens (Mcp-Session-Ids) that currently have a connected GET SSE stream, so a caller can pingClient(token) each live session in turn rather than guessing. Empty when there is no push channel or no session-scoped GET stream is open.

class McpServer
@safe
string[]
connectedSessions
()