Method: Explicit::MCPServer::Router#handle
- Defined in:
- lib/explicit/mcp_server/router.rb
#handle(request) ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/explicit/mcp_server/router.rb', line 10 def handle(request) case request.method when "ping" then noop(request) when "initialize" then initialize_(request) when "notifications/initialized" then noop(request) when "tools/list" then tools_list(request) when "tools/call" then tools_call(request) else noop(request) end end |