Optional
callbacksOptional callbacks for MCP lifecycle events.
Function to call a specific tool with the provided parameters.
The name of the tool to call.
The data transfer object containing tool call parameters.
A promise resolving when the tool call is complete.
Optional
docOptional description of the MCP for documentation.
Function to list available tools for a client.
Unique name of the MCP.
Interface for the MCP schema, defining the structure and behavior of an MCP.