API Reference hermes_mcp v0.2.2

Modules

A GenServer implementation of an MCP (Model Context Protocol) client.

HTTP utilities.

Handles parsing and validation of MCP (Model Context Protocol) messages using the Peri library.

Server-Sent Events (SSE) utilities, HTTP client abstraction and HTTP streaming handling.

Represents a Server-Sent Event.

Parses a raw SSE stream into a list of %SSE.Event{} structs.

Defines the behavior that all transport implementations must follow.

A transport implementation that uses Server-Sent Events (SSE) for receiving messages and HTTP POST requests for sending messages back to the server.

A transport implementation that uses standard input/output.

Mix Tasks

Mix task to test the SSE transport implementation, interactively sending commands.

Mix task to test the STDIO transport implementation.

Mix task to test the STDIO transport implementation, interactively sending commands.