obsidian-mcp-server
Verified Safeby sunub
Overview
This server allows AI agents or external applications to explore, search, read, and manage documents within a local Obsidian vault, transforming it into an AI-accessible knowledge base for automated tasks like summarization and property generation.
Installation
npx -y @sunub/obsidian-mcp-server --vault-path /absolute/path/to/your/obsidian/vaultEnvironment Variables
- VAULT_DIR_PATH
- LOGGING_LEVEL
Security Notes
The server primarily operates on a user-specified local Obsidian vault, with robust path validation to prevent arbitrary file system access outside the designated vault directory. File operations are limited to reading, writing (frontmatter), and moving attachments within this defined scope. No direct 'eval' or arbitrary command execution vulnerabilities were identified. The communication uses StdioServerTransport, implying local inter-process communication rather than an exposed network service by default. The main risk relies on the `VAULT_DIR_PATH` being correctly and securely configured by the user.
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.