Module: Sidekiq::Mcp

Defined in:
lib/sidekiq/mcp.rb,
lib/sidekiq/mcp/tool.rb,
lib/sidekiq/mcp/tools.rb,
lib/sidekiq/mcp/routes.rb,
lib/sidekiq/mcp/server.rb,
lib/sidekiq/mcp/railtie.rb,
lib/sidekiq/mcp/version.rb,
lib/sidekiq/mcp/middleware.rb,
lib/sidekiq/mcp/sse_middleware.rb,
lib/sidekiq/mcp/tools/kill_job_tool.rb,
lib/sidekiq/mcp/tools/dead_jobs_tool.rb,
lib/sidekiq/mcp/tools/retry_job_tool.rb,
lib/sidekiq/mcp/tools/remove_job_tool.rb,
lib/sidekiq/mcp/tools/clear_queue_tool.rb,
lib/sidekiq/mcp/tools/failed_jobs_tool.rb,
lib/sidekiq/mcp/tools/job_details_tool.rb,
lib/sidekiq/mcp/tools/process_set_tool.rb,
lib/sidekiq/mcp/tools/queue_health_tool.rb,
lib/sidekiq/mcp/tools/stream_stats_tool.rb,
lib/sidekiq/mcp/tools/queue_details_tool.rb,
lib/sidekiq/mcp/tools/sidekiq_stats_tool.rb,
lib/sidekiq/mcp/tools/workers_count_tool.rb,
lib/sidekiq/mcp/tools/reschedule_job_tool.rb,
lib/sidekiq/mcp/tools/job_class_stats_tool.rb,
lib/sidekiq/mcp/tools/list_retry_jobs_tool.rb,
lib/sidekiq/mcp/tools/list_scheduled_jobs_tool.rb

Defined Under Namespace

Modules: Tools Classes: Configuration, Error, Middleware, Railtie, Routes, Server, SseMiddleware, Tool, ToolsRegistry

Constant Summary collapse

VERSION =
"0.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



23
24
25
# File 'lib/sidekiq/mcp.rb', line 23

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



26
27
28
29
# File 'lib/sidekiq/mcp.rb', line 26

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end