> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memanto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# memanto connect remove

> Disconnect Memanto from a connected target.

# memanto connect remove

Remove the Memanto integration from one or all connected targets.

```bash theme={null}
memanto connect remove [TARGET] [OPTIONS]
```

**Arguments:**

* `TARGET` - Target name to disconnect (e.g. `claude-code`, `cursor`). Optional when `--all` is used.

**Options:**

* `-p, --project-dir TEXT` - Project directory (default: `.`)
* `-g, --global` - Remove from the global scope instead of the project
* `--all` - Remove Memanto from every supported target in the chosen scope

Either `TARGET` or `--all` must be provided.

**Examples:**

Remove a single target locally:

```bash theme={null}
memanto connect remove claude-code
```

Remove a target globally:

```bash theme={null}
memanto connect remove cursor --global
```

Remove from a specific project directory:

```bash theme={null}
memanto connect remove claude-code --project-dir ./my-project
```

Remove all integrations in the project:

```bash theme={null}
memanto connect remove --all
```

Remove all integrations globally:

```bash theme={null}
memanto connect remove --all --global
```

**Output:**

```
✓ Claude Code
  Removed instruction file: CLAUDE.md
  Removed skill: .claude/skills/memanto-memory

Removed MEMANTO from 1 agent(s)
```
