Back to Home
seuros icon

action_mcp

Verified Safe

by seuros

Overview

Provides Model Context Protocol (MCP) server capabilities to Ruby on Rails applications, enabling AI assistants to interact with external data sources and tools via JSON-RPC over HTTP/SSE.

Installation

Run Command
bin/rails s -c mcp.ru -p 62770 -P tmp/pids/mcps0.pid

Environment Variables

  • POSTGRES_USER
  • POSTGRES_PASSWORD
  • POSTGRES_DB
  • REDIS_URL
  • JWT_SECRET
  • SHELL_COMMAND_WHITELIST
  • ENVIRONMENT_VAR

Security Notes

The project defaults to 'none' authentication in `config/mcp.yml`, which is a critical security vulnerability for production if not explicitly configured. While the documentation emphasizes user responsibility for security, this default is dangerous. Furthermore, example tools (e.g., `ExecuteCommandTool` in `test/dummy`) demonstrate direct `system` calls, which can lead to Remote Code Execution (RCE) if user input is not rigorously sanitized. The framework design, while providing strong input validation mechanisms (property DSL), also facilitates the creation of potentially dangerous tools. OAuth 2.1 support and awareness of issues like 'Confused Deputy' are positive, but the core setup requires significant security hardening by the developer.

Similar Servers

Stats

Interest Score49
Security Score5
Cost ClassMedium
Avg Tokens500
Stars77
Forks11
Last Update2025-12-03

Tags

RubyRailsMCPLLMAIServerAPIProtocolJSON-RPCAsync