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

# Claude Code

> Install AgentCash MCP mode in Claude Code.

Run this command in your terminal:

```bash theme={null}
claude mcp add agentcash --scope user -- npx -y agentcash@latest
```

The `--scope user` flag makes AgentCash available in all your Claude Code sessions, not just the current project.

## Verify installation

Start a Claude Code session and ask:

> What is my AgentCash balance?

Claude should call the `get_balance` tool and return your total balance. If you need deposit links or network-specific wallet addresses, it should call `list_accounts`.

## Project-scoped installation

To install AgentCash for a specific project only, omit the `--scope` flag:

```bash theme={null}
claude mcp add agentcash -- npx -y agentcash@latest
```

This writes to `.claude/settings.local.json` in your project directory.

## Options

You can pass flags to AgentCash after the `--` separator:

```bash theme={null}
claude mcp add agentcash --scope user -- npx -y agentcash@latest --verbose
```

| Flag               | Description                           |
| ------------------ | ------------------------------------- |
| `--verbose` / `-v` | Enable debug output on stderr         |
| `--quiet` / `-q`   | Suppress all stderr output            |
| `--dev`            | Use development endpoints (localhost) |
