project_eval
Evaluates Ruby code in the context of your running application, with access to its runtime, loaded dependencies, and in-memory data, returning the result plus anything printed to standard output. It's like a Rails console for the agent.
How to use it
project_eval is exposed by the Tidewave Rails MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the project_eval tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL TIDEWAVE RAILS LISTINGOther tools in Tidewave Rails (4)
Runs a SQL query against your app's development database and returns the rows to the agent.
Looks up the documentation for a class, method, or constant, reading from the exact gem versions locked in your app's Gemfile.lock.
Returns output from your running server's log.
Returns the file and line where a class, module, or method is defined, across both your app and its dependencies.