Elixir SDK for Model Context Protocol
Top 98.4% on sourcepulse
Hermes MCP is an Elixir SDK for the Model Context Protocol (MCP), offering robust client and server implementations. It targets developers building AI-powered applications that need to integrate LLMs with external tools, leveraging Elixir's concurrency and fault tolerance for high-performance communication.
How It Works
The library provides Hermes.Server
and Hermes.Client
modules. Servers define capabilities and tools with input schemas, handling tool calls via handle_tool
callbacks. Clients are configured with a base URL and can call tools directly. The implementation utilizes Elixir's actor model and supervision trees for managing connections and requests, enabling efficient, fault-tolerant communication over protocols like streamable_http
.
Quick Start & Requirements
{:hermes_mcp, "~> 0.13.0"}
to your mix.exs
dependencies.Hermes.Server
, register tools, and add it to your application's supervisor. For HTTP, forward requests in your Plug/Phoenix router.Hermes.Client
, configure its transport, and add it to your supervisor.Highlighted Details
streamable_http
transport.Maintenance & Community
The project is maintained by cloudwalk. Further community or roadmap information is not detailed in the README.
Licensing & Compatibility
Limitations & Caveats
The README indicates version ~> 0.13.0
, suggesting it is a relatively new library. Specific details on supported MCP protocol versions beyond the example 2025-03-26
are not explicitly stated.
23 hours ago
Inactive