Skip to content

1.4.0 Context-efficient architecture with progressive tool discovery

Choose a tag to compare

@mariochavez mariochavez released this 11 Dec 00:06
· 24 commits to main since this release
8cdd206

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_tools and invoked via execute_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_level parameter: names | summary | full
  • Route filtering by controller, verb, or path
  • Batch operations for models and schemas

Full Changelog

See CHANGELOG.md for complete details.