What a connected app can and cannot do
Connected apps get six read-only tools. With them, an app can:- List and count your notes.
- Open a note.
- Search note text.
- List your tag names.
- Export a note as Markdown, plain text, or JSON.
Work
and a note tagged work appear as one tag with two notes, spelled the way you
write it most often, and asking for either spelling finds both notes. Your
notes and exported files keep the spelling you gave them.
Cleft tells the app that your notes are your words rather than instructions to
follow. The app should quote them and name the note each quote came from.
Cleft skips unrelated Markdown files, notes from another account, and its own
system notes. A password on a public share link protects the people you send
that link to. It does not hide your own note from an app you connected.
Turn on Agent Access
Agent Access is in Cleft for Mac. Open Cleft > Settings > Agent Access and turn on Let AI tools read your notes. Nothing is shared with an AI app until you turn this on and add the setup to that app yourself.Choose where the app reads
Under Which notes should this connection read?, choose one note source before you set up an app.
New Cleft Plus setups start with the account library. If you already chose
Local Export, that choice stays selected.
The selected source uses the connection name
cleft. Its status line says what
to fix before connecting. An unavailable account library never substitutes
local notes for an online request.
Changing the source does not update your AI app. Disconnect the old setup in
that app, then follow Cleft’s setup instructions for the new source. In Claude
Desktop, uninstall the local Cleft extension before adding the account-library
configuration. The extension continues reading Local Export until removed.
Your Local Export folder
On Mac, Cleft moves its own Cleft Notes folder once, with everything in it, into a folder that Cleft shares with the helper your AI app talks to. This lets the App Store version of Cleft serve your Local Export notes to an AI app. Show in Finder in Local Export settings opens the new location. If you export to a folder you chose, Agent Access says so and shows Allow Folder Access. Select it and confirm that folder once in the system picker. Your AI apps can then read the notes in it, without being able to change anything there. If that permission stops working, select Renew Folder Access. Choosing a different folder in Local Export asks for access again.Choose your app
Under Add it to your AI tool, Cleft asks Which app do you use? It lists apps with verified setup instructions. Choose the app you use. Cleft shows the setup for the app you picked and nothing else. Before you pick, it says plainly that the app you choose can only read the notes from the selected source. Claude Desktop. Select Install in Claude Desktop. Cleft builds an extension and opens it in Claude Desktop, which shows you what it does and asks you to confirm. You never type a file path. The extension finds Cleft again by itself after you update, move, or reinstall Cleft. Cleft offers the install only when an app on this Mac can open an extension and Local Export is your selected, ready source. Otherwise you get the same setup as text, for theclaude_desktop_config.json file.
Claude Code. You get one command with your paths already filled in. Open a
project folder in Terminal and run it there. It adds Cleft to that project
only, and it never removes or replaces a server that already has the same name.
Codex. You get one command to run in Terminal. It applies wherever you use
Codex on this Mac rather than to one folder.
ChatGPT. The same command. The ChatGPT desktop app, Codex, and the Codex
editor extension read one shared configuration, so one command covers all
three.
Cursor. Select Open in Cursor. Cleft makes a setup link and opens it,
and Cursor shows you what it adds and asks you to confirm. The link is under
the button too, with Copy setup link, so you can open it yourself if nothing
happens. When Cleft cannot find Cursor on this Mac, you get the setup as text
instead, for ~/.cursor/mcp.json.
VS Code. You get one command to run in Terminal. It adds Cleft to your own
VS Code setup, so it works in every folder you open.
Gemini CLI. You get one command to run in Terminal. It adds Cleft for your
user account, so it works wherever you run Gemini CLI on this Mac.
Zed. You get a block of text for ~/.config/zed/settings.json. Add it
alongside the settings already in that file, then restart Zed.
OpenCode. You get a block of text for the opencode.json file in your
project. Add it alongside what is already there, then restart OpenCode.
Windsurf. You get the setup as text, for
~/.codeium/windsurf/mcp_config.json. Paste it in, then restart Windsurf.
Another tool. You get the setup as text. Paste it into that tool’s own MCP
server settings, then restart the tool. Cleft makes no promise about a tool it
has not checked, beyond the shape of the text it hands you.
For any agent that can run commands, use Agent Access from the command line.
That route also works for scripts and agents absent from this list.
Cleft says Found on this Mac or Not found on this Mac for Claude
Desktop, Cursor, VS Code, and Zed. Those four ship an app it can look for. It
says nothing either way about a command line tool, because there is no app on
your Mac for it to find.
Paths are hidden on screen by default, so the pane is safe to share. Select
Show paths to see them. Copying the setup always copies the real values.
The setup never contains a password, an integration key, or an account
identifier. Cleft keeps the account-library key in your Mac’s Keychain and
reads it again for each request.
Finish the setup and confirm it
Under the app you picked, Cleft says how far its setup has got. The line reads one of these:- Nothing set up yet.
- Setup is ready below.
- Copied, with the app named, and a reminder to finish the step there and confirm here.
- Handed to that app, with a reminder to confirm here once the app accepted it.
- Confirmed by you.
- Needs attention, followed by what changed.
Repair a connection that stopped working
If Cleft moves, your export folder changes, or you choose a different note source, the setup you already gave an app points at the old place. Cleft names each affected app on its own line in the pane, with its own fix: Install again, Copy setup command again, or Copy configuration again. Cleft names the exact entries to remove before you add the new ones, so you only remove what it added. Complete the step in the other app, then select I removed the old entries and applied the setup so Cleft can update what it remembers.Disconnect an app
Turning Agent Access off stops Cleft offering new setup details. An app you already set up keeps reading until you disconnect it there. Once Cleft has handed out a setup, a How to disconnect section appears with the steps for each app. Cleft cannot run commands or edit another app’s files for you, so you complete these steps yourself.- Claude Desktop. Open Settings, then Extensions, and uninstall
Cleft if you installed the extension. For a text setup, remove
cleftandcleft-cloud(if present) frommcpServersin~/Library/Application Support/Claude/claude_desktop_config.json, then restart Claude Desktop. If you used both routes, remove both. - Claude Code. Open each project folder where you registered Cleft in Terminal and run the removal commands below.
- Codex, ChatGPT, and the Codex editor extension. Open
~/.codex/config.tomland delete the Cleft sections. That one file serves all three. Delete Cleft from a project’s own.codex/config.tomlas well if you added it there. - Cursor. Open Customize in the sidebar and turn the Cleft server off.
To remove it for good, open
~/.cursor/mcp.jsonand delete the Cleft entries. - VS Code. Open the Command Palette, run MCP: List Servers, and remove Cleft. You can also run MCP: Open User Configuration and delete the Cleft entries there.
- Gemini CLI. Run
gemini mcp remove -s user cleftin Terminal, andgemini mcp remove -s user cleft-cloudif you added both sources. - Zed. Open
~/.config/zed/settings.jsonand remove the Cleft entries fromcontext_servers. - OpenCode. Open the
opencode.jsonfile in each project where you added Cleft and remove the Cleft entries frommcp. - Windsurf and another tool. Delete the Cleft entries from that tool’s own MCP server settings.
Start with a prompt
Connected apps can offer these Cleft starting points:- Catch me up finds recent themes and open threads.
- Find what I said locates your words and names their source notes.
- Topic brief gathers what you have said about a topic.
Troubleshooting
Cleft says Local Export is not ready
Agent Access says what is in the way:- If Local Export is off, select Open Local Export, turn it on, and return to Agent Access.
- If your export folder can’t be reached and it lives on an external or cloud drive, connect the drive, then choose the folder again in Local Export.
- If your notes export to a folder you chose, select Allow Folder Access and confirm the folder.
- If the Cleft helper isn’t installed on this Mac, reinstall or update Cleft to put it back.
The account library is unavailable
Agent Access says why the account library can’t be chosen:- Checking your Cleft Plus membership. Cleft hasn’t confirmed your membership yet. Connect to the internet, then select Check again.
- The account library needs Cleft Plus. Select Upgrade to Plus, or keep using Local Export on this Mac, which works with every account.
- The account library isn’t available in this version of Cleft. Update Cleft, or use Local Export on this Mac.
