The Obsidian Sync MCP server allows AI agents to access and manipulate notes in an Obsidian vault either locally or via CouchDB in the cloud. It supports various operations like reading, writing, and editing notes through HTTP requests.
From the registry: Give AI agents access to your Obsidian vault via local files or Self-hosted LiveSync.
$ VAULT_PATH=~/Documents/MyVault VAULT_NAME=MyVault npx obsidian-sync-mcpPlease install the `obsidian-sync-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js 22+** — Runtime requirement.
- **Launch local MCP server** — Start the server via npx with VAULT_PATH pointing at your Obsidian vault. The server listens on http://localhost:8787/mcp by default. Run: `VAULT_PATH=~/Documents/MyVault VAULT_NAME=MyVault npx obsidian-sync-mcp`
Canonical MCP server config (HTTP transport):
- url: `http://localhost:8787/mcp`
Note: Server speaks Streamable HTTP (not stdio). Filesystem mode is simplest. CouchDB mode available for LiveSync users. Docker and Fly.io deployments also supported. Add `Authorization: Bearer <MCP_AUTH_TOKEN>` header if auth is enabled.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.COUCHDB_PASSWORDrequiredCouchDB passwordMCP_AUTH_TOKENrequiredPassword for authenticationProvide your AI coding tools with token-efficient access to up-to-date technical documentation for…