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.
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.
Is it safe?
No package registry to scan for CVEs.
No authentication — any process on your machine can connect to this server.
MIT. View license →
Last scanned 0 days ago.
Is it maintained?
Last commit 3 days ago. 525 GitHub stars.
Will it work with my client?
Transport: stdio, sse, http. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
How much context will it use?
8 tools. Estimated ~400 tokens of your context window (0.2% of 200K).
What if it doesn't work?
Common issues: JSON syntax errors in config, network or firewall blocking. Setup guide covers troubleshooting. Or check GitHub issues for known problems.
{
"mcpServers": {
"railsMcpServer": {
"args": [
"/full/path/to/rails-mcp-server/exe/rails-mcp-server"
],
"command": "ruby"
}
}
}No automated test available for this server. Check the GitHub README for setup instructions.
switch_projectSwitch between configured Rails projects
browse_filesBrowse project files and structures
view_routesView Rails routes with filtering options
inspect_modelsInspect model information and relationships using Prism static analysis
get_schemaGet database schema information
analyze_controllersAnalyze controller-view relationships
analyze_environmentAnalyze environment configurations
execute_codeExecute sandboxed Ruby code for custom queries
rails_documentationComprehensive Rails documentation
rails://docs
turbo_documentationTurbo framework documentation
turbo://docs
stimulus_documentationStimulus JavaScript framework documentation
stimulus://docs
kamal_documentationKamal deployment documentation
kamal://docs
Last scanned just now
No known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.