Class: SchwabMCP::Server
Instance Method Summary collapse
-
#initialize ⇒ Server
constructor
A new instance of Server.
- #start ⇒ Object
Methods included from Loggable
#log_debug, #log_error, #log_fatal, #log_info, #log_warn, #logger
Constructor Details
Instance Method Details
#start ⇒ Object
65 66 67 68 69 70 71 72 |
# File 'lib/schwab_mcp.rb', line 65 def start configure_mcp log_info("Starting Schwab MCP Server #{SchwabMCP::VERSION}") log_info("Available tools: #{TOOLS.map { |tool| tool.name.split('::').last }.join(', ')}") log_info("Logs will be written to: #{log_file_path}") transport = MCP::Transports::StdioTransport.new(@server) transport.open end |