morz-mcp
Provides tools to list, read, write, append to, soft-delete, search and inspect Markdown notes in a local vault, including tags, backlinks, outgoing links and vault statistics.
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.
morz-mcp
A local Model Context Protocol server that exposes a folder of Markdown notes (a Morz vault) to AI clients over stdio.
Works with any MCP-capable client that can launch a local process.
Reads and writes ordinary
.mdfiles; the Morz desktop app is optional.No network service, no port, no account, no API key.
Requires Node.js 22.18+.
Install
Single-file bundle (no npm)
Download morz-mcp.mjs from Releases once a
release is published, or build it from source:
npm ci
npm run bundle
node bundle/morz-mcp.mjs --vault "D:/Notes"Point the client at the file:
{
"mcpServers": {
"morz": {
"command": "node",
"args": ["D:/path/to/morz-mcp.mjs", "--vault", "D:/Notes"]
}
}
}npm
Once the package is published:
npx -y morz-mcp@0.1.0 --vault "D:/Notes"{
"mcpServers": {
"morz": {
"command": "npx",
"args": ["-y", "morz-mcp@0.1.0", "--vault", "D:/Notes"]
}
}
}This speaks MCP on stdio, so it looks silent when run in a terminal. Configure your client to launch it instead of running it in a shell.
Related MCP server: obsidian-vault-mcp
Vault discovery
The server resolves the vault root in this order:
--vault <folder>MORZ_VAULTenvironment variablethe manifest written by the Morz desktop app at
<appDataDir>/com.morz.editor/morz.json
In Morz desktop, Settings → General → MCP only writes that manifest; it does not start
this server or open a port. The setting can be disabled, and the manifest is then cleared.
Using --vault makes the server independent of the desktop app.
Tools
Tool | Purpose |
| Known vaults and the active one |
| Recursive Markdown notes (hidden/system folders excluded) |
| Read a note, returns |
| Create/overwrite a note; accepts |
| Append text; accepts |
| Soft-delete into |
| Substring search with title weighting and hit lines |
| Tags with usage counts |
| Notes linking to a note, with line numbers |
| Wikilinks, embeds and internal Markdown links |
| Note count, size, word count, top tags, recent notes |
| Title, tags, mtime, outgoing/backlink counts |
Resources: note:///<relative-path>.
Safety model
Path fence: every path must stay inside the vault root; absolute paths, drive letters, UNC paths,
..and NUL are rejected.Optimistic concurrency: pass
expectedMtimefromread_notewhen writing; if the file changed since the read, the write is refused and the currentmtimeis returned.Soft delete:
delete_notemoves to.trash; it never hard-deletes.No auth: this is a local stdio process. The client controls who can launch it.
Unsaved editor buffers are not visible: the server reads files on disk. If the Morz editor has unsaved changes, save before asking an agent to edit the same note.
Not supported in v1: rename/move, daily-note templates, IndexedDB/browser libraries, Android SAF workspaces, and cloud sync.
Development
npm ci
npm test # type check, build and the 15-check stdio smoke test
npm run bundle # single-file build in bundle/The smoke test creates a temporary vault and exercises the handshake, all 12 tools, the path fence, the stale-write guard and editor-compatible trash. See CONTRIBUTING.md.
Links
Morz: https://morz.app
Web app: https://app.morz.app
Docs: https://morz.app/docs
License
MIT. The Morz application itself is proprietary; this MCP server is a separate MIT-licensed component (see LICENSE).
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
Search, read, and safely update Markdown notes in your connected Phasoric knowledge vaults.
Notes and memory assistant: one Markdown vault that Claude, ChatGPT and any MCP client can share.
Persistent memory, hybrid search and a goal graph for AI agents, over stdio or remote HTTP.
Linked markdown notes as memory for AI apps: search, read, save and link notes over MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables full Obsidian vault operations including reading, writing, searching, deleting notes, managing tags and links, with support for both local and remote access via stdio or HTTP transports.103,465 npm3MIT
- AlicenseNot gradedqualityCmaintenanceEnables reading, searching, and writing an Obsidian vault directly on disk without Obsidian running, and walking its wikilink graph for backlinks, N-hop neighbors, unresolved links, and orphans. Available over Streamable HTTP with bearer auth, stdio, or a Claude Desktop extension.MIT
- AlicenseAqualityBmaintenanceEnables AI harnesses such as ZCode and Claude Code to browse, search, edit, and create notes in an Obsidian vault through seven fine-grained tools over stdio. It works directly on the vault's filesystem without requiring Obsidian to be running, with built-in protections against accidental deletion or overwriting.10MIT
- AlicenseNot gradedqualityCmaintenanceExposes a local Markdown vault to AI agents over stdio, letting them search, read, create, update (with mtime-guarded writes), and append notes, as well as list and manage saved views. Write permissions can be toggled per group in settings, and all changes land as plain Markdown/YAML files in the chosen folder.MIT