Install guide · VS Code
Install Obsidian GitHub MCP for VS Code
Workspace file .vscode/mcp.json uses the servers key. User settings can hold the same shape.
Open .vscode/mcp.json on macOS, .vscode/mcp.json on Windows, or .vscode/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "servers": { "sarutobisasuke8-obsidian-github-mcp": { "type": "stdio", "command": "npx", "args": [ "-y", "@sarutobi-sasuke/obsidian-github-mcp@0.1.0" ], "env": { "VAULT_MCP_PORT": "3210", "VAULT_MCP_GITHUB_OWNER": "", "VAULT_MCP_GITHUB_REPO": "", "VAULT_MCP_POLICY_FILE": "", "VAULT_MCP_TOKEN_FILE": "", "GITHUB_TOKEN": "YOUR_GITHUB_TOKEN", "GITHUB_APP_ID": "", "GITHUB_APP_INSTALLATION_ID": "", "GITHUB_APP_PRIVATE_KEY_FILE": "YOUR_GITHUB_APP_PRIVATE_KEY_FILE" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | .vscode/mcp.json |
| Windows | .vscode/mcp.json |
| Linux | .vscode/mcp.json |