list_files_in_vault
List all files in the vault.
Takes no parameters.

io.github.CloudCorpRecordsPublished by GitHub account CloudCorpRecordsv0.1.0Updated Nov 3, 2026
List, read, search, and edit markdown notes in a local vault directory.
Local stdio MCP server that lets an assistant list, read, search, append to, patch and delete markdown notes in a vault folder on your disk.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Follow the launch instructions in the repository.
vaultnotes is a small set of tools for working with a vault of notes stored as plain files in a folder on your own disk: list what is in the vault, read a note, search across the markdown files, and append to, patch, or delete a note. It runs from the command line or as an MCP server for agents.
Local mode. vaultnotes works directly on a local directory. It
does not need a running note-taking application or a plugin API: point
it at the folder that holds your notes and every tool operates on the
files there. Paths are always vault-relative, and anything that would
resolve outside the vault — .. escapes, absolute paths elsewhere,
symlinks pointing out — is refused before a file is touched.
Or run the container image:
The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
The vault directory is resolved in this order:
--vault <dir> flag on the command line,VAULTNOTES_DIR environment variable,Exit codes: 0 on success, 1 when an operation fails (the error
names the problem), 2 for usage errors.
One bin serves both faces. The mcp subcommand starts a stdio MCP
server:
MCP client configuration (set the vault with the environment):
The server starts and lists its tools even when no vault has been configured yet; the vault is resolved per call and a missing vault produces a tool error rather than a crash.
A note on patch_content: targeting here is exact-text — the target
is the literal passage to replace, not a heading name or a block
reference. That keeps a patch unambiguous: it either finds the exact
text once and replaces it, or it fails and changes nothing.
MIT — see LICENSE.
Source: README.md at commit 570a7bc
List all files in the vault.
Takes no parameters.
List all files in a specific directory of the vault.
dirpathrequiredGet the contents of a file in the vault.
filepathrequiredSearch for a query across the markdown files in the vault.
queryrequiredAppend content to a file in the vault, creating the file if it does not exist.
contentrequiredfilepathrequiredReplace the first occurrence of a target text in a vault file with new content.
targetrequiredcontentrequiredfilepathrequiredDelete a file from the vault.
target_filepathrequired90% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
npx @reneturcios/vaultnotes list --vault ~/notesdocker run -i ghcr.io/cloudcorprecords/vaultnotesvaultnotes list --vault ~/notes # every file in the vaultvaultnotes list-dir projects --vault ~/notes # files under one directoryvaultnotes read projects/alpha.md --vault ~/notesvaultnotes search "launch checklist" --vault ~/notesvaultnotes append inbox.md "Call Sam on Tuesday." --vault ~/notesvaultnotes patch inbox.md "Tuesday" "Wednesday" --vault ~/notesvaultnotes delete drafts/old.md --vault ~/notes
vaultnotes --versionnpx -y @reneturcios/vaultnotes mcp{ "mcpServers": { "vaultnotes": { "command": "npx", "args": ["-y", "@reneturcios/vaultnotes", "mcp"], "env": { "VAULTNOTES_DIR": "/path/to/your/notes" } } }}npm installnpm run build # tsc -> dist/npm test # node test runner over test/*.test.ts, real fs in temp dirs, no networknpm run dev # run the CLI from source via tsx