Skip to main content

AI Tools — Maquina

MCP servers and AI integrations for Rails development. Connect LLMs to your codebase, editor, and development workflow.

MCP servers and AI integrations that connect LLMs to your Rails development workflow. Analyze code, access documentation, and coordinate changes across tools.


Available Tools


What is MCP?

The Model Context Protocol (MCP) is a standardized way for AI models to interact with their environment. It defines how models request and use tools, access resources, and maintain context.

MCP servers expose tools that AI assistants can call:

# Example: AI assistant analyzes a Rails model
execute_tool(tool_name: "analyze_models", params: { model_name: "User" })

Supported Clients

  • Claude Desktop
  • Any MCP-compatible client
  • Custom integrations via HTTP/SSE mode

Getting Started

1. Install an MCP Server

gem install rails-mcp-server

2. Configure Your Client

For Claude Desktop, add to claude_desktop_config.json:

{
  "mcpServers": {
    "railsMcpServer": {
      "command": "rails-mcp-server"
    }
  }
}

3. Start Using Tools

In Claude Desktop, the MCP server tools become available automatically. Ask Claude to:

  • “Analyze the User model in my Rails project”
  • “Show me the routes for the orders controller”
  • “What’s the database schema for the products table?”

Architecture

MCP servers communicate via JSON-RPC 2.0:

Mode Use Case
STDIO Direct integration with Claude Desktop
HTTP/SSE Web-based clients, remote access

The Rails MCP Server uses a context-efficient design with 4 bootstrap tools that enable progressive discovery of internal analyzers.