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

# agentcash install

> Install MCP mode for your AI client.

```bash theme={null}
npx agentcash install [--client <name>]
```

The `install` command sets up AgentCash as an MCP server for your AI client. Without `--client`, it runs an interactive prompt to detect and select your client.

## Options

<ParamField query="--client" type="string">
  Skip the interactive prompt and install for a specific client. Valid values:

  `claude-code`, `cursor`, `claude`, `codex`, `cline`, `windsurf`, `warp`, `gemini-cli`, `goose`, `zed`, `opencode`, `openclaw`
</ParamField>

## Examples

Interactive install:

```bash theme={null}
npx agentcash install
```

Direct install for Cursor:

```bash theme={null}
npx agentcash install --client cursor
```

## What it does

1. Detects which AI clients are available on your system
2. Prompts you to select one (or uses `--client`)
3. Writes the MCP configuration to the client's config file
4. Confirms the installation was successful
