vault-cortex
v0.2.13
Published
Set up a Vault Cortex MCP server for your Obsidian vault in one command: npx vault-cortex init
Downloads
2,452
Maintainers
Readme
vault-cortex (CLI)
Set up a Vault Cortex MCP server for your Obsidian vault in one command:
npx vault-cortex@latest initVault Cortex is a plugin-free, remote-capable MCP server for Obsidian vaults — 25 tools for search (SQLite FTS5), notes, frontmatter, links, daily notes, and a persistent memory layer, plus 3 guided prompts (orientation, memory review, daily review). It runs as a Docker container; this CLI scaffolds the config so you don't have to.
What init does
- Asks how you want to run it:
- Local — Docker on this machine, your vault folder bind-mounted
- Remote — a VPS with Obsidian Sync, reachable from any device
- Generates a
docker-compose.ymland.env, including a securely generatedMCP_AUTH_TOKEN - Optionally runs
docker compose up -dand waits for the health check - Prints your connection details — the MCP URL, your auth token, and how to connect your client
Existing files are never overwritten without asking.
Non-interactive
npx vault-cortex@latest init --yes --vault-path /path/to/YourVaultFlags: --mode local|remote, --vault-path <path>, --dir <path> (default
./vault-cortex), --yes.
Requirements
- Node.js >= 20.12 (only for this CLI — the server itself runs in Docker)
- Docker to run the server
