obsidian mcp secure for VS Code
io.github.dewtech-technologies/obsidian-mcp-secure
Secure MCP server for Obsidian with OWASP Top 10 controls and full audit logging.
client:VS Code
transport:stdio
runtime:npm
Install obsidian mcp secure in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "obsidian-api-key",
"description": "OBSIDIAN_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "obsidian-host",
"description": "OBSIDIAN_HOST",
"password": true
},
{
"type": "promptString",
"id": "obsidian-port",
"description": "OBSIDIAN_PORT",
"password": true
},
{
"type": "promptString",
"id": "log-dir",
"description": "LOG_DIR",
"password": true
}
],
"servers": {
"obsidian-mcp-secure": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"obsidian-mcp-secure"
],
"env": {
"OBSIDIAN_API_KEY": "${input:obsidian-api-key}",
"OBSIDIAN_HOST": "${input:obsidian-host}",
"OBSIDIAN_PORT": "${input:obsidian-port}",
"LOG_DIR": "${input:log-dir}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs