import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { Action } from "../types/action"; import { SolanaAgentKit } from "../agent"; /** * Creates an MCP server from a set of actions */ export declare function createMcpServer(actions: Record, solanaAgentKit: SolanaAgentKit, 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 solanaAgentKit - The Solana 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 solanaAgentKit = new SolanaAgentKit(); * * startMcpServer(ACTIONS, solanaAgentKit, { * name: "solana-actions", * version: "1.0.0" * }); */ export declare function startMcpServer(actions: Record, solanaAgentKit: SolanaAgentKit, options: { name: string; version: string; }): Promise; //# sourceMappingURL=index.d.ts.map