vault-mcp-server
Provides tools for reading, searching, and writing notes in an Obsidian vault (or any folder of Markdown files).
Click on "Install 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., "@vault-mcp-serversearch my vault for notes about project alpha"
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.
vault-mcp-server
MCP server genérico pra consultar e alimentar um vault Obsidian (ou qualquer
pasta de arquivos .md). Não sabe nada sobre a estrutura de nenhum vault
específico — isso é responsabilidade do AGENTS.md/convenções de cada vault,
lido pelo agente que usa as tools, não codificado aqui.
Ferramentas
Módulo | Ferramenta | Descrição |
Busca |
| Busca texto (regex, cai pra literal se inválido) em |
Busca |
| Busca notas com a tag no frontmatter ( |
Busca |
| Notas que linkam pra essa via |
Leitura |
| Conteúdo bruto de uma nota (frontmatter incluso) |
Leitura |
| Lista recursiva de |
Leitura |
| Subpastas de um nível |
Leitura |
| Só o frontmatter parseado |
Escrita |
| Cria ( |
Escrita |
| Renomeia, mesma pasta |
Escrita |
| Move/renomeia pra qualquer caminho no vault |
Escrita |
| Soft delete — move pra |
Limitação conhecida: rename_note/move_note não reescrevem
[[wikilinks]] que outras notas tenham pra elas (diferente do Obsidian, que
faz isso automaticamente pela UI). Rode get_backlinks antes de renomear pra
saber o que pode quebrar.
write_note não faz git. Só grava o arquivo — commit/push continua
manual (mesmo fluxo que o AGENTS.md de cada vault já deve documentar pra
agentes com acesso a shell).
Related MCP server: obsidian-mcp
Variáveis de ambiente
Variável | Default | Faz |
|
| Raiz do vault a servir — trocar aponta pra qualquer outro vault |
|
| Limite de resultados de busca (1-500) |
|
| Tamanho do trecho retornado por match (20-1000) |
|
| Limite de tamanho de conteúdo em |
| (vazio) | CSV de pastas de topo extras a bloquear pra leitura/escrita, além de |
Segurança
Todo caminho é resolvido e validado contra escapar da raiz do vault (sem
.., sem caminho absoluto fora do vault). Só arquivos .md são
lidos/escritos. Pastas de topo em VAULT_MCP_BLOCKED_FOLDERS (+ as três
padrão) ficam fora tanto de leitura quanto de escrita.
Registro
Pra este vault específico (~/vault), bloqueando também _scripts/ (é
tooling, não notas):
claude mcp add --scope user vault \
--env VAULT_MCP_ROOT=$HOME/vault \
--env VAULT_MCP_BLOCKED_FOLDERS=_scripts \
-- uv run --directory ~/dev/pessoal/vault-mcp-server server.py--scope user deixa disponível em qualquer sessão do Claude Code, em
qualquer repo — não só quando se está dentro do vault. O mesmo binário serve
qualquer outro vault só trocando VAULT_MCP_ROOT.
Codex CLI ainda não está instalado nesta máquina; quando estiver, o mesmo
servidor se registra via entrada mcp_servers no config.toml do Codex,
apontando pro mesmo comando (uv run --directory ... server.py) com as
mesmas env vars.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server for managing Obsidian-style note vaults, providing tools for full-text search, note creation, and backlink tracking. It enables users to navigate, structure, and update their personal knowledge base through natural language.Last updated9MIT
- Alicense-qualityCmaintenanceMCP server that provides read and write access to an Obsidian vault by interacting directly with markdown files on disk. Supports searching, listing, reading, creating, editing, and appending notes without requiring any Obsidian plugins.Last updated3,424ISC
- Flicense-qualityDmaintenanceMCP server that exposes Obsidian vault operations over HTTP via the Obsidian CLI, enabling note management, search, and daily note operations.Last updated1
- Flicense-qualityBmaintenanceMCP server that exposes an Obsidian vault (search, read, create, and update notes) via Streamable HTTP.Last updated
Related MCP Connectors
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/KauaLealz/vault-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server