Rails MCP Server
未认领A 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.
01 / 选择客户端
03 / 添加配置
claude mcp add --transport stdio 'rails-mcp-server' -- 'npx' '-y' 'mcp-remote' 'http://localhost:6029/mcp/sse'04 / 在客户端中确认
打开客户端的 MCP 设置,确认服务器已连接并列出工具。复制配置不代表连接成功。
更多AI & ML服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
12 个工具中显示 12 个
文档中列出的工具 (12)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
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.