Claudio.MCP.Adapters.HermesMCP (Claudio v0.5.0)

View Source

Adapter for the hermes_mcp (anubis-mcp) library.

Requires {:hermes_mcp, "~> 0.14"} in your dependencies.

The client argument is a {module, client} tuple where module is the Hermes client module and client is the client reference (PID or struct).

Note: This adapter is untested without hermes_mcp installed. It will return {:error, :hermes_mcp_not_available} if the library is not available.

Usage

# Start a Hermes client (see hermes_mcp docs)
{:ok, pid} = MyHermesClient.start_link(transport: {:stdio, command: "server"})

# Use via the adapter with {module, client} tuple
client = {MyHermesClient, pid}
{:ok, tools} = Claudio.MCP.Adapters.HermesMCP.list_tools(client)