Class: ClaudeOnRails::MCPInstaller

Inherits:
Object
  • Object
show all
Defined in:
lib/claude_on_rails/mcp_installer.rb

Overview

Interactive installer for Rails MCP Server

Instance Method Summary collapse

Instance Method Details

#runObject



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/claude_on_rails/mcp_installer.rb', line 6

def run
  puts "\e[32m🚀 ClaudeOnRails MCP Server Setup\e[0m"
  puts "\e[32m#{'=' * 50}\e[0m"

  if MCPSupport.available?
    puts "\e[32m✓ Rails MCP Server is already installed\e[0m"
  else
    handle_installation
  end

  puts "\n\e[32m✅ Setup complete!\e[0m"
  show_next_steps
end