Enables decoupled agent-tool interaction by providing a working pattern for Server-Sent Events (SSE) based Model Context Protocol (MCP) clients and servers.
This project provides a blueprint for building MCP servers and clients that communicate using Server-Sent Events (SSE), allowing agents to connect to, use, and disconnect from tools as needed. This decoupled architecture, in contrast to STDIO-based patterns, better fits cloud-native use cases where the client does not need to spawn the server as a subprocess. The included example showcases a weather service server and a client that interacts with it, demonstrating the implementation and usage of this SSE-based pattern.