The Obsidian MCP Server is a robust tool that facilitates seamless interaction between AI models and Obsidian vaults. Designed with TypeScript, it leverages the Model Context Protocol (MCP) to enable secure and efficient file operations, content management, and advanced search capabilities within Obsidian. This server allows AI assistants to manage knowledge bases effectively, offering features like atomic file operations, comprehensive search systems with JsonLogic queries, and YAML frontmatter management. Security is a priority, with API key authentication, rate limiting, and SSL options ensuring safe and reliable operations. By integrating with the Local REST API plugin in Obsidian, it provides a standardized interface for AI models to access and manipulate vault data, making it an essential tool for developers looking to enhance AI-driven knowledge management systems.
List vault contents.
List directory contents. Parameters: dirpath (string) - Path relative to vault root.
Get file contents. Parameters: filepath (string) - Path relative to vault root.
Text search with context. Parameters: query (string), contextLength (optional number, default: 10).
Advanced search with JsonLogic. Parameters: query (JsonLogicQuery).
Get all tags in vault or directory. Parameters: path (optional string) - limit to specific directory.
Append to file. Parameters: filepath (string) - Path relative to vault root, content (string) - Content to append.
Update file content. Parameters: filepath (string) - Path relative to vault root, content (string) - New content (replaces existing).
Get note properties. Parameters: filepath (string) - Path relative to vault root.
Update note properties. Parameters: filepath (string) - Path relative to vault root, properties (object) - Object containing properties to update.
No reviews yet. Be the first to review!
Sign in to join the conversation
Start the server with node to access it via any client or IDE.
node path/to/downloaded/file.mjs