agentle.mcp.serversΒΆ

MCP Servers Package

This package provides server implementations for the Model Context Protocol. It includes protocol definitions and concrete implementations for different server types (e.g., HTTP, WebSocket, SSE) that allow communication with external tools and resources.

Classes

MCPServerProtocol()

Abstract base class defining the protocol for MCP servers.

SSEMCPServer(*, server_name, server_url[, ...])

Server-Sent Events (SSE) implementation of the MCP (Model Context Protocol) server client.

StreamableHTTPMCPServer(*, server_name, ...)

Streamable HTTP implementation of the MCP (Model Context Protocol) server client.

Modules

mcp_server_protocol

MCP Server Protocol Module

sse_mcp_server

Server-Sent Events (SSE) implementation of the Model Context Protocol (MCP) server client.

stdio_mcp_server

Stdio implementation of the Model Context Protocol (MCP) server client.

streamable_http_mcp_server

Streamable HTTP implementation of the Model Context Protocol (MCP) server client.