Server-sent events
Server-Sent Events is a web standard for streaming text-based event updates one way from a server to a client over an HTTP connection.
AI Agents in Action, Second Edition
Server-Sent Events is an HTTP-based protocol for streaming event updates from a server to a client over a persistent connection.
- How it is used
- Connects agents and LLM applications to independently hosted MCP servers over HTTP.
- How deep it goes
- Explains deployment choices and configuration examples, but stops short of detailing the SSE protocol internals.
- Examples
- Uses MCP server commands, a localhost SSE URL, deployment diagrams, comparison tables, and transport-switching exercises.
- What you can do after
- Operate/configure MCP servers over SSE and switch an agent from STDIO using a server URL.
Read how AI Agents in Action, Second Edition explains server-sent events →
Go in Practice, Second Edition
Server-sent events are a web mechanism for continuously delivering text-based event updates from a server to a client over HTTP.
- How it is used
- Deploys persistent HTTP connections for lightweight, real-time, server-to-client notifications without polling.
- How deep it goes
- Explains the communication model and demonstrates a Go file-watching service, without developing bidirectional messaging.
- Examples
- Demonstrates a Go website that watches filesystem changes and reports file operations and byte lengths in real time.
- What you can do after
- Build a Go SSE service with fsnotify that streams directory changes to browser clients.
Read how Go in Practice, Second Edition explains server-sent events →
Related concepts
- MCP serverused by · An MCP server is software that implements the Model Context Protocol to expose capabilities or information to compatible clients.
- WebSocketalternative to · WebSocket is a network protocol that enables persistent, bidirectional, full-duplex communication between endpoints over a single TCP connection.
- HTTPuses · HTTP is a standardized application-layer protocol that defines request-and-response messages for transferring resource representations between networked systems.
- ASP.NET Core SignalRused by · ASP.NET Core SignalR is a Microsoft library for real-time, bidirectional communication between servers and connected clients.
- FastMCPused by · FastMCP is a Python library for building Model Context Protocol servers and exposing capabilities such as callable tools.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

