agentle.mcp.servers.streamable_http_mcp_server¶
Production-ready fixes for StreamableHTTPMCPServer using aiohttp
This version fixes the JSON-RPC 2.0 compliance issues and protocol version problems.
Key fixes: 1. Updated protocol version to “2025-06-18” 2. Fixed notification method name to “notifications/initialized” 3. Ensured proper endpoint handling to avoid redirects 4. Improved parameter handling for requests 5. Better error handling and logging
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. |
|
All the operations on a read-only sequence. |
|
Abstract base class for MCP session management. |
|
Production-ready Streamable HTTP implementation of MCP server client using aiohttp. |
|
TCP connector. |