Quick Reference
Installation and Configuration
node -v # Confirm Node.js 20+
npm install -g @mexc-ai/cli # Install
mexc doctor # Environment check
mexc profile set my-account # Configure Access Key / Secret Key
mexc profile use my-account # Set as the current account
Terminal Usage
mexc explore # Browse all capabilities
mexc <category> <module> <action> --help # View command parameters
mexc contract market ticker --symbol BTC_USDT # Contract ticker, no API key required
mexc spot asset overview # Account overview
mexc spot trade current-orders # Open orders
mexc <command> --dry-run # Print the request without sending it
Agent Integration
mexc skills install # Option 1: install skill documents
mexc skills update # Run after upgrading the CLI
For Option 2 MCP configuration, see "Option 2: Configure MCP" in AI Agent Integration.
Troubleshooting
mexc doctor # Environment check
mexc --version # Version