Tidewave Rails is an MCP server that provides runtime-level tools for developing Ruby on Rails apps using coding agents.
Your agent will be able to use this MCP server to talk to your running Rails app in development to:
- execute code in the context of the running app (like a Rails console for agents)
- read the app's live logs
- query your development database
- get source locations of classes and methods
- read documentation pinned to the exact gem versions your app depends on
This MCP server is an open-source component of Tidewave, the agentic development environment for Rails and Phoenix.
You can use this project as a standalone MCP server or integrated with the Tidewave product by following the instructions below.
You can add Tidewave Rails to your app by running:
bundle add tidewave --group developmentor by manually adding the tidewave gem to the development group in your Gemfile:
gem "tidewave", group: :developmentAdd the Tidewave MCP server to your editor or MCP client configuration as the type "http" (streamable), pointing to the /tidewave/mcp path and port your web application is running at. For example, http://localhost:3000/tidewave/mcp.
We also have specific instructions for:
As with any other MCP server, your agent will call the tools exposed by the Tidewave MCP whenever it sees fit. But you can also prompt it to call them explicitly.