mcp-server-ssh-rails-runner

mcp-server-ssh-rails-runner

3.4

If you are the rightful owner of mcp-server-ssh-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 secure remote execution of Rails console commands via SSH.

The SSH Rails Runner MCP server facilitates secure remote execution of Rails console commands over SSH. It is designed to support both read-only operations and controlled mutations within a deployed Rails environment. This server is particularly useful for developers who need to perform data wrangling and analysis without navigating complex Admin UIs. By integrating with tools like Cursor Composer, users can easily pull in Rails model files as context and utilize various execution tools to interact with the database. The server supports a Prepare -> Execute workflow, ensuring that all code snippets are reviewed before execution, especially for mutations.

Features

  • Remote Rails console execution over SSH
  • Safe read-only operations
  • Dry-run capability for mutations
  • Execution of approved mutations
  • Resource management for code snippets

Tools

  1. run_read_only

    Perform read-only Rails console operations, analyze requests and return secure results

  2. dry_run_mutate

    Plan and verify potential database changes, create change code snippets but do not execute

  3. execute_mutate

    Execute previously approved change code snippets, which require explicit approval from the user.