mcp-server-local-rails-runner
If you are the rightful owner of mcp-server-local-rails-runner and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An MCP server that enables local execution of Rails console commands, providing tools for read-only operations and managed mutations in a local Rails environment.
The MCP Server: Local Rails Runner is designed to facilitate the execution of Rails console commands locally. It is particularly useful for developers who need to perform data wrangling and analysis without navigating complex Admin UIs. The server supports both read-only operations and controlled mutations, ensuring that changes to the database are carefully managed. It integrates seamlessly with tools like Cursor Composer, allowing users to pull in Rails model files as context and execute commands using tools like `execute_read_only`, `dry_run_mutate`, and `execute_mutate`. This setup is ideal for developers looking to streamline their workflow and manage their Rails environment efficiently.
Features
- Local Rails console execution
- Safe read-only operations
- Dry-run capability for mutations
- Execution of approved mutations
- Resource management for code snippets
Tools
execute_read_only
Perform read-only Rails console operations, analyze requests and return secure results
dry_run_mutate
Plan and verify potential change operations, create snippet resources containing proposed changes but do not execute
execute_mutate
Execute previously approved change code snippets, which require explicit approval from the user.