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: code-auditor-mcp
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
Hosted MCP for live place search, geocoding & turn-by-turn routes. No Maps API key to manage.
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.
1Hosted code graph over MCP: exact callers, dependencies, and cross-repo blast radius for AI agents.
Related MCP Servers
- 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
- AlicenseAqualityAmaintenanceEnables AI assistants to search, analyze, and understand multi-language codebases by providing indexed code intelligence via MCP.161,086 npm8MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to perform hybrid semantic and lexical code search across multiple repositories, retrieve symbol definitions and call hierarchies, and manage repository relations through MCP tools.Apache 2.0
- AlicenseNot gradedqualityAmaintenanceProvides AI coding agents with ground truth about a Rails app via 45 read-only tools covering schema, models, routes, controllers, views, jobs, and conventions, working over MCP or CLI and functioning even when the app cannot boot.163MIT