LLM interaction server for Rails projects
Top 88.9% on sourcepulse
This project provides a Ruby gem implementing a Model Context Protocol (MCP) server for Rails applications, enabling Large Language Models (LLMs) to interact with and analyze Rails codebases. It targets developers and AI engineers seeking to integrate LLMs into their Rails development workflow for tasks like code exploration, documentation access, and configuration analysis.
How It Works
The server implements the MCP specification, allowing LLMs to request and utilize tools for interacting with Rails projects. It supports both STDIO and HTTP modes, offering JSON-RPC and Server-Sent Events (SSE) endpoints in HTTP mode. The core functionality revolves around a suite of tools that provide access to project structure, files, routes, models, database schema, controller-view relationships, and environment configurations. It also facilitates loading documentation for Rails, Turbo, Stimulus, and Kamal.
Quick Start & Requirements
gem install rails-mcp-server
projects.yml
to list Rails project paths.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
Ruby version manager users must configure Claude Desktop to use the correct Ruby shim path to avoid startup failures. The --bind-all
flag for HTTP mode should only be used on trusted networks due to increased attack surface.
1 week ago
Inactive