Skip to content

vault-mcp-tools

Complete Obsidian vault MCP server. 35 tools: notes, search, graph, tags, canvas.

automate.personal.notes

Install vault-mcp-tools in your MCP client

vault-mcp-tools is a Model Context Protocol server. Add it to your MCP client config once, restart, and the server's tools become available to your AI assistant. The same JSON snippet below works across all four major clients — only the config file path differs.

  1. Locate your client's MCP config file.
    • Cursor: ~/.cursor/mcp.json
    • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json
    • Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json
    • VS Code: Settings → Extensions → MCP
    • Windsurf: Settings → MCP Servers
  2. Add vault-mcp-tools to the mcpServers map — paste the snippet below into your config file. If you already have other MCP servers, merge the entry into the existing mcpServers object.
  3. Restart your client so it picks up the new server.
  4. Verify — ask the assistant to list available tools; vault-mcp-tools's tools should appear.
{
  "mcpServers": {
    "vault-mcp-tools": {
      "command": "npx",
      "args": [
        "-y",
        "vault-mcp-tools"
      ],
      "env": {
        "OBSIDIAN_VAULT_PATH": "<your-obsidian-vault-path>",
        "OBSIDIAN_REST_TOKEN": "<your-obsidian-rest-token>",
        "OBSIDIAN_REST_PORT": "<your-obsidian-rest-port>",
        "OBSIDIAN_TRANSPORT": "<your-obsidian-transport>",
        "OBSIDIAN_HTTP_PORT": "<your-obsidian-http-port>",
        "OBSIDIAN_HTTP_AUTH_TOKEN": "<your-obsidian-http-auth-token>"
      }
    }
  }
}

Install vault-mcp-tools in Cursor

Open ~/.cursor/mcp.json in your editor, paste the snippet above into mcpServers, save, and restart Cursor. vault-mcp-tools will show up in the assistant's tool list on next launch.

Install vault-mcp-tools in Claude Desktop (macOS)

Open ~/Library/Application Support/Claude/claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (macOS). vault-mcp-tools will show up in the assistant's tool list on next launch.

Install vault-mcp-tools in Claude Desktop (Windows)

Open %APPDATA%\Claude\claude_desktop_config.json in your editor, paste the snippet above into mcpServers, save, and restart Claude Desktop (Windows). vault-mcp-tools will show up in the assistant's tool list on next launch.

Install vault-mcp-tools in VS Code

Open Settings → Extensions → MCP in your editor, paste the snippet above into mcpServers, save, and restart VS Code. vault-mcp-tools will show up in the assistant's tool list on next launch.

npm package: vault-mcp-tools

Required environment variables

vault-mcp-tools needs the following environment variables set before it can run. Add them to the env block of your mcpServers entry, or export them in your shell before launching the client.

  • OBSIDIAN_VAULT_PATH
  • OBSIDIAN_REST_TOKEN
  • OBSIDIAN_REST_PORT
  • OBSIDIAN_TRANSPORT
  • OBSIDIAN_HTTP_PORT
  • OBSIDIAN_HTTP_AUTH_TOKEN

Transport

vault-mcp-tools supports the following MCP transports. Most AI clients use stdio by default for locally-installed servers.

stdio

Other Model Context Protocol servers in the same space as vault-mcp-tools. Each one adds different capabilities to your AI assistant — pick based on the data sources or workflows you need.

Browse the full MCP server directory or use Stork's one-line install to let your agent pick the right server automatically.