@cubie-ai/solana-mcp - v1.3.2
    Preparing search index...

    Function buildToolHandler

    • Returns a function that can be safely registered with an MCP server. The function will call the tool method and convert the results so that they adhere to the protocol.

      Type Parameters

      Parameters

      • tool: ToolMethod<T>
      • context: T

      Returns (args: any) => Promise<{ [key: string]: unknown }>