Claude Code CLI

Use 6MM CLI or Local MCP inside Claude Code workflows.
View as Markdown

Claude Code CLI is useful when the agent can run terminal commands, inspect JSON output, and update integration code.

NeedSetup
Quick market checks6MM CLI
Local account contextLocal MCP
Repeatable implementation workflowAgentic Skills

Example tasks

Use 6MM CLI to list available perpetual markets and return JSON.
Use 6MM to inspect webhook event examples and generate an idempotent handler plan.
Use 6MM testnet data to validate this Trading Widget integration. Do not place live orders.

Best practice

Prefer JSON output for agent workflows. It is easier to parse, compare, and include in implementation logs.