get_file
Retrieve the content of a specific file.
How to use it
Project documentation lists get_file for the Rails MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.
Install Rails MCP Server
npx mcp-remote http://localhost:6029/mcp/sseOther tools in Rails MCP Server (11)
Analyze controller-view relationships with optional Prism static analysis.
Analyze environment configurations for inconsistencies and security issues.
Analyze Active Record models with associations, validations, and optional Prism static analysis.
Description: Invoke internal analyzers by name.
Retrieve Rails routes with optional filtering.
Retrieve database schema information.
List files matching a pattern in a directory.
Load documentation guides from Rails, Turbo, Stimulus, Kamal, or Custom.
Retrieve comprehensive project information including Rails version, directory structure, and organization.
Description: Discover available tools by category or keyword.
Description: Change the active Rails project. Must be called before using other tools.