UNPKG

@jeanmemory/node

Version:

Node.js SDK for Jean Memory - Power your Next.js and other Node.js backends with a perfect memory

24 lines 620 B
/** * Jean Memory Node.js SDK - MCP Utility * Model Context Protocol request handling */ export interface MCPResponse { jsonrpc: string; id: number; result?: { content: Array<{ type: string; text: string; }>; }; error?: { code: number; message: string; }; } export interface ContextResponse { text: string; metadata?: any; } export declare function makeMCPRequest(userToken: string, apiKey: string, toolName: string, arguments_: any, apiBase?: string, clientName?: string): Promise<MCPResponse>; //# sourceMappingURL=mcp.d.ts.map