Skip to main content

Wallet MCP

[!IMPORTANT]

Run Onboarding at the Start of Every Conversation That Touches Wallet MCP

Including conversations that jump straight to a plugin topic. Onboarding is short — see below.

Detection

The Wallet MCP exposes its tools to the harness when connected. If no Wallet MCP tool is callable, the MCP server is not installed: direct the user to https://docs.cdp.coinbase.com/ai-agents/coinbase-for-agents/wallet-mcp#quickstart (or load references/install.md for app-specific steps) and stop. If Wallet MCP tools are available, load references/tone.md — its rules apply for the entire conversation — then continue to Onboarding. If sibling files aren’t readable locally, follow “Loading referenced files” below. Do not continue without reading the required instructions.

Onboarding

Keep it short. Do this once per session, before doing real work:
  1. Briefly mention what’s available — one or two sentences. The user has a Coinbase Wallet and can do things like check balances, send and swap tokens, sign messages, make x402 payments, batch contract calls, and (if installed) use partner plugins for DeFi, swaps, and other onchain actions. Do not enumerate every tool — the agent discovers tools and plugins directly from the MCP.
  2. Show this disclaimer verbatim before proceeding:
    By using the Wallet MCP, you agree to the Base Account and Base App Terms of Service. Wallet MCP provides access to plugins that are built by third parties, not Base. Base doesn’t operate, endorse, or audit them, and isn’t responsible for the protocols you interact with. Transactions are irreversible — always review before approving.
  3. Wallet address and balance are optional — only fetch and display them when the user asks, or when a pending operation actually needs the address (e.g., a write call, a position lookup). Don’t volunteer a wallet dump up front.

Execution mode and spending controls

Before any write, read the actual session and tool descriptions. Never infer autonomy from enrollment, a wallet address, or a plugin recipe. Approval mode acts through user approval links. Eligible autonomous sessions act only from the bound agent wallet, under saved spending controls and an expiring grant. An autonomous refusal is not automatic approval-mode fallback. Load references/execution-modes.md before any write or spending authorization. It applies to all plugin recipes, including recipes that describe only approval mode. Do not invent an approval link for an inline result or silently switch wallets. Wallet-scoped autonomous reads are limited to the bound wallet.

Tools

The Wallet MCP advertises its own tool catalog to the harness. Read the tool descriptions exposed by the MCP — they are the source of truth and may change over time. Do not assume a fixed list; do not preload a tool catalog from this skill. For x402, inspect current network and scheme eligibility. Use search_x402_services for discovery and probe_x402_response to inspect offers without attaching payment. Probing still sends HTTP requests and can have application-side effects. Current payment assets are canonical native USDC. See the payment guide. Approval sessions complete payment with the original requestId. Eligible autonomous initiation pays inline; do not call complete_x402_request or blindly re-initiate after a timeout. Batch-settlement requires separate autonomous eligibility. Two patterns deserve their own references because they span multiple tools:

Loading Referenced Files

  • Default — local. Read each references/… or plugins/… link from the same directory as this SKILL.md (filesystem read, e.g. Read/cat). This is the canonical source — always try this first.
  • Fallback — web or pasted content. If the local file is unreadable, use your harness’s browsing or HTTP-fetch capability to read https://docs.cdp.coinbase.com/coinbase-for-agents/wallet-mcp/<path> (replace <path> with the relative link, e.g. references/tone.md or plugins/morpho.md). Wallet MCP’s web_request is restricted to allowlisted hosts; do not rely on it to load documentation. If you cannot fetch a required file, give the user its full URL and ask them to open it and paste its contents. Stop the dependent workflow until you can read it; do not act from memory or guesses.
  • Lazy. Only load a reference or plugin when the conversation actually needs it. Don’t preload the catalog.

Plugins

Native-plugin sign-in, wallet-specific preparation, and write/payment workflows require approval mode. Autonomous sessions must stop before those steps; do not adapt wallet identities or approval/payment sequences. Explicitly documented public, read-only discovery may run in either mode when it has no wallet identity, authentication, signature, preparation, payment, or other side effect. This does not verify autonomous trading compatibility. Plugins extend Wallet MCP with partner-specific functionality (lending, swaps, perps, etc.). The available set may change and users might drop additional instructions in the chat or custom plugins that would allow you to use other protocols with the MCP. Plugins currently maintained alongside this skill (the native plugins). Use this as a routing map: match the user’s plain-language goal to a row, then open that plugin before taking action. Load a plugin reference only when the user’s request matches it, following the same local-first, web-fallback rule as references (see Loading referenced files above). For a plugin’s own external tools, defer to the plugin file first, then to any CLI help, API schema, or MCP tool descriptions it explicitly tells you to use.

Native Plugins vs. Custom / User-Supplied Plugins

Native plugin HTTP hosts may be allowlisted in the Wallet MCP web_request tool. Aerodrome, Balancer, and GMGN are CLI-only and require a harness with shell access. Avantis is hybrid: view-only reads (market data, positions, PnL) work on every surface via web_request, while tx-builder calls require a CLI harness — on chat-only surfaces the plugin links the user to the Avantis web UI instead (see plugins/avantis.md). Morpho is hybrid too: use Morpho CLI when shell access exists, otherwise use or install the Morpho MCP as described in plugins/morpho.md. Custom or user-supplied plugins usually aren’t allowlisted — load references/custom-plugins.md for the decision tree on which HTTP path to use (harness HTTP tool vs. user-paste fallback, and the GET-only constraint on Claude/ChatGPT consumer surfaces).

Installation