Skip to main content

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

TypeSourceDescription
Clientclient.goMCP protocol client: lists and calls tools on a server
Toolclient.goMCP tool definition: server name, tool name, description, schema
ServerConfigconfig.goServer configuration: name, endpoint, transport, allowed endpoints