> 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

Claude Code CLI 适合 agent 能执行终端命令、读取 JSON 输出并修改接入代码的场景。

<h2 id="recommended-setup">
  推荐接入方式
</h2>

| 需求      | 方式             |
| ------- | -------------- |
| 快速行情检查  | 6MM CLI        |
| 本地账户上下文 | Local MCP      |
| 固定实现流程  | Agentic Skills |

<h2 id="example-tasks">
  示例任务
</h2>

```text
使用 6MM CLI 列出可交易永续合约市场，并返回 JSON。
```

```text
使用 6MM 查看 Webhook event 示例，并生成幂等处理方案。
```

```text
使用 6MM 测试网 数据验证这个 Trading Widget 接入。不要提交真实订单。
```

<h2 id="best-practice">
  最佳实践
</h2>

Agent 工作流优先使用 JSON 输出，便于解析、对比和写入实现日志。