API Reference Hermolaos v#0.3.0

View Source

Modules

MCP (Model Context Protocol) client for Elixir.

GenServer managing a single MCP connection.

Default notification handler that logs events.

Behaviour for handling MCP server notifications and requests.

Notification handler that broadcasts events via Phoenix.PubSub or Registry.

Tracks pending JSON-RPC requests and correlates them with responses.

Exception struct for MCP/JSON-RPC errors.

Connection pool for managing multiple MCP connections.

MCP capability negotiation and validation.

JSON-RPC 2.0 and MCP error codes and error handling utilities.

JSON-RPC 2.0 encoding and decoding for MCP protocol messages.

MCP message builders for all protocol methods.

Behaviour defining the transport interface for MCP communication.

HTTP/SSE transport for MCP communication with remote servers.

Buffer for handling newline-delimited JSON messages.

Stdio transport for MCP communication with local subprocess servers.