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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server for Obsidian Sync vaults: read, search, edit notes. Not affiliated with Obsidian.
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.
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.1633429 npm38MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with Obsidian via the Local REST API, enabling file operations, search, and content editing in your vault.MIT
- FlicenseCqualityDmaintenanceMCP 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-