Add MCPVault to the config
This is the step where the curly braces get confusing — read this carefully before you paste anything.
If the file is empty, paste this entire block, replacing the vault path with your own:
{
"mcpServers": {
"obsidian-mcpvault": {
"command": "npx",
"args": [
"@bitbonsai/mcpvault@latest",
"C:\\Users\\yourname\\Documents\\MyVault"
]
}
}
}
If the file already has content, you only need to add the inner block — not the outer curly braces. Find the "mcpServers" section, add a comma after the last existing entry, then paste the new block before the closing }. Like this:
{
"mcpServers": {
"some-other-server": {
...
},
"obsidian-mcpvault": {
"command": "npx",
"args": [
"@bitbonsai/mcpvault@latest",
"C:\\Users\\yourname\\Documents\\MyVault"
]
}
}
}
About those double backslashes: Windows paths normally use single backslashes (C:\Users\yourname), but JSON treats backslash as a special character — so you have to write every backslash twice. The path you copied will have single backslashes; just double them all up when you paste it here. This is a JSON rule, not a Windows thing, and it only matters inside this file.
Save when you're done.