# CLI Tool Reference

Source: https://docs.aon.pro/guides/integration/cli

> Derived from the same AON Docs release as the source page.

The AON CLI manages MCP Skill installation across Claude Desktop, Claude Code, and other MCP-compatible hosts.

* * *

## Installation

```bash
npm install -g @agentoffernetwork/cli
```

* * *

## Commands

### `aon skill install`

Install an AON Skill and register it as an MCP server.

```bash
# Install to current project (.mcp.json — for Claude Code)
aon skill install @agentoffernetwork/skill
 
# Install to Claude Desktop (global config)
aon skill install @agentoffernetwork/skill --global
 
# Inspect or install a Python skill package
aon skill info aon-demo-skill-python --runtime python
aon skill install aon-demo-skill-python --runtime python
 
# Force overwrite existing entry
aon skill install @agentoffernetwork/skill --force
 
# Install from local directory
aon skill install ./my-custom-skill --local
```

**How it works:**

1.  Downloads the package from npm (or PyPI for `--runtime python`)
2.  Reads the `aon` manifest from `package.json`
3.  Auto-detects the target config file
4.  Writes the MCP server entry

### `aon skill remove`

Remove an installed skill from the MCP config.

```bash
aon skill remove agentoffernetwork-skill
```

### `aon skill list`

List all installed MCP servers in the current config scope.

```bash
aon skill list
```

### `aon skill info`

Show skill metadata (name, tools, SDK version requirement).

```bash
aon skill info @agentoffernetwork/skill
aon skill info aon-demo-skill-python --runtime python
```

* * *

## Config Targets

The CLI auto-detects where to write based on context:

| Flag | Target | Config file |
| --- | --- | --- |
| _(default)_ | Claude Code (project) | Nearest `.mcp.json` walking up from cwd |
| `--global` | Claude Desktop | `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) |
| `--target <path>` | Custom | Any path you specify |

* * *

## Examples

### Set up AON on a new machine

```bash
# Install CLI
npm install -g @agentoffernetwork/cli
 
# Install TypeScript Skill globally (Claude Desktop)
aon skill install @agentoffernetwork/skill --global
 
# Verify
aon skill list
```

### Add AON to a project (Claude Code)

```bash
cd my-project
aon skill install @agentoffernetwork/skill
# Creates/updates .mcp.json in project root
```

### Switch to Python Skill

```bash
aon skill remove agentoffernetwork-skill
aon skill install aon-demo-skill-python --runtime python --global
```

* * *

## Next Steps

-   [Claude Integration](https://docs.aon.pro/guides/integration/claude) — Full Claude setup guide
-   [Python Skill](https://docs.aon.pro/guides/integration/python-skill) — Python MCP server details
-   [Integration Guides](https://docs.aon.pro/guides/integration) — All available integration methods

[Start from Quick Start](https://docs.aon.pro/quickstart)
