obsidian-mcp-secure
About
Secure MCP server for Obsidian with OWASP Top 10 controls and full audit logging.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
OBSIDIAN_API_KEY OBSIDIAN_HOST OBSIDIAN_PORT LOG_DIRClaude Code
claude mcp add --env OBSIDIAN_API_KEY= --env OBSIDIAN_HOST= --env OBSIDIAN_PORT= --env LOG_DIR= obsidian-mcp-secure -- npx obsidian-mcp-secure
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"obsidian-mcp-secure","command":"npx","args":["obsidian-mcp-secure"],"env":{"OBSIDIAN_API_KEY":"","OBSIDIAN_HOST":"","OBSIDIAN_PORT":"","LOG_DIR":""}}'
JSON
{
"mcpServers": {
"obsidian-mcp-secure": {
"command": "npx",
"args": [
"obsidian-mcp-secure"
],
"env": {
"OBSIDIAN_API_KEY": "",
"OBSIDIAN_HOST": "",
"OBSIDIAN_PORT": "",
"LOG_DIR": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.