Overview
We offer two separate agentic products depending on what you’re looking to accomplish:- If you are a trader looking to give your AI agent headless access to your Coinbase account, use the Coinbase CLI/MCP. It connects directly to Coinbase Advanced Trade, enabling your agent to check prices, place orders, and manage portfolios.
- If you are a builder developing a crypto app with a coding agent, use the CDP CLI/MCP. It gives your agent access to the full CDP API surface: server wallets, onchain data, smart accounts, x402 payments, and more.
Coinbase CLI vs. CDP CLI
| Coinbase CLI | CDP CLI | |
|---|---|---|
| Target Audience | Advanced trader | Crypto builder |
| Command | coinbase | cdp |
| Purpose | Trade crypto on Coinbase Advanced Trade | Build apps on CDP APIs (server wallets, onchain data, x402) |
| Example | coinbase orders create product_id=BTC-USD ... | cdp evm accounts create name=my-wallet |
| Package | @coinbase/coinbase-cli | @coinbase/cdp-cli |
| Auth | CDP API key (ECDSA, with Trade + Transfer permissions) | CDP API key + wallet secret |