> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.6mm.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.6mm.com/_mcp/server.

# Claude Code CLI

> **規劃中 · 尚未上線**
> AI Hub 為規劃內容。本頁中的功能、服務地址、命令及客戶端配置用於說明擬定方案，目前尚未開放使用。實際開放範圍與接入方式以上線公告為準。

Claude Code CLI 適合 agent 能執行終端命令、讀取 JSON 輸出並修改接入代碼的場景。

## 推薦接入方式

| 需求      | 方式             |
| ------- | -------------- |
| 快速行情檢查  | 6MM CLI        |
| 本地賬戶上下文 | Local MCP      |
| 固定實現流程  | Agentic Skills |

## 示例任務

```text
Use 6MM CLI to list available perpetual markets and return JSON.
```

```text
Use 6MM to inspect webhook event examples and generate an idempotent handler plan.
```

```text
Use 6MM testnet data to validate this Trading Widget integration. Do not place live orders.
```

## 最佳實踐

Agent 工作流優先使用 JSON 輸出，便於解析、對比和寫入實現日誌。