# Uninstall axuse — instructions for the AI agent

The user asked you to remove their installed axuse (https://ax-use.com). Assume they are not technical. Do the removal with your local tools and explain only what they need to click. Never ask them to open a terminal or type commands. Their request authorizes removal of axuse application files, MCP registration and axuse browser extensions. **Preserve user data by default**, including browser profiles, signed-in sessions, vaults, custom plugins and licenses. Ask separately before erasing any of that data.

## 1. Identify what is installed

- Identify the OS, current agent/MCP host, axuse's actual registered command/arguments/environment, installation directory and any Claude `.mcpb` installation. Inspect saved preferences for the selected browser, profile, extension backend, custom bridge directory and persistent `profile_dir`.
- Find axuse's browser-extension and native-host registrations for the installed browser variants. Use profile metadata only; never read or display cookies, tokens or passwords.
- Explain briefly which axuse components you found and which data you will retain. If multiple independent installations or other hosts use the same files, identify that dependency before deleting shared files. Ask for scope only when it is ambiguous; do not silently break another host's installation.
- If local access is unavailable, say so and give the relevant app/extension removal clicks below, or a handoff for a local MCP-capable agent. Do not claim a removal you could not perform.

## 2. Disconnect the browser bridge while the CLI still exists

1. For every axuse native-host registration in scope, run `node <installed-folder>/src/cli.js bridge uninstall --browser <browser>` using the matching browser identifier, such as `chrome`, `edge`, `chromium` or `chrome-for-testing`. Preserve any custom bridge environment used during installation. This removes the native-host registration; it does **not** remove the browser extension or stop an existing hub.
2. In each profile where axuse bridge is installed, open `chrome://extensions` (Chrome/Chromium) or `edge://extensions` (Edge), find **axuse bridge**, and choose **Remove**, confirming the browser's removal dialog. Use the actual axuse extension identity, not a similar name. Guide the user through these clicks if you cannot perform them. Do not remove other extensions or close unrelated tabs.
3. If the CLI is inaccessible, remove only a positively identified axuse native-host manifest/registry entry with local tools, preserving other native hosts. Report anything that remains inaccessible.

## 3. Remove axuse from the agent

- **Claude desktop / Cowork `.mcpb`:** guide the user to **Settings → Extensions**, select **axuse**, and use its removal/uninstall action. UI labels can vary; follow the available controls. Preserve settings/data unless the user separately requested their deletion. The Claude desktop extension and Chrome/Edge browser extension are separate; remove both when installed.
- **Codex, Claude Code, OpenCode, Antigravity/agy, Kiro, Cursor, ChatGPT Work or another local MCP host:** use the current host's supported MCP removal command or settings UI. If editing a configuration file is needed, back it up and remove only the `axuse` entry and its associated environment settings. Preserve unrelated MCP servers and configuration. Do not assume every host uses the same file format or location.
- Remove axuse-specific saved agent instructions/preferences that would tell future sessions to keep using it. Preserve unrelated memory and instructions.
- Before restarting a host that is performing this removal, save a short handoff containing the remaining cleanup and verification steps. Its current tools may remain loaded until it restarts.

## 4. Stop axuse processes and remove application files

1. Stop the axuse MCP process and bridge hub cleanly through the host/reload controls where possible. If a separate axuse process remains, verify its actual executable and full command against the identified installation before terminating it. A PID in bridge state alone is insufficient: PIDs can be reused. Do not kill all Node processes or terminate a browser or the current agent indiscriminately.
2. Remove only application files positively identified as belonging to the installation being removed, once no other host depends on them. For the usual source installation, this may be `~/.axuse/app` on macOS/Linux or `%LOCALAPPDATA%\axuse\app` on Windows, but use the actual discovered path. Do not delete the whole `~/.axuse` directory or assume a developer checkout is disposable.
3. Preserve local source changes, custom plugins, licenses, vaults, captures and persistent profiles before removing application directories that contain them. Move retained files to a clearly identified data/backup folder if necessary and report that location. If preserving them safely is ambiguous, leave that directory and report the remaining cleanup rather than deleting it blindly.
4. After the processes are stopped, remove confirmed axuse-only generated bridge state/launcher files when no retained installation uses them. Do not broadly delete an application-support directory or a Windows registry subtree that contains unrelated data.
5. Keep Node.js, Git, Chrome, Edge and other shared software installed. Keep all browser profiles and logins. If the user explicitly requests an axuse data purge, show the exact axuse-owned data locations and obtain approval before deleting them; never delete the user's daily browser profile.
6. For macOS desktop permissions, explain that grants for a shared terminal, Node runtime or agent app may serve other tools. Do not revoke those shared grants automatically. Remove only an axuse-specific permission entry if it is clearly identifiable and in scope.

## 5. Restart and verify removal

1. Tell the user to fully quit and reopen the affected agent app, or restart its CLI session. A new chat alone may leave the previous MCP process loaded. If that interrupts the task, say “axuse removed from configuration; verification pending after restart” and provide the handoff.
2. After restart, verify that the affected host no longer registers or launches axuse, the targeted browser extensions/native-host registrations are absent, and no process remains for the removed installation. Do not call a removed axuse tool as a verification step.
3. Report what was removed, which data was kept and where, and any remaining installation or step requiring a user click or restart. Do not claim full removal if a browser extension, host entry or process could not be checked.

Do not use sudo or administrator rights without permission. If removal is blocked, explain the specific permission or organization policy and the next click. Help: dev@ax-use.com.
