Rails MCP Server
UnclaimedA Ruby gem implementation of a Model Context Protocol (MCP) server for Rails projects. This server allows LLMs (Large Language Models) to interact with Rails projects through the Model Context Protocol.
Set up this server
01 / Choose your client
02 / Before you connect
Authentication is not specified. Check the project instructions before connecting.
Project instructions03 / Add the configuration
claude mcp add --transport stdio 'rails-mcp-server' -- 'npx' '-y' 'mcp-remote' 'http://localhost:6029/mcp/sse'04 / Check it in your client
Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.
More in AI & ML
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
12 of 12 tools
Documented tools (12)
From project documentation. A server handshake does not verify each tool’s description or behavior.
analyze_controller_views
Analyze controller-view relationships with optional Prism static analysis.
analyze_environment_config
Analyze environment configurations for inconsistencies and security issues.
analyze_models
Analyze Active Record models with associations, validations, and optional Prism static analysis.
execute_tool
Description: Invoke internal analyzers by name.
get_file
Retrieve the content of a specific file.
get_routes
Retrieve Rails routes with optional filtering.
get_schema
Retrieve database schema information.
list_files
List files matching a pattern in a directory.
load_guide
Load documentation guides from Rails, Turbo, Stimulus, Kamal, or Custom.
project_info
Retrieve comprehensive project information including Rails version, directory structure, and organization.
search_tools
Description: Discover available tools by category or keyword.
switch_project
Description: Change the active Rails project. Must be called before using other tools.
Tool change history
FAQ
Questions about Rails MCP Server
- How do I connect Rails MCP Server to Claude?
- Run `claude mcp add rails-mcp-server -- npx -y mcp-remote http://localhost:6029/mcp/sse` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
- Is Rails MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Rails MCP Server do?
- Rails MCP Server documents 12 tools to the agent, including analyze_controller_views, analyze_environment_config, analyze_models. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.