{"type":"mcp_server","name":"rails-mcp-server","description":"This repository provides a Rails MCP server, enabling AI models to interact with Rails projects using the Model Context Protocol for code analysis, exploration, and assistance. It manages projects, browses","category":"Developer Tools","language":"Ruby","stars":564,"forks":4,"owner":"maquina-app","github_url":"https://github.com/maquina-app/rails-mcp-server","homepage":null,"setup":"## Setup\n\n1.  Install the gem: `gem install rails-mcp-server`\n2.  Configure your projects by editing the `projects.yml` file in your config directory (either `$XDG_CONFIG_HOME/rails-mcp` or `~/.config/rails-mcp` on macOS, or `%APPDATA%\\rails-mcp` on Windows) to include your Rails projects.\n3.  For Claude Desktop integration, either run the setup script `rails-mcp-setup-claude` or manually configure the Claude Desktop configuration file.\n4.  If using a Ruby version manager, create a symbolic link to your Ruby shim to ensure the correct version is used.\n5.  Start the server: `rails-mcp-server`","tools":"## Available Tools\n\n1.  Manage multiple Rails projects (Allows managing different Rails projects).\n2.  Browse project files and structures (Enables exploring the project's file system).\n3.  View Rails routes (Provides access to the defined routes in the Rails application).\n4.  Inspect model information (Allows examining the structure and associations of Rails models).\n5.  Get database schema information (Provides access to the database schema of the Rails project).\n6.  `switch_project` (Change the active Rails project to interact with a different codebase).\n7.  `get_project_info` (Retrieve comprehensive information about the current Rails project).\n8.  `list_files` (List files in the Rails project matching specific criteria).\n9.  `get_file` (Retrieve the complete content of a specific file with syntax highlighting).\n10. `get_routes` (Retrieve all HTTP routes defined in the Rails application).\n11. `get_models` (Retrieve detailed information about Active Record models in the project).\n12. `get_schema` (Retrieve database schema information for the Rails application).","faq":null,"created_at":"2025-03-20T18:20:37+00:00","updated_at":"2025-03-28T19:05:54+00:00","source_url":"https://model-context-protocol.com/servers/rails-mcp-server-ai-model-interaction","related_articles":[]}