Skip to main content
Glama

hypertool-mcp

toolset-delegate.tsโ€ข1.06 kB
/** * Common interface for toolset delegates (ToolsetManager and PersonaManager) * * This interface allows configuration tools to work uniformly with both * regular toolsets (ToolsetManager) and persona toolsets (PersonaManager) * depending on the current activation state. */ import type { ListSavedToolsetsResponse, EquipToolsetResponse, GetActiveToolsetResponse, } from "../schemas.js"; /** * Common interface for toolset operations * Implemented by both ToolsetManager and PersonaManager */ export interface IToolsetDelegate { /** * List available toolsets */ listSavedToolsets(): Promise<ListSavedToolsetsResponse>; /** * Equip/activate a toolset */ equipToolset(name: string): Promise<EquipToolsetResponse>; /** * Get information about currently active toolset */ getActiveToolset(): Promise<GetActiveToolsetResponse>; /** * Check if a toolset is currently active */ hasActiveToolset(): boolean; /** * Get the delegate type for context */ getDelegateType(): "regular" | "persona"; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/toolprint/hypertool-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server