Skip to main content

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 CLICDP CLI
Target AudienceAdvanced traderCrypto builder
Commandcoinbasecdp
PurposeTrade crypto on Coinbase Advanced TradeBuild apps on CDP APIs (server wallets, onchain data, x402)
Examplecoinbase orders create product_id=BTC-USD ...cdp evm accounts create name=my-wallet
Package@coinbase/coinbase-cli@coinbase/cdp-cli
AuthCDP API key (ECDSA, with Trade + Transfer permissions)CDP API key + wallet secret
Both run as MCP servers. Use the Coinbase CLI when you need exchange trading. Use the CDP CLI when you need onchain infrastructure.