Skip to content
VS Code

kObsidian for VS Code

io.github.bezata/kobsidian-mcp

Filesystem-first MCP for Obsidian — an LLM-maintained wiki inspired by Karpathy's LLM Wiki.

client:VS Code transport:stdio runtime:npm

Install kObsidian in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "obsidian-vault-path",
      "description": "OBSIDIAN_VAULT_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "obsidian-api-url",
      "description": "OBSIDIAN_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "obsidian-api-verify-tls",
      "description": "OBSIDIAN_API_VERIFY_TLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "obsidian-rest-api-key",
      "description": "OBSIDIAN_REST_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "kobsidian-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "kobsidian-mcp"
      ],
      "env": {
        "OBSIDIAN_VAULT_PATH": "${input:obsidian-vault-path}",
        "OBSIDIAN_API_URL": "${input:obsidian-api-url}",
        "OBSIDIAN_API_VERIFY_TLS": "${input:obsidian-api-verify-tls}",
        "OBSIDIAN_REST_API_KEY": "${input:obsidian-rest-api-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

kObsidian in other clients