Back to Home
vrerv icon

rails_mcp_engine

by vrerv

Overview

A Rails engine for defining, generating, and running AI/LLM tools, integrated with Model Context Protocol (MCP) clients and a web playground/chat interface.

Installation

Run Command
bundle exec rails server -p 4000

Environment Variables

  • OPENAI_API_KEY
  • GEMINI_API_KEY
  • GOOGLE_API_KEY
  • ANTHROPIC_API_KEY
  • RAILS_ENV
  • DEFAULT_DOMAIN

Security Notes

The server explicitly allows dynamic execution of arbitrary Ruby code (via `class_eval`) provided by users through its web-based playground interface. This constitutes a severe Remote Code Execution (RCE) vulnerability if the application is exposed to untrusted users or if developers paste malicious code. The README warns about this risk, stating 'only run trusted tool source', but the capability itself is fundamentally insecure for general deployment.

Similar Servers

Stats

Interest Score32
Security Score1
Cost ClassHigh
Avg Tokens750
Stars1
Forks0
Last Update2025-12-04

Tags

RubyRailsAILLM ToolingModel Context Protocol