vault mcp tools for VS Code
io.github.afable702/vault-mcp-tools
Complete Obsidian vault MCP server. 35 tools: notes, search, graph, tags, canvas.
client:VS Code
transport:stdio
runtime:npm
Install vault mcp tools in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "obsidian-vault-path",
"description": "OBSIDIAN_VAULT_PATH",
"password": true
},
{
"type": "promptString",
"id": "obsidian-rest-token",
"description": "OBSIDIAN_REST_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "obsidian-rest-port",
"description": "OBSIDIAN_REST_PORT",
"password": true
},
{
"type": "promptString",
"id": "obsidian-transport",
"description": "OBSIDIAN_TRANSPORT",
"password": true
},
{
"type": "promptString",
"id": "obsidian-http-port",
"description": "OBSIDIAN_HTTP_PORT",
"password": true
},
{
"type": "promptString",
"id": "obsidian-http-auth-token",
"description": "OBSIDIAN_HTTP_AUTH_TOKEN",
"password": true
}
],
"servers": {
"vault-mcp-tools": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"vault-mcp-tools"
],
"env": {
"OBSIDIAN_VAULT_PATH": "${input:obsidian-vault-path}",
"OBSIDIAN_REST_TOKEN": "${input:obsidian-rest-token}",
"OBSIDIAN_REST_PORT": "${input:obsidian-rest-port}",
"OBSIDIAN_TRANSPORT": "${input:obsidian-transport}",
"OBSIDIAN_HTTP_PORT": "${input:obsidian-http-port}",
"OBSIDIAN_HTTP_AUTH_TOKEN": "${input:obsidian-http-auth-token}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs