agentle.mcp.servers.sse_mcp_serverΒΆ
Server-Sent Events (SSE) implementation of the Model Context Protocol (MCP) server client.
This module provides a client implementation for interacting with MCP servers over Server-Sent Events (SSE). It enables connection management, tool discovery, resource querying, and tool execution through SSE for server-to-client streaming and HTTP POST for client-to-server communication.
The implementation follows the MCPServerProtocol interface and uses httpx for asynchronous HTTP communication with SSE support.
Functions
|
!!! abstract "Usage Documentation" |
|
!!! abstract "Usage Documentation" |
Classes
|
Special type indicating an unconstrained type. |
|
|
|
|
|
Thread-safe in-memory implementation of the SessionManager interface. |
|
Abstract base class defining the protocol for MCP servers. |
|
A MutableMapping is a generic container for associating key/value pairs. |
|
Server-Sent Events (SSE) implementation of the MCP (Model Context Protocol) server client. |
|
All the operations on a read-only sequence. |
|
Abstract base class for MCP session management. |