Function: toolsetToMcpTools()
Makaio Framework / tools-core / toolsetToMcpTools
Function: toolsetToMcpTools()
Section titled “Function: toolsetToMcpTools()”toolsetToMcpTools(
toolset):McpToolDefinition[]
Defined in: ../../../tools/core/src/export.ts:152
Converts all tools in a Toolset to MCP format.
Parameters
Section titled “Parameters”toolset
Section titled “toolset”Makaio toolset
Returns
Section titled “Returns”Array of MCP-compatible tool definitions
Example
Section titled “Example”const mcpTools = toolsetToMcpTools(filesystemToolset);// Returns array of MCP tool definitions for all tools in the toolset