Back to Home
igorilic icon

obsidian-mcp

Verified Safe

by igorilic

Overview

Integrate AI assistants with Obsidian vaults to manage notes, track tasks, and facilitate knowledge discovery through a Model Context Protocol (MCP) server.

Installation

Run Command
OBSIDIAN_VAULT_PATH=/path/to/your/obsidian/vault node dist/index.js

Environment Variables

  • OBSIDIAN_VAULT_PATH
  • MCP_TRANSPORT
  • MCP_HTTP_PORT

Security Notes

The server primarily interacts with the local file system within the configured 'OBSIDIAN_VAULT_PATH'. It uses `path.join` and `path.relative` to construct file paths, which helps mitigate directory traversal attacks within the vault. There are no direct uses of `eval` or obvious obfuscation. Network risks are present if the HTTP server (default port 3000, mapped to 9111 by Docker) is exposed to untrusted networks without proper access controls. The critical security aspect is ensuring the `OBSIDIAN_VAULT_PATH` environment variable is set to a specific, trusted Obsidian vault directory and not a broad system path (e.g., `/`) which could allow the AI to read/write arbitrary files outside the intended scope.

Similar Servers

Stats

Interest Score27
Security Score8
Cost ClassMedium
Avg Tokens2500
Stars1
Forks0
Last Update2026-01-07

Tags

obsidianmcpai-integrationnote-managementproductivity