UNPKG

@pimzino/agentic-tools-mcp

Version:

A comprehensive MCP server for task management and agent memories with JSON file storage

30 lines (29 loc) 1.13 kB
/** * Configuration for storage directory resolution */ export interface StorageConfig { /** Whether to use global user directory instead of project-specific directories */ useGlobalDirectory: boolean; } /** * Parse command-line arguments to determine storage configuration */ export declare function parseCommandLineArgs(): StorageConfig; /** * Get the global storage directory path * - Windows: C:\Users\{username}\.agentic-tools-mcp\ * - macOS/Linux: ~/.agentic-tools-mcp/ */ export declare function getGlobalStorageDirectory(): string; /** * Resolve the actual working directory based on configuration * * @param providedPath - The working directory path provided by the user * @param config - Storage configuration including global directory flag * @returns The actual working directory to use for storage */ export declare function resolveWorkingDirectory(providedPath: string, config: StorageConfig): string; /** * Get updated parameter description for workingDirectory that includes --claude flag behavior */ export declare function getWorkingDirectoryDescription(config: StorageConfig): string;