action_mcp

action_mcp

3.5

If you are the rightful owner of action_mcp 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.

ActionMCP is a Ruby gem that provides Model Context Protocol (MCP) capabilities to Ruby on Rails applications, specifically as a server.

ActionMCP is a Ruby gem designed to integrate Model Context Protocol (MCP) capabilities into Ruby on Rails applications, focusing on production environments. It does not support STDIO transport, as it is not suitable for production use. Instead, ActionMCP is built for robust, network-based deployments, allowing client connections to remote MCP servers. The gem provides base classes and helpers to simplify the integration of Ruby/Rails applications with the MCP standard, enabling developers to focus on application logic while ensuring MCP compliance. ActionMCP handles the underlying MCP message format and routing, making it easier to build an MCP server that exposes capabilities to AI systems. The gem includes core components like Prompts, Tools, and ResourceTemplates, which can be subclassed and configured to expose application functionality to large language models (LLMs).

Features

  • Network-based Deployments: Designed for robust, production-ready network-based deployments, excluding STDIO transport.
  • Core Components: Provides base classes like Prompts, Tools, and ResourceTemplates for easy MCP integration.
  • Client Connections: Supports connections to remote MCP servers, not local processes.
  • Configuration Flexibility: Configurable via Rails application settings, supporting dynamic versioning and pub/sub systems.
  • Thread Pool Management: Efficiently handles message callbacks with configurable thread pools.