MCP server for Obsidian — access your vault from any AI agent, even when your machine is off. Powered by Self-hosted LiveSync.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.BASE_URL— e =https://your-server-url \COUCHDB_DATABASE— e =obsidian -e VAULT_NAME=MyVault \COUCHDB_OBFUSCATE_PROPERTIES— CouchDB mode false Set to true if "Obfuscate Properties" is enabled in LiveSync (obfuscates file paths, sizes, dates in the database)COUCHDB_PASSPHRASE— e =your-encryption-passphrase \COUCHDB_PASSWORD— e COUCHDB_USER=admin -e =yourpassword \COUCHDB_URL— e =https://your-couchdb:5984 \COUCHDB_USER— e =admin -e COUCHDB_PASSWORD=yourpassword \DATA_DIR— v mcp-data:/data -e =/data \HOST— Optional 0.0.0.0 Bind address (127.0.0.1 to restrict to localhost)LOG_LEVEL— Optional — Set to debug for verbose logging (library logs, change feed, index sync)MCP_AUTH_TOKEN— e =yourpassword \MCP_REFRESH_DAYS— Optional 14 Days before auth session expiresPORT— BASE_URL Optional http://localhost: Public URL (for OAuth callbacks when using a tunnel)VAULT_NAME— e COUCHDB_DATABASE=obsidian -e =MyVault \VAULT_PATH— ~/Documents/MyVault \database— Filesystem mode — reads .md files directly from your vault folder. No needed.hostnamepassphrase— The script asks for your CouchDB connection details, vault name, and encryption .password— 3. The MCP_AUTH_TOKEN is the you enter when an agent connectsuri_passphraseusername— COUCHDB_USER CouchDB mode admin CouchDB[](https://m8ven.ai/mcp/es617-obsidian-sync-mcp-16zcr1)