obsidian-mcp-server
Verified Safeby smith-and-web
Overview
Enables AI assistants to interact with and manage an Obsidian markdown vault via the Model Context Protocol (MCP).
Installation
VAULT_PATH=/path/to/your/vault npx @smith-and-web/obsidian-mcp-serverEnvironment Variables
- PORT
- VAULT_PATH
- COMPACT_RESPONSES
- API_KEY
Security Notes
The server performs extensive file system operations (read, write, delete, move) on the configured VAULT_PATH. While path manipulation is mitigated by `path.join` and deletion includes a `confirm` safety check, the API_KEY for authentication is optional. Deploying without an API_KEY makes the server publicly accessible, which is a critical security risk given its file access capabilities. CORS is also open by default ('*'), posing another risk if not restricted in production. The server grants full read/write access to the mounted vault.
Similar Servers
mcp-obsidian
Provides a secure, universal AI bridge for Obsidian vaults, enabling MCP-compatible AI assistants to read, write, and manage notes.
obsidian-mcp-plugin
This plugin connects your Obsidian vault to AI assistants through MCP (Model Context Protocol), enabling them to understand and navigate your notes as a connected knowledge graph.
mcp-obsidian
Enables LLMs (like Claude) to programmatically interact with an Obsidian vault through the Local REST API plugin.
obsidian-mcp-server
Provides an OpenAI-compatible local Model Context Protocol (MCP) server within Obsidian, enabling external AI assistants and tools to semantically search the vault and perform file system operations.