# Uninstall brainplane

Remove brainplane from your agents and your Mac, step by step. Your data folder stays until you delete it.

Canonical: https://brainplane.app/docs/uninstall/

## The steps

1. Put back the agent settings brainplane changed for you: permission levels and skills.
2. Remove the brainplane hooks from each agent.
3. Remove the brainplane MCP entry from each agent you connected.
4. Remove the brainplane extension from the Claude app, if you added it.
5. Turn off the background item.
6. Quit brainplane and move it to the Trash.
7. Optional: delete your brainplane data, after a backup.

Do them in this order, while brainplane is still in your Applications folder: step 1 happens in the app, and the `bp` command of steps 2 and 3 runs on the app's own copy of Node.

## Before you start

- Free your licence seat: in brainplane, open Settings, Licence, and press Deactivate this Mac.
- Unpair your phone: open Settings, iPhone, and press Unpair next to each phone.
- Find the `bp` command: `~/.brainplane/bin/bp`. The app checks it at each start and writes it when it is missing. If typing `bp` in Terminal says "command not found", use that full path, as in the commands below.

## 1. Permission levels and skills

brainplane changes these only when you press for it, so skip what you never used.

- Permission levels. In brainplane, open the Settings page, Agents. Under Permissions, press Undo the last change for each agent you changed: it puts back that agent's setting from before the change. If you changed an agent several times, its settings file as it was before brainplane is the oldest copy in the `_old` folder next to that file.
- Skills. brainplane installs a skill in `~/.agents/skills/<name>`, with a link in `~/.claude/skills` and, when it exists, in `~/.gemini/config/skills`. A skill compiled by brainplane carries a `<!-- brainplane: compiled` line in its `SKILL.md`. An install moves the skill it replaces, if any, to `~/.agents/_old/skills`, `~/.claude/_old/skills` or `~/.gemini/config/_old/skills`. For each skill you remove, look there first: move an earlier copy back to its folder, then move the brainplane skill and its links to the Trash.

## 2. Hooks

brainplane adds hooks to an agent's settings when you turn them on for that agent. For each such agent, run this in Terminal, with the agent's name:

```
~/.brainplane/bin/bp hooks uninstall claude
~/.brainplane/bin/bp hooks uninstall claude --yes
```

The first line prints the exact change and writes nothing. The second makes it. The names are `claude`, `codex`, `grok`, `gemini`, `antigravity` and `cursor`; `all` covers claude, codex and grok.

The command removes only the brainplane hook entries and keeps your other hooks. Before it writes, it copies the settings file to an `_old` folder next to it, and it prints where.

Codex also keeps trust lines for those hooks in `~/.codex/config.toml`: `[hooks.state...]` tables with a `trusted_hash`. The command leaves them. Once the hooks are gone they match nothing, and you can delete the tables that name the brainplane hooks.

## 3. MCP entries

When you press Connect, brainplane adds 1 MCP server named `brainplane` to each agent, through the agent's own command. Remove it with that agent's own command. Run only the lines of the agents you connected:

| Agent | Command |
|---|---|
| Claude Code | `claude mcp remove --scope user brainplane` |
| Codex | `codex mcp remove brainplane` |
| Grok | `grok mcp remove --scope user brainplane` |
| Gemini CLI | `gemini mcp remove -s user brainplane` |
| Antigravity | `agy mcp remove brainplane` |
| Copilot | `copilot mcp remove brainplane` |
| Amp | `amp mcp remove brainplane` |
| Qwen Code | `qwen mcp remove -s user brainplane` |

Within 24 hours of a connect, the app can undo that connect for you.

If you used Same MCP servers everywhere (`bp mcp-parity apply`), each apply printed its own undo line, with the backup folder in quotes. Run it with the full path of `bp`, for example:

```
~/.brainplane/bin/bp mcp-parity undo "$HOME/Library/Application Support/Brainplane/backups/2026-10-11/mcp-parity-101500" --yes
```

It removes what that apply added, where the entry is still as brainplane wrote it. That apply can also have added the `brainplane` server to Cursor, which has no remove command: open `~/.cursor/mcp.json` and delete the `brainplane` entry under `mcpServers`. Do the same in any file where the undo says an entry changed since.

## 4. The Claude extension

If you pressed Add to Claude, brainplane is an extension inside the Claude app. Remove it there: in Claude, open Settings, then Extensions, choose brainplane and uninstall it. brainplane wrote no Claude file for it.

## 5. The background item

brainplane keeps its service running through 1 item in Login Items. In brainplane, open Settings, General, and turn off Keep brainplane running in the background. brainplane removes its item, and the service then stops when you quit the app.

You can also do it in Terminal:

```
/Applications/brainplane.app/Contents/MacOS/Brainplane --unregister-background
```

If you turned on a scheduled job (the mail or Slack watcher, the drafts check or routines), each one has its own item. Remove them too:

```
/Applications/brainplane.app/Contents/MacOS/Brainplane --unregister-job mail
/Applications/brainplane.app/Contents/MacOS/Brainplane --unregister-job slack
/Applications/brainplane.app/Contents/MacOS/Brainplane --unregister-job drafts
/Applications/brainplane.app/Contents/MacOS/Brainplane --unregister-job routines
```

Each command prints `notRegistered` once its item is gone. If you keep the app in another folder, change the path. Then check System Settings, General, Login Items & Extensions: brainplane no longer shows there.

## 6. The app

Quit brainplane: brainplane menu, Quit brainplane. The service it started stops with it. Then drag brainplane from your Applications folder to the Trash.

The app also leaves a small folder with the `bp` command and the hook link: `~/.brainplane`. Once steps 2 and 3 are done, open Finder, choose Go, Go to Folder, type `~/.brainplane` and move that folder to the Trash.

## 7. Your data (optional)

Your data stays on your Mac until you delete it: topics, cards, receipts, packs, memory, and the copies of your agent settings from before each change. Deleting it cannot be undone.

Back it up first. Copy the data folder to another disk, or keep a zip of it. Keep the `backups` folder inside it at least until you checked that your agents work as before: it holds your earlier agent settings.

| What | Where |
|---|---|
| Data | `~/Library/Application Support/Brainplane`, or the folder you set in `BRAINPLANE_HOME` |
| Logs | `~/Library/Logs/Brainplane` |
| App settings | `defaults delete com.brainplane.mac` in Terminal |
| Keychain | In Keychain Access, search for brainplane: the licence, the page key and, if you set them, the speech key and the Brief voice key |

To delete them:

- The data and logs folders: in Finder, choose Go, Go to Folder, type the path, and move the folder to the Trash. Then empty the Trash.
- The app settings: run `defaults delete com.brainplane.mac` in Terminal.
- The Keychain items: in Keychain Access, select each brainplane item and choose Edit, Delete.

Keep the `_old` folders next to your agent settings files and skill folders, such as `~/.codex/_old`. They hold your earlier settings and skills, and copies that other tools may have put there.
