Module: RailsMcpInsight
- Defined in:
- lib/rails_mcp_insight.rb,
lib/rails_mcp_insight/server.rb,
lib/rails_mcp_insight/version.rb,
lib/rails_mcp_insight/configuration.rb,
lib/rails_mcp_insight/project_detector.rb,
lib/rails_mcp_insight/tools/audit_gems.rb,
lib/rails_mcp_insight/tools/find_tests.rb,
lib/rails_mcp_insight/tools/analyze_job.rb,
lib/rails_mcp_insight/tools/list_models.rb,
lib/rails_mcp_insight/tools/search_code.rb,
lib/rails_mcp_insight/tools/generate_erd.rb,
lib/rails_mcp_insight/tools/analyze_model.rb,
lib/rails_mcp_insight/tools/search_routes.rb,
lib/rails_mcp_insight/tools/trace_request.rb,
lib/rails_mcp_insight/analyzers/ast_parser.rb,
lib/rails_mcp_insight/tools/check_security.rb,
lib/rails_mcp_insight/tools/stats_overview.rb,
lib/rails_mcp_insight/tools/find_definition.rb,
lib/rails_mcp_insight/analyzers/gem_analyzer.rb,
lib/rails_mcp_insight/analyzers/job_analyzer.rb,
lib/rails_mcp_insight/analyzers/code_searcher.rb,
lib/rails_mcp_insight/analyzers/test_analyzer.rb,
lib/rails_mcp_insight/analyzers/model_analyzer.rb,
lib/rails_mcp_insight/analyzers/route_analyzer.rb,
lib/rails_mcp_insight/tools/analyze_controller.rb,
lib/rails_mcp_insight/analyzers/security_analyzer.rb,
lib/rails_mcp_insight/analyzers/migration_analyzer.rb,
lib/rails_mcp_insight/formatters/mermaid_formatter.rb,
lib/rails_mcp_insight/analyzers/controller_analyzer.rb,
lib/rails_mcp_insight/tools/analyze_migration_history.rb,
lib/rails_mcp_insight/tools/explain_association_chain.rb
Defined Under Namespace
Modules: Analyzers, Formatters, Tools Classes: Configuration, Error, ProjectDetector, Server
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
- .root ⇒ Object
-
.start(project_path: Dir.pwd) ⇒ Object
Start the MCP server for the given project directory.
Class Method Details
.root ⇒ Object
44 45 46 |
# File 'lib/rails_mcp_insight.rb', line 44 def root @root ||= File.("..", __dir__) end |
.start(project_path: Dir.pwd) ⇒ Object
Start the MCP server for the given project directory
49 50 51 52 53 |
# File 'lib/rails_mcp_insight.rb', line 49 def start(project_path: Dir.pwd) config = Configuration.new(project_path: project_path) server = Server.new(config) server.start end |