What the nocal MCP server exposes
Use this page as the technical reference for the nocal MCP server. It covers the currently available note tools, the write constraints clients need to respect, and the security model around token handling.
Tools Reference
Compact reference for the current note tool surface.
notes_search
Full-text search across user notes with ranked snippets.
queryrequiredlimitoptional, 1-20
notes_list_recent
List recently modified notes, optionally scoped to a folder.
limitoptional, 1-50folder_idoptional
notes_get
Read one note by id including content and metadata.
note_idrequired
notes_create
Create a new note from ProseMirror JSON and persist synced ydoc state.
titlerequiredcontent_pmrequiredfolder_idoptionalafter_note_idoptionalidempotency_keyoptional
notes_patch
Apply targeted ProseMirror insert/delete operations to existing note content.
note_idrequiredpatchesrequiredexpected_last_modifiedrequiredschema_hashrequiredidempotency_keyoptional
Write Safety
notes_patch requires expected_last_modified. If the note changed, fetch latest content and retry.
Write tools accept idempotency_key so retries can safely reuse prior results.
Call notes_get_schema before writes and pass the returned schema_hash.
Security Note
A pre-auth URL includes your token directly in the URL. Treat it like a password. If exposed, rotate your MCP token immediately.
Related Setup
Need to connect a client first? Use the setup guide for Claude, ChatGPT, Cursor, or VS Code.