API Reference hermes_mcp v0.3.3

Modules

CLI entry point for the Hermes MCP standalone binary.

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

Represents a pending request in the MCP client.

Manages state for the Hermes MCP client.

HTTP utilities.

Represents errors in the MCP protocol.

Utilities for working with MCP message identifiers.

Handles encoding and decoding of MCP protocol messages.

Represents successful responses in the MCP protocol.

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.

URI utilities for handling URL paths consistently.

Standalone CLI application for Hermes MCP interactive shells.

Common command implementations for interactive MCP shells.

Base functionality for interactive MCP shells.

Common UI elements and formatting functions for interactive MCP shells.

Mix Tasks

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

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