Using #Tidewave (https://tidewave.ai/) for #ElixirLang and #Ruby in #Emacs turns out to be straightforward with https://github.com/karthink/gptel and https://github.com/lizqwerscott/mcp.el.
Just add tidewave package and gem to mix.exs and Gemfile and
(use-package mcp
:ensure t
:vc (:url "https://github.com/lizqwerscott/mcp.el" :rev :newest)
:init
(progn
(setq mcp-hub-servers
'(("tidewave-elixir" . (:url "http://localhost:4000/tidewave/mcp"))
("tidewave-rails" . (:url "http://localhost:3000/tidewave/mcp"))))
)
)
(use-package gptel
:ensure t
:defer t
:init
(require 'gptel-integrations)
)
to you're configuration and you're ready to go.
