Requires the runtime declared in the upstream repo — check the README before running. VS Code (Copilot) uses a `servers` root key with an explicit `type` field — different from the `mcpServers` shape used by Claude Desktop and Cursor. Paste the config below, then follow the reload step to register io.github.cyanheads/obsidian-mcp-server.
.vscode/mcp.json (project root — committed with the repo)~/.vscode/mcp.json{
"servers": {
"obsidian": {
"type": "stdio",
"command": "bunx",
"args": [
"obsidian-mcp-server@latest"
],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"OBSIDIAN_API_KEY": "your-local-rest-api-key"
}
}
}
}