class LittleGhost::MCP::Toolset

Connects one MCP server to an Agent as a reusable Tool provider. Each Agent run gets its own connection. map_tool chooses and configures the generated Tool classes; map_result converts results that need application-specific handling.

class HelpCenterTools < LittleGhost::MCP::Toolset
  connection url: "https://mcp.example/rpc", timeout: 20
end

class CustomerSupportAgent < LittleGhost::Agent
  tools HelpCenterTools
end