All docs

AI tools and MCP

Claude Code, Codex, Claude Desktop and other MCP clients can work with your notes through Devot, on this Mac only, and only in notebooks you allow.

Choose what they can see

Only notebooks with Allow AI Access on are visible. Right-click a notebook in the sidebar and choose Allow AI Access; a sparkle marks the notebooks that have it. A sub-notebook needs its own switch.

Notes in the Trash and notes in no notebook are never visible. Settings > Integrations > AI Tools turns AI tools off altogether, or limits them to Read Only.

Connect a client

  1. Install Devot in Applications. Connect waits while it runs from the disk image.
  2. Open Settings > Integrations and choose Connect for Claude Code, Codex or Claude Desktop.
  3. Check the file and the text Devot shows, then confirm. Devot keeps everything else in the file and a backup beside it; the token stays in your keychain.
  4. Restart the client.

Nothing else needs to be installed: the client runs a small bridge inside Devot's own app, which talks to the running Devot on this Mac only.

Set it up by hand

Set Up by Hand, at the end of the Clients card in Settings, has the configuration for these clients and any other. On a default install, for Claude Code:

claude mcp add --scope user devot -- /Applications/Devot.app/Contents/MacOS/devot --cli mcp

And for Codex, in ~/.codex/config.toml:

[mcp_servers.devot]
command = "/Applications/Devot.app/Contents/MacOS/devot"
args = ["--cli", "mcp"]

What a client can do

  • list_notebooks: the notebooks it can see
  • search_notes: full-text search, with snippets
  • read_note: a note's Markdown and metadata
  • list_tags: the tags
  • create_note: a note in an allowed notebook
  • update_note: the title, the whole body or exact passages, the notebook, tags and status
  • append_to_note: text at the end or start of a section or of the note
  • trash_note: moves a note to the Trash
  • create_notebook: a notebook with Allow AI Access on

Edits apply directly. Before each one, Devot keeps the note as it was in its Revision History, so you can restore it. Changes appear in a moment, merged into a note you are editing without moving the caret.

When Devot is closed

When a client asks and Devot is closed, Devot starts in the background with no window and an icon in the menu bar, and quits by itself after 10 minutes without a request. Turn Start in the Background off in Settings > Integrations > AI Tools and clients get a clear error until you open Devot.

What reaches a client, and what does not, is set out in AI tools privacy.