rails-mcp-server

maquina-app/rails-mcp-server
★ 514 stars Ruby 🤖 AI/LLM Updated 1mo ago
A Ruby gem implementation of a Model Context Protocol (MCP) server for Rails projects. This server allows LLMs (Large Language Models) to interact with Rails projects through the Model Context Protocol.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "rails-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "maquina-app/rails-mcp-server"
      ]
    }
  }
}

README Excerpt

A Ruby implementation of a Model Context Protocol (MCP) server for Rails projects. This server allows LLMs (Large Language Models) to interact with Rails projects through the Model Context Protocol, providing capabilities for code analysis, exploration, and development assistance. The Model Context Protocol (MCP) is a standardized way for AI models to interact with their environment. It defines a structured method for models to request and use tools, access resources, and maintain context during

Tools (20)

Useranalysis_typeanalyze_controller_viewsanalyze_environment_configanalyze_modelscategorycodedetail_levelexecute_rubyget_fileget_routesget_schemalist_filesload_guidelocalhostmodel_namemodel_namesparamsproject_infoproject_name