UNPKG

@mseep/atlas-mcp-server

Version:

A Model Context Protocol (MCP) server for ATLAS, a Neo4j-powered task management system for LLM Agents - implementing a three-tier architecture (Projects, Tasks, Knowledge) to manage complex workflows.

16 lines (15 loc) 769 B
/** * Exports all Project, Task, and Knowledge nodes and relationships to JSON files. * Also creates a full-export.json file containing all data in a single file. * Also manages backup rotation. * @returns The path to the directory containing the backup files. * @throws Error if the export step fails. Rotation errors are logged but don't throw. */ export declare const exportDatabase: () => Promise<string>; /** * Imports data from JSON files, overwriting the existing database. * Can import from either full-export.json (if it exists) or individual entity files. * @param backupDir The path to the directory containing the backup JSON files. * @throws Error if any step fails. */ export declare const importDatabase: (backupDir: string) => Promise<void>;