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

# CLI Reference

> CLI reference for the Icepick command-line tool.

# `icepick`

CLI tool for managing Icepick components, agents, and tools.

## Global Options

| Option             | Description                                     |
| ------------------ | ----------------------------------------------- |
| `-C, --cwd <path>` | Change working directory before running command |
| `--version`        | Show version information                        |

## Commands

### `icepick create [name]`

Create a new Icepick project.

**Arguments:**

* `[name]` - Project name (optional)

**Example:**

```bash theme={null}
icepick create my-project
```

### `icepick add`

Add various resources to your project.

#### `icepick add agent <name>`

Add a new agent to the project.

**Arguments:**

* `<name>` - Agent name (required)

**Example:**

```bash theme={null}
icepick add agent my-agent
```

#### `icepick add tool <name>`

Add a new tool to the project.

**Arguments:**

* `<name>` - Tool name (required)

**Example:**

```bash theme={null}
icepick add tool my-tool
```

### `icepick mcp`

Start the Model Context Protocol server for development (should only be started by coding assistants).

**Example:**

```bash theme={null}
icepick mcp
```

### `icepick version`

Show version information.

**Example:**

```bash theme={null}
icepick version
```

## Usage Examples

### Create a new project

```bash theme={null}
icepick create my-ai-project
cd my-ai-project
```

### Add an agent

```bash theme={null}
icepick add agent customer-support
```

### Add a tool

```bash theme={null}
icepick add tool database-query
```

### Change working directory

```bash theme={null}
icepick -C /path/to/project add agent new-agent
```
