mcp
Model Context Protocol client for discovering and calling tools on external MCP servers. Loads server configurations from environment variables and provides tool discovery for the tool manager.
Used by cmd/worker, cmd/ui, cmd/seed-registry.
Usage
import "cruvero/internal/mcp"
configs := mcp.LoadConfigs()
Key Types / Interfaces
| Type | Source | Description |
|---|---|---|
Client | client.go | MCP protocol client: lists and calls tools on a server |
Tool | client.go | MCP tool definition: server name, tool name, description, schema |
ServerConfig | config.go | Server configuration: name, endpoint, transport, allowed endpoints |