> ## 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

> Connect Memanto to a supported AI coding tool or agent.

# memanto connect

Install Memanto into a supported AI coding tool, IDE, or agent. Each target gets a tool-specific instruction file (e.g. `CLAUDE.md`, `.cursor/rules/memanto.mdc`) and the `memanto-memory` skill.

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

**Arguments:**

* `TARGET` - One of the supported target IDs below.

**Supported Targets:**

| Target           | Description             |
| ---------------- | ----------------------- |
| `claude-code`    | Anthropic Claude Code   |
| `codex`          | OpenAI Codex CLI        |
| `cursor`         | Cursor IDE              |
| `windsurf`       | Windsurf IDE            |
| `antigravity`    | Google Antigravity      |
| `gemini-cli`     | Google Gemini CLI       |
| `cline`          | Cline VS Code extension |
| `continue`       | Continue.dev            |
| `opencode`       | OpenCode CLI            |
| `goose`          | Goose AI agent          |
| `roo`            | Roo Code                |
| `github-copilot` | GitHub Copilot          |
| `augment`        | Augment Code            |

**Options:**

* `-p, --project-dir TEXT` - Target project directory (default: `.`)
* `-g, --global` - Install globally to the target's home directory (e.g. `~/.claude/`, `~/.cursor/`) instead of the current project

**Examples:**

Install for the current project:

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

Install for a different project:

```bash theme={null}
memanto connect cursor --project-dir ./my-project
```

Install globally (system-wide):

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

**Output (example):**

```
✓ Memanto connected to Claude Code
  Scope: Local
  Path: /project/.claude/
  Status: Ready to use
```

**Notes:**

* Run `memanto connect list` to see which targets are detected in your project and which already have Memanto installed.
* Use `memanto connect multi` for an interactive multi-target setup.
* Use `memanto connect remove <target>` to disconnect.
