Obsidian MCP Server enables AI integration with Obsidian vaults via secure TypeScript-based API for file search and management
The Obsidian MCP Server is designed to facilitate interactions between AI models and external tools through a standardized interface, ensuring that applications like Claude Desktop, Continue, Cursor, and others can seamlessly access and manage information stored in an Obsidian vault. By leveraging the Model Context Protocol (MCP), which is akin to USB-C for devices, this server enables robust data exchange, secure API communication, efficient file operations, and comprehensive search capabilities. This document provides thorough guidance on how to set up, configure, and maximize the benefits of the Obsidian MCP Server, catering specifically to the needs of developers building AI applications.
The Obsidian MCP Server offers a suite of features that cater to both advanced technical requirements and user convenience. Some key capabilities include:
File Operations:
Search System:
JsonLogic
queries for filtering files, tags, and metadata based on precise criteria.Property Management:
Security & Performance:
The Obsidian MCP Server is built using TypeScript, ensuring robustness and maintainability. It leverages the power of the Model Context Protocol (MCP) to enable AI applications to interact with external tools and resources through a standardized interface. The protocol flow can be visualized as follows:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
Here, the AI application acts as an MCP client, sending requests through the protocol to the MCP server. The server then interacts with data sources and tools to provide the requested information or execute operations.
To get started with the Obsidian MCP Server, follow these steps:
git clone [email protected]:cyanheads/obsidian-mcp-server.git
cd obsidian-mcp-server
npm install
npm run build
npm install obsidian-mcp-server
obsidian_find_in_file
and complex_search
.The Obsidian MCP Server is compatible with several MCP clients:
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
JsonLogic
), and ensure regular maintenance checks on the server.For bug reports and feature requests, please open issues at https://github.com/cyanheads/obsidian-mcp-server/issues.
The Model Context Protocol (MCP) ecosystem is growing rapidly, with a variety of tools and resources available for developers. To get started or contribute further, explore the official documentation, join developer communities, and stay updated on the latest integration techniques.
By embracing the Obsidian MCP Server, you can build powerful AI-driven workflows that are both flexible and secure. This document provides an extensive guide to help you integrate these capabilities into your projects effectively.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods