rails-mcp-server

rails-mcp-server

129

The Rails MCP Server is a Ruby-based server that facilitates interaction between AI models and Ruby on Rails projects through the Model Context Protocol. It provides features like code exploration, database schema analysis, and integration with tools like Claude Desktop for enhanced project management.

switch_project

Switch the currently active Rails project

get_project_info

Get information about the current Rails project, including version, directory structure, and configuration

list_files

List files in Rails projects, support directory paths and schema filtering

get_file

Get the content of the specified file in the project, support syntax highlighting

get_routes

Get all routes defined in the Rails project

get_models

Get information about models in Rails projects, including architecture, associations, and definitions

get_schema

Get the database schema or schema of a specific table for a Rails project