MCP server for Rails applications that exposes introspection tools for AI assistants to understand Rails architecture, models, routes, controllers, views, and Stimulus controllers
Rails-ai-bridge provides 22 tools with consistent naming (verb_noun pattern: rails_get_*, rails_search_*, rails_use_*) and reasonable descriptions (avg ~120 chars). All tools have input schemas with type definitions and parameter descriptions. However, output schemas are not documented in the source code provided, and several tools lack depth in parameter constraints (enums, ranges). Error handling guidance is minimal. The server demonstrates solid foundational quality but falls short of production-grade polish expected for A-tier tools.
Local CodeGraph symbol explanation tool requiring .codegraph/ directory
Introspection tool for Rails configuration including cache, session, middleware, and timezone settings
Introspection tool for full Rails application context
Introspection tool for Rails controllers with action counts, filters, and strong parameters
Introspection tool for Rails architecture patterns and conventions
Introspection tool for categorized gem analysis
Introspection tool for Rails model details including associations, validations, and scopes
Output schemas not documented. Tools return data but LLMs cannot plan downstream calls without knowing response structure. E.g., rails_get_schema, rails_get_routes, rails_search_code lack documented return types.
No-parameter tools (rails_get_config, rails_get_test_info, rails_get_gems, rails_get_conventions, rails_get_context, rails_list_registry, rails_list_context_providers) lack descriptions explaining what data they return and when to call them. Descriptions should guide discovery.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | 2026-07-28+ | v2 |
Tool to fetch context from external providers (idempotent_hint: false, open_world_hint: true)
Introspection tool for Rails routes with controller filtering and pagination
Introspection tool for database schema with support for detail levels (summary/standard/full), table filtering, and pagination
Introspection tool for Stimulus controllers including targets, values, actions, outlets, and classes
Introspection tool for test framework, factories, and CI configuration
Introspection tool for Rails views including layouts, templates, partials, helpers, and view components
Tool to list all available context providers
Tool to list available registry entries and context providers
Data access tool for querying Rails models (optional, requires enable_data_tools: true)
Data access tool for reading Rails logs (optional, requires enable_data_tools: true)
Tool to resolve and retrieve skill definitions from the registry
Codebase search tool supporting regex patterns, file type filtering, and result limits
Semantic code search tool for finding related code patterns
Tool to invoke an AI agent for complex tasks
Tool to execute a registered skill with provided arguments
Parameter constraints missing. 'detail' enum is present but other parameters lack ranges/patterns. E.g., rails_search_code max_results has no upper bound; rails_get_schema limit/offset lack min/max. Unbounded numbers invite absurd LLM inputs.
Error handling guidance absent. Tools provide no recovery hints (e.g., 'If model not found, try rails_search_code to locate it'). LLMs cannot self-correct without actionable error messages.
STDIO transport only. Server is not remotely accessible and cannot be used by hosted MCP clients. Limits deployment flexibility and testing.