UNPKG

@bdmarvin/mcp-server-memory

Version:

MCP Server for LLM Long-Term Memory using KG and Google Drive

34 lines (33 loc) 2.15 kB
import { z } from 'zod'; import { UpdateKgNodeInputSchema, AddKgRelationshipInputSchema, LogDecisionInputSchema, GetKgNodeDetailsInputSchema, GetProjectSummaryFromKgInputSchema, SearchKgInputSchema, RetrieveKgInputSchema, TraverseKgInputSchema, QueryKgByAttributesInputSchema, DeleteKgNodeInputSchema, DeleteKgRelationshipInputSchema } from '../toolSchemas.js'; interface KGNode { type?: string; node_id?: string; [key: string]: any; } interface KGRelationship { relationship_id: string; source_node_id: string; target_node_id: string; type: string; attributes: Record<string, any>; created_at: string; [key: string]: any; } interface KG { nodes: Record<string, KGNode>; relationships: KGRelationship[]; metadata: any; } export declare function updateKgNode(accessToken: string, args: z.infer<typeof UpdateKgNodeInputSchema>): Promise<any>; export declare function addKgRelationship(accessToken: string, args: z.infer<typeof AddKgRelationshipInputSchema>): Promise<any>; export declare function logDecision(accessToken: string, args: z.infer<typeof LogDecisionInputSchema>): Promise<any>; export declare function getKgNodeDetails(accessToken: string, args: z.infer<typeof GetKgNodeDetailsInputSchema>): Promise<any>; export declare function getProjectSummary(accessToken: string, args: z.infer<typeof GetProjectSummaryFromKgInputSchema>): Promise<any>; export declare function searchKg(accessToken: string, args: z.infer<typeof SearchKgInputSchema>): Promise<any>; export declare function retrieveKg(accessToken: string, args: z.infer<typeof RetrieveKgInputSchema>): Promise<KG>; export declare function traverseKg(accessToken: string, args: z.infer<typeof TraverseKgInputSchema>): Promise<any>; export declare function queryKgByAttributes(accessToken: string, args: z.infer<typeof QueryKgByAttributesInputSchema>): Promise<any>; export declare function deleteKgNode(accessToken: string, args: z.infer<typeof DeleteKgNodeInputSchema>): Promise<any>; export declare function deleteKgRelationship(accessToken: string, args: z.infer<typeof DeleteKgRelationshipInputSchema>): Promise<any>; export {};