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.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rails-routes-mcpWhere is the GET /products route defined?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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: JetBrains MCP Bridge
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.
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.
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceExposes Language Server Protocol (LSP) features as MCP tools, enabling IDE-grade semantic navigation including go-to-definition, find references, hover info, and symbols across multiple programming languages (Python, Rust, C/C++, TypeScript/JavaScript, React, HTML, CSS).3MIT
- FlicenseNot gradedqualityDmaintenanceA bridge that enables MCP clients like Cascade and Windsurf to interact with tools and features within JetBrains IDEs. It facilitates communication between the client and the IDE via an SSE connection on a dedicated local port.-
- AlicenseNot gradedqualityBmaintenanceEnables 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
- AlicenseAqualityBmaintenanceEnables AI assistants to search, analyze, and understand multi-language codebases by providing indexed code intelligence via MCP.161,287 npm7MIT