@bdmarvin/mcp-server-memory
Version:
MCP Server for LLM Long-Term Memory using KG and Google Drive
10 lines (9 loc) • 915 B
TypeScript
import { z } from 'zod';
import { Auth, drive_v3 } from 'googleapis';
import { StoreDocumentInProjectDriveInputSchema, GetDocumentContentFromDriveInputSchema, GetDocumentSummaryFromDriveInputSchema } from '../toolSchemas.js';
export declare const TARGET_BASE_FOLDER_NAME_EXPORTED: string;
export declare function getOauth2ClientInstance(accessToken: string): Promise<Auth.OAuth2Client>;
export declare function findOrCreateProjectFolder(drive: drive_v3.Drive, projectId: string): Promise<string>;
export declare function storeDocument(accessToken: string, args: z.infer<typeof StoreDocumentInProjectDriveInputSchema>): Promise<any>;
export declare function getDocumentContent(accessToken: string, args: z.infer<typeof GetDocumentContentFromDriveInputSchema>): Promise<any>;
export declare function getDocumentSummary(accessToken: string, args: z.infer<typeof GetDocumentSummaryFromDriveInputSchema>): Promise<any>;