MCP Catalogs
Home

action_mcp

by seuros·113·Score 47

A Ruby gem that provides MCP server capabilities to Rails applications with robust production-ready network-based deployments.

developer-toolsai-llmops-infra
19
Forks
4
Open issues
this month
Last commit
2d ago
Indexed

Overview

ActionMCP is a Ruby gem focused on providing Model Context Protocol (MCP) capability to Ruby on Rails applications, specifically designed for production environments. Unlike many MCP implementations that rely on STDIO transport, ActionMCP is built for robust, network-based deployments making it suitable for production systems. The gem provides base classes and helpers for creating MCP applications, handling the boilerplate for MCP compliance while allowing developers to focus on their app's logic.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Building MCP servers for Rails applications that need to expose data and functionality to AI systems
you:Creating production-ready MCP integrations that require robust network-based connections
you:Developing custom MCP tools and prompts for Ruby/Rails applications with consent management and structured output
you:Does ActionMCP support STDIO transport?
you:What MCP protocol versions does ActionMCP support?

When to choose this

Choose ActionMCP if you're building Rails applications that need to expose tools, resources, and prompts to AI systems through MCP and want a production-ready solution without implementing MCP from scratch.

When NOT to choose this

Don't choose ActionMCP if you need STDIO transport for local development, require a non-Ruby solution, or need compatibility with MCP protocol versions prior to 2025-03-26.

Tools this server exposes

5 tools extracted from the README
  • calculate_sum

    Calculate the sum of two numbers

  • read_file

    Read contents of a file

  • price_quote

    Return a structured price quote

  • report_link

    Return a downloadable report link

  • batch_index

    Index many items asynchronously with progress updates

Comparable tools

rails-mcpruby-mcp-serverlangchain-rubysemantic-rails

Installation

Installation

Add ActionMCP to your Gemfile:

# Add gem to your Gemfile
$ bundle add actionmcp

# Install dependencies
bundle install

# Copy migrations from the engine
bin/rails action_mcp:install:migrations

# Generate base classes and configuration
bin/rails generate action_mcp:install

# Create necessary database tables
bin/rails db:migrate

Configuration

ActionMCP supports network-based MCP connections. To connect with Claude Desktop, add this to your config/mcp.yml:

development:
  servers:
    - name: action_mcp
      command: ["bundle", "exec", "rails", "server"]
      args: []
      env: {}

And in Claude Desktop configuration:

{
  "mcpServers": {
    "action_mcp": {
      "command": "ruby",
      "args": ["-e", "require 'action_mcp'; ActionMCP.start"]
    }
  }
}

FAQ

Does ActionMCP support STDIO transport?
No, ActionMCP does not support STDIO transport as it is designed for production-ready, network-based deployments. STDIO is only suitable for desktop or script-based use cases and is intentionally excluded.
What MCP protocol versions does ActionMCP support?
ActionMCP supports MCP 2025-06-18 (current) with backward compatibility for MCP 2025-03-26. It includes full compliance with JSON-RPC 2.0 transport, capability negotiation, error handling, session management, and change notifications.

Compare action_mcp with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.