obsidian-mcp
Provides tools to manage an Obsidian vault, including reading, creating, editing, searching, moving, and deleting notes, managing tags and directories, and recovering from trash.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@obsidian-mcpcreate a new note called 'Meeting Notes' with content 'Discussed project timeline.'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
obsidian-mcp
Single-container MCP server for an Obsidian vault. It handles CORS and exposes 15 vault-management tools. Production authentication is centralized in the Common Auth gateway.
Protocol
The server uses the official MCP TypeScript SDK v2. Its HTTP endpoint serves the
2026-07-28 stateless protocol through server/discover and keeps a stateless
legacy fallback for clients that still use the initialize handshake. Tool
registration and protocol validation remain in the SDK.
Related MCP server: Vault Cortex Obsidian MCP Server
Quick start
docker run -d --name mcp \
-p 127.0.0.1:3000:3000 \
-v /path/to/your/vault:/vault \
-e VAULT_PATH=/vault/Obsidian\ Vault \
ghcr.io/lpfchan/mcpOr with docker-compose:
services:
mcp:
build: .
container_name: mcp
ports:
- 127.0.0.1:3000:3000
environment:
- VAULT_PATH=/vault/Obsidian Vault
volumes:
- ./vault:/vaultConfiguration
Variable | Default | Description |
| (required) | Path to the Obsidian vault inside the container |
|
| HTTP listen port |
|
| CORS allowed origin |
|
| Bind address; Compose explicitly uses |
The production endpoint is https://mcp.lost.plus/mcp. The shared Common Auth
gateway protects it with the obsidian scope. Send a Common Auth token as
Authorization: Bearer <token> or X-API-Key: <token>. The backend does not
authenticate requests itself and must remain bound to localhost behind the
gateway. Tokens in URL paths are no longer supported.
Tools
Tool | Description |
| Lists available vault names |
| Reads a note's content |
| Creates a new note |
| Edits a note (append, prepend, overwrite, or targeted replace) |
| Searches content, filenames, or tags (with fuzzy mode) |
| Lists all |
| Moves or renames a note |
| Creates a directory in the vault |
| Moves a note to |
| Adds tags to frontmatter |
| Removes tags from frontmatter |
| Renames a tag across all notes |
| Permanently deletes a directory |
| Lists files in |
| Recovers a file from |
Testing
npm install
npm test61 tests across 23 suites covering every tool, protocol negotiation, auth, CORS, and edge cases.
This server cannot be deployed
Maintenance
Related MCP Connectors
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Google Keep-style notes app with an MCP server for AI agents to read/write notes.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Related MCP Servers
- AlicenseBqualityDmaintenanceLocal-first MCP server for Obsidian vaults with 66 tools for reading, writing, searching, and managing notes, tasks, graphs, and more. Works without Obsidian running and requires no plugins.66MIT
- AlicenseAqualityAmaintenanceStandalone MCP server for Obsidian vaults - hybrid search (FTS5 + vector + cross-encoder reranking), images and PDFs in agent-readable form, Kanban-aware tasks (Tasks-plugin + Dataview formats), structured memory with topic recall, fine-grained read/write tools for optimal token efficiency, and link graph support. Run locally, self-host, or one-click deploy for remote access. OAuth 2.1.33126 npm21MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for interacting with Obsidian via the Local REST API, enabling file operations, search, and content editing in your vault.MIT
- FlicenseCqualityCmaintenanceMCP server to query and modify an Obsidian vault or any folder of markdown files. It provides search, tag filtering, backlinks, and CRUD operations on notes, with path traversal protection.11-