# WireCat MAX MCP server

> Lets an AI client read, search, and send messages through your MAX account or bots.

- Repository: https://github.com/WireCatLabs/max-cli
- Page: https://hostedmcp.org/servers/wirecatlabs/max-cli
- Transport: stdio
- Stars: 13
- License: Apache-2.0
- Latest version: 0.115.0

## Install

### Claude Code

```sh
claude mcp add max-cli -- npx -y @wirecat/max-cli
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "max-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@wirecat/max-cli"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "max-cli": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@wirecat/max-cli"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"max-cli","type":"stdio","command":"npx","args":["-y","@wirecat/max-cli"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "max-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@wirecat/max-cli"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add max-cli -- npx -y @wirecat/max-cli
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.max-cli]
command = "npx"
args = ["-y", "@wirecat/max-cli"]
```

### Gemini CLI

```sh
gemini mcp add -s user max-cli npx -- -y @wirecat/max-cli
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "max-cli": {
      "command": "npx",
      "args": [
        "-y",
        "@wirecat/max-cli"
      ]
    }
  }
}
```

## FAQ

### How do I connect my MAX account to an AI agent?

You can use the command `max personal setup` to sign in via QR code, which makes the CLI an additional device for your account.

### Can I use this with Claude Desktop or Cursor?

Yes, you can connect MCP-compatible clients by running the command `max personal mcp config`.

### Does reading messages mark them as read?

No, reading is safe by default and does not trigger a 'read' status.

### Is there an official way to use bots?

Yes, the `max sales bot` command works through the official MAX Bot API using a token.
