Files
Mauricio Wolff 21879e8eb3 Fix list_directory to handle '.' path as root directory
- Normalize '.' path to empty string for root directory listing
- Ensure consistent behavior between '.', '/', and '' paths
- All now correctly return both files and directories from vault root
- Version bump to 0.5.3

Resolves issue where LLMs using '.' path only received files without directories.
2026-05-25 21:48:53 +02:00

13 lines
477 B
JavaScript
Executable File

#!/usr/bin/env node
console.error("Debug: Starting minimal MCP server");
console.error("Debug: Node version:", process.version);
console.error("Debug: Process argv:", process.argv);
console.error("Debug: Process env PATH:", process.env.PATH);
console.error("Debug: Process env BUN_INSTALL:", process.env.BUN_INSTALL);
// Simple minimal server that just exits after logging
setTimeout(() => {
console.error("Debug: Exiting after 2 seconds");
process.exit(0);
}, 2000);