Skip to content

Configuration

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
"mcpServers": {
"obsidian": {
"command": "/usr/local/bin/obx",
"args": ["mcp", "/path/to/your/vault"]
}
}
}

Restart Claude Desktop after saving.

Vaults are typically in:

  • ~/Documents/Obsidian/ (default location)
  • ~/Library/Mobile Documents/iCloud~md~obsidian/Documents/ (iCloud)

Or open Obsidian → Settings → Files & Links → Vault path

You have two main options for handling multiple vaults:

You can register vaults globally and allow the AI assistant to switch between them dynamically using the manage-vaults MCP tool.

First, register your vaults:

Terminal window
obx vault add work /path/to/work/vault
obx vault add personal /path/to/personal/vault

Then configure your MCP server to allow switching between them:

{
"mcpServers": {
"obsidian": {
"command": "/usr/local/bin/obx",
"args": [
"mcp",
"--allow-vault-switching",
"--allowed-vaults", "work,personal"
]
}
}
}

Alternatively, run multiple distinct server instances pointed at specific paths:

{
"mcpServers": {
"work-vault": {
"command": "/usr/local/bin/obx",
"args": ["mcp", "/path/to/work/vault"]
},
"personal-vault": {
"command": "/usr/local/bin/obx",
"args": ["mcp", "/path/to/personal/vault"]
}
}
}

The binary isn’t in your PATH. Either:

  • Use the full path: /usr/local/bin/obx
  • Add the install directory to your PATH

Make sure the binary is executable:

Terminal window
chmod +x /usr/local/bin/obx
  1. Check the vault path exists
  2. Ensure the config JSON is valid
  3. Restart your MCP client