Module: SwaggerMCPTool

Defined in:
lib/swagger_mcp_tool/logging.rb,
lib/swagger_mcp_tool.rb,
lib/swagger_mcp_tool/config.rb,
lib/swagger_mcp_tool/server.rb,
lib/swagger_mcp_tool/api_client.rb,
lib/swagger_mcp_tool/auth_handler.rb,
lib/swagger_mcp_tool/tool_registry.rb,
lib/swagger_mcp_tool/swagger_client.rb,
lib/swagger_mcp_tool/tool_generator.rb,
lib/swagger_mcp_tool/helpers/request.rb,
lib/swagger_mcp_tool/helpers/tool_builder.rb,
lib/swagger_mcp_tool/helpers/tool_register.rb,
lib/swagger_mcp_tool/helpers/swagger_validator.rb,
lib/swagger_mcp_tool/helpers/parameter_processor.rb,
lib/swagger_mcp_tool/helpers/request_body_processor.rb

Overview

The SwaggerMCPTool module provides core functionality for the Swagger MCP Tool gem. It serves as a namespace for organizing related components, such as logging utilities, configuration management, and integration helpers for managing Swagger-based MCP services.

Defined Under Namespace

Modules: Helpers, Logging Classes: ApiClient, AuthHandler, Config, Error, Server, SwaggerClient, ToolGenerator, ToolRegistry

Class Method Summary collapse

Class Method Details

.configure(&block) ⇒ Object

Configure the server



18
19
20
# File 'lib/swagger_mcp_tool.rb', line 18

def self.configure(&block)
  Config.configure(&block)
end

.start_serverObject

Start the server with the current configuration



13
14
15
# File 'lib/swagger_mcp_tool.rb', line 13

def self.start_server
  Server.start
end