yera.tools.mcp.namespace

Navigable namespace of configured MCP tools.

Symbols

def build_mcp_tool_namespace — Build the MCP tool namespace for selected servers.
class MCPToolNamespace — A navigable tree of MCP-backed Yera tools.

build_mcp_tool_namespace

build_mcp_tool_namespace(
    servers: Mapping[str, MCPServerConfig],
    catalogue: SQLiteMCPCatalogue,
) → MCPToolNamespace

Build the MCP tool namespace for selected servers.

Parameters

servers
type: Mapping[str, MCPServerConfig]

MCP server connections selected by the active profile.

catalogue
type: SQLiteMCPCatalogue

Open catalogue containing imported tool metadata.

Returns

type: MCPToolNamespace

A namespace containing fully qualified MCP tool paths.

MCPToolNamespace

Inherits: PathTree[MCPTool]

A navigable tree of MCP-backed Yera tools.