obsidian-mcp-server
Verified Safeby Vasallo94
Overview
An advanced Model Context Protocol (MCP) server that integrates Obsidian vaults with AI agents (Claude Desktop, Cursor) for enhanced knowledge management, automation, semantic analysis, and content creation/editing.
Installation
uv run obsidian-mcp-serverEnvironment Variables
- OBSIDIAN_VAULT_PATH
- LOG_LEVEL
Security Notes
The project demonstrates robust security practices, particularly for file system access. It utilizes `validate_path_within_vault` and `is_path_forbidden` to prevent path traversal and restrict access to sensitive areas (e.g., `.obsidian`, `.git`, custom private paths via `.forbidden_paths` or `vault.yaml`). These checks are applied before most file operations (read, write, delete, move). `subprocess.run` is used for `ripgrep` search but is limited to safe parameters and processed outputs. No `eval` or obfuscation found. The primary security consideration outside of the code itself is ensuring the underlying FastMCP server (if exposed via HTTP/SSE) is not publicly accessible without additional authentication/authorization, but its primary use case is local integration.
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.
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.
obsidian-mcp-server
Enables AI assistants to interact with and manage an Obsidian markdown vault via the Model Context Protocol (MCP).