zoedsoupe
update (since 2025-07-24)
the project got forked and rebranded to anubis-mcp, since i not on CloudWalk anymore and can’t ensure they will have interest of maintaining the original project. the fork happened from the v0.13.0 and i’m tracking the opened issues on hermes while developing new features and following the feedback from this thread. thanks for the attention!
original description
Hey folks!
I would like to introduce hermes-mcp, a comprehensive elixir implementation of the https://spec.modelcontextprotocol.io/ that we’ve been building and using in production at CloudWalk. MCP enables standardized communication between LLMs and external tools, and we’re excited to share what we’ve built with the community.
current state & protocol support
hermes provides both client and server implementations with full support for the MCP spec:
- draft & 2024-11-05 spec: complete implementation
- 2025-03-26 spec: partial (missing OAuth authentication)
- 2025-06-18 spec: on the roadmap
client architecture
the client supports multiple transport layers:
- STDIO
- SSE (Server-Sent Events)
- WebSocket
- Streamable HTTP
what’s interesting about the architecture is how it leverages OTP patterns. each client runs as a supervised process tree:
Client.Supervisor
├── Client.Base (handles MCP protocol and state management)
└── Transport Process (manages I/O and acts like a bridge between external world and the client process)
you can use it either as a long-running process or spawn one-off clients for specific tasks. the supervision strategy ensures fault tolerance based on the :one_for_all strategy.
server architecture
the server implementation supports:
- STDIO, SSE, and Streamable HTTP transports
- direct integration with Plug/Phoenix applications
- component-based design for tools, prompts, and resources
- low level implementation or higher-level where the library handle most of the requests/notifications
the server supervision tree adapts based on transport type:
Server.Supervisor
├── Session.Supervisor (for HTTP transports)
├── Server.Base (protocol handler)
└── Transport Process
production usage
we’re currently running hermes in production at CloudWalk, powering capabilities for JIM, our financial assistant serving hundreds of thousands of users across Brazil. our setup includes:
- as MCP client: both local and clusterized deployments providing server capabilities to JIM
- as MCP server (in progress): building a clusterized implementation using Horde for JIM to expose capabilities to external clients like Claude Desktop
why elixir for MCP?
Have you thought about how elixir’s concurrency model maps perfectly to MCP’s architecture? each session gets its own supervised process, state management is clean through genservers, and the fault tolerance means a single bad request won’t bring down your integration. plus, with libraries like Horde, we can easily distribute MCP servers across nodes.
looking for community input
some questions we’re exploring:
- what patterns have you found useful for managing stateful connections with external services?
- how are you handling protocol version negotiation in your APIs?
- anyone else working with MCP or similar AI tool protocols?
we’d particularly love feedback on:
- the component-based server design (using use
Hermes.Server.Component) - our approach to transport abstraction and supervision tree architecture
- ideas for the clusterized server implementation and possible edge cases/caveats
The library is available on
https://github.com/zoedsoupe/anubis-mcp
Documentation is on anubis_mcp v1.6.2 — Documentation
What challenges are you facing with LLM integration that MCP and maybe hermes-mcp might help solve?
Trending in Announcing
Other Trending Topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #blog-post
- #phoenix_html
- #iex
- #graphql
- #ai
- #genstage
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex











First 10 of 27 Posts
zachdaniel
Looks cool! Curious if there is a way to add tools that does not involve defining modules? i.e tools derived at runtime?
byu
I’m linking to Zach’s comment in the Vancouver thread for additional context, which I’m guessing that the above question is to figure out if/how AshAI can auto generate “Tools derived from Ash Resource actions/DSL” to be served by a Hermes server?
byu
I’ll also say that @zoedsoupe
has been very responsive to, and providing answers/fixes/improvements to, inquiries in my own journey/experience/experimentation Hermes in my own project.
zoedsoupe
i’ve started a more in deep discussion on your open github issue but it could also benefit from moving it to here - although hermes-mcp seems to have more visibility on the github side…
https://github.com/cloudwalk/hermes-mcp/issues/141#issuecomment-3008984898
zoedsoupe
hey @zachdaniel, now we have runtime server components registration feature: wdyt?
https://github.com/cloudwalk/hermes-mcp/pull/153
need to update documentation accordingly though
zachdaniel
It looks good at first glance, will need to see if I can get someone to try it out or find some time myself
zachdaniel
I won’t have time myself, happy to advise someone on integrating these two tools and consider using ti as part of Ash AI
netProphET
I’ve gotten a proof of concept working of a Hermes.Server that can register and call AshAi tools. It’s enough of a “walking skeleton” that it seems worth exploring further.
lud
Hello, I’m playing with the echo example. I may be wrong but it seems that the MCP “transport” is not registered with an unique name, but with
{:via, Registry, {Hermes.Server.Registry, {:transport, EchoMCP.Server, :sse}}}, meaning that all connected clients will use the same server right?And then this server will make another GenServer.call in
forward_request_to_serverto another GenServer, which seem to be the actual server, which copies de input data once more. There are dynamic sessions processes but I don’t know how everything works yet.I think this could be simplified because that transport GenServer looks like a bottleneck.
zoedsoupe
we’re kinda discussing that on the following github issue, wdyt?
https://github.com/cloudwalk/hermes-mcp/issues/179#issuecomment-3062557394