rails-routes-mcp
Allows RubyMine's AI assistant to search and inspect Rails routes, returning file and line information for jumping to the corresponding controller action.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
rails-routes-mcp
Two MCP tools over a Rails route table. Ruby. Stdio.
RubyMine 2025.2+ is already an MCP server. This is the other direction: a small server the IDE’s assistant can attach as a client.
Design rule from JetBrains, Feb 2026: paginate, filter, return file and line. Don’t dump bin/rails routes.
Fifteen-route shop catalog so CI doesn’t need a Rails app.
Tools
Tool | Returns |
| page of routes ( |
| one route by verb+path, plus |
Related MCP server: rails-ai-context
RubyMine
Settings → Tools → MCP Server → stdio:
{
"mcpServers": {
"rails-routes": {
"command": "ruby",
"args": ["/absolute/path/to/rails-routes-mcp/bin/rails-routes-mcp"]
}
}
}Eval
ruby evals/run.rbA full rails routes dump is 4.83× a typical shaped page. 8/8 queries can fill show_route from verb / path / file / line.
ruby -Itest test/catalog_test.rb test/server_test.rbNo Bundler. MRI 3.1. The official Ruby MCP SDK is the right move if you want HTTP inside Rails; this slice is stdio on purpose.
Demo
Live: https://01a05643-d6bf-7a9d-9634-4f367e3a2682.skydive.app/rails_routes_mcp
pip install -r requirements.txt
streamlit run app.pyMIT. Ashley Gross, 2026.
This server cannot be deployed
Maintenance
Related MCP Connectors
The OpenRouter MCP server plugs OpenRouter into the AI tools you already use. Once connected, your assistant can pull live OpenRouter data (models, prices, your credits, rankings, and docs) and send quick test messages, all without leaving your editor.
Start and manage Reason cloud coding agents, projects and sessions from any MCP client.
Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.
Flight search MCP server providing search, pagination, and itinerary details for AI assistants.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI clients to perform local code search, indexing, and analysis across Java, JavaScript/TypeScript, .NET/C#, and Python projects through the MCP protocol.1Apache 2.0
- AlicenseAqualityAmaintenanceLets AI coding agents ask a Rails app about itself: 35 read-only tools answer from the schema, models, routes, controllers, views, jobs and conventions, over MCP or the command line, even when the app cannot boot.635171MIT
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to index and search multi-project codebases through semantic and full-text retrieval, symbol lookup, and reference search via a local MCP endpoint.MIT
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients and AI coding agents to query a running editor instance for real-time LSP diagnostics, symbol/type information, references, file opening, and workspace-wide symbol renaming, avoiding slow tsc/eslint runs.-