mcp-obsidian
Verified Safeby fazer-ai
Overview
Facilitates LLM interaction with Obsidian vaults via the Local REST API plugin, enabling read/write operations and command execution.
Installation
bunx @fazer-ai/mcp-obsidian@latestEnvironment Variables
- OBSIDIAN_API_KEY
- OBSIDIAN_PROTOCOL
- OBSIDIAN_HOST
- OBSIDIAN_PORT
Security Notes
The server acts as a proxy to Obsidian's Local REST API. It uses environment variables for the API key (good practice) and validates tool arguments with Zod. Path sanitization is implemented for file operations. No 'eval' or direct code execution from user input is apparent. Security largely depends on the underlying Obsidian Local REST API plugin and protecting the API key. The 'search_json_logic' tool takes 'logic: z.unknown()'; while the server only proxies this to Obsidian, a vulnerability in Obsidian's JsonLogic engine could be an indirect risk.
Similar Servers
mcp-obsidian
Connects AI assistants to Obsidian vaults for secure and intelligent interaction, enabling AI-powered knowledge management.
obsidian-mcp-plugin
Connects Obsidian vault to AI assistants via Model Context Protocol (MCP), enabling AI to understand and navigate notes as a knowledge graph for semantic search and information synthesis.
obsidian-mcp-server-enhanced
A server implementation for an enhanced Multi-Client Protocol, likely associated with Obsidian.md for data synchronization or plugin interaction.
obsidian-http-mcp
Facilitates AI agents, such as Claude Code, to manage Obsidian notes by providing an HTTP-native Model Context Protocol (MCP) server, bypassing stdio transport bugs.