import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { Action } from "../types/action"; import { EvmAgentKit } from "../agent"; /** * Creates an MCP server from a set of actions */ export declare function createMcpServer(actions: Record, EvmAgentKit: EvmAgentKit, options: { name: string; version: string; }): McpServer; /** * Helper to start the MCP server with stdio transport * * @param actions - The actions to expose to the MCP server * @param EvmAgentKit - The EVM agent kit * @param options - The options for the MCP server * @returns The MCP server * @throws Error if the MCP server fails to start * @example * import { ACTIONS } from "./actions"; * import { startMcpServer } from "./mcpWrapper"; * * const EvmAgentKit = new EvmAgentKit(); * * startMcpServer(ACTIONS, EvmAgentKit, { * name: "actions", * version: "1.0.0" * }); */ export declare function startMcpServer(actions: Record, EvmAgentKit: EvmAgentKit, options: { name: string; version: string; }): Promise; //# sourceMappingURL=index.d.ts.map