1.4.0 Context-efficient architecture with progressive tool discovery
This major release reduces initial context consumption by 67% through a new progressive tool discovery architecture, based on Anthropic's MCP best practices.
Highlights
Context-Efficient Architecture
- Reduced registered MCP tools from 12 to 4 bootstrap tools
- 9 internal analyzers discovered on-demand via
search_toolsand invoked viaexecute_tool - Significantly reduces token usage when working with AI assistants
Sandboxed Ruby Execution
New execute_ruby tool allows secure code execution in Rails context with:
- File/network/system call restrictions
- Sensitive file protection (.env, credentials, .gitignore'd files)
- Helper methods:
read_file,file_exists?,list_files,project_root
Interactive Configuration Tool
New rails-mcp-config TUI for:
- Project management with validation
- Guide downloading with progress indicators
- Claude Desktop auto-configuration (STDIO/HTTP modes)
- Gum-enhanced UI with terminal fallback
Rails Introspection (replaces regex parsing)
- Uses actual Rails APIs (
reflect_on_all_associations,validators,action_methods) - More accurate model and controller analysis
- Prism-based static analysis for callbacks, scopes, and concerns
Output Optimization
- New
detail_levelparameter: names | summary | full - Route filtering by controller, verb, or path
- Batch operations for models and schemas
Full Changelog
See CHANGELOG.md for complete details.