Moldavite MCP
Use Moldavite's MCP server instead of direct filesystem writes whenever its tools are connected. Client-visible tool names may include a server prefix; match the operation suffix such as read_note or search_notes.
Connection
Moldavite's app binary also runs a headless stdio MCP server:
"/Applications/Moldavite.app/Contents/MacOS/moldavite" --mcp
Pin one connection to a Forge:
"/Applications/Moldavite.app/Contents/MacOS/moldavite" --mcp --forge "Work"
Without --forge, each request uses Moldavite's current active Forge. With --forge, all requests stay pinned to that Forge.
Read Workflow
- Use
search_notesfor a concept orlist_notesfor known folders. - Treat search results as candidates, not complete note content.
- Use
read_notebefore quoting, summarizing, or modifying a note. - Use
get_backlinkswhen relationships or incoming context matter. - Report locked placeholders without trying to bypass them.
search_notes returns its mode. Semantic mode is used only when local semantic search is enabled and ready; otherwise Moldavite falls back to keyword search. Never claim semantic matching when the response says keyword.
Create Workflow
- Search or list first to avoid duplicate notes.
- Choose a valid Forge-relative
.mdpath. - Build complete Moldavite-compatible Markdown.
- Call
create_noteonce. It refuses existing and locked paths. - If creation fails because the path exists, read the existing note and ask or merge deliberately. Do not overwrite automatically.
Replace Workflow
write_note replaces the entire raw file; it is not a patch operation.
- Call
read_noteimmediately before writing and keep itscontentHash. - Preserve frontmatter, unrelated sections, and formatting.
- Apply the smallest requested change in memory.
- Call
write_notewith the full resulting Markdown and thatcontentHashasbaseHash. If the file changed on disk in between, Moldavite keeps the disk version as a conflict copy and names it inconflictCopy. OmittingbaseHashoverwrites silently. - If the response names a
conflictCopy, tell the user. Do not delete or merge it without asking. - Do not retry blindly after an error or unexpected concurrent change.
Daily Append Workflow
Use append_to_daily_note for journal entries and logs. Omit date for Moldavite's local today or pass exact YYYY-MM-DD. The tool creates the daily note when absent.
Appending is not deduplicated. Read the daily note first when repeated content would be harmful.
Path Contract
Valid note paths:
daily/YYYY-MM-DD.md
weekly/YYYY-Www.md
notes/name.md
notes/nested/name.md
Nested paths are allowed only under notes/. Never pass an absolute path, hidden component, traversal, symlink, backslash, or locked-note path.
See TOOLS.md for exact arguments and return behavior.
Write Gate
Read tools are available by default. create_note, write_note, and append_to_daily_note appear only when the user enables MCP writes in Settings > AI & Agents. Write permission is global and can be revoked while a server is running.
If a write tool is absent or denied, explain the setting needed. Do not bypass the gate with direct files unless the user explicitly requests a filesystem fallback.
Not Exposed by MCP
Do not invent calls for delete, rename, move, trash, folder management, templates, graph data, locking, Forge management, import, or export. Use Moldavite's UI for those operations.