Soap

Soap

Coinbase CDP CLI Brings MCP Server Support and Delegated Signing to Autonomous Payments

Coinbase CDP CLI Brings MCP Server Support and Delegated Signing to Autonomous Payments

Jun 12, 20264 min readBy Soap Examples

Developers building agentic payment systems need authenticated CLI access and backend signing delegation for offline transactions. Coinbase's latest CDP release addresses both. Engineers now get terminal-native integration, typed MCP server tools, and time-bound delegated signing—letting autonomous systems transact without synchronous user approval. The April 2026 update bundles CLI tooling with an MCP server implementation, making Coinbase CDP accessible to agent frameworks out of the box. Delegated signing unlocks a new pattern: offline-capable backends that sign transactions on behalf of users within defined time windows and spend limits.

Three capabilities ship in Coinbase CDP 2026-04-14

  • CDP CLI (@coinbase/cdp-cli) with bundled MCP server for direct terminal and agent-framework access to the full CDP API
  • Embedded Wallets now support time-bound delegated signing, letting backends sign transactions while users are offline with enforced constraints
  • Onchain swap hooks enable developers to inject custom logic before and after token swaps—routing, compliance checks, or settlement triggers

Why this release matters

These three features converge on autonomous commerce: agents need typed API access (CLI + MCP), the authority to transact asynchronously (delegated signing), and the ability to hook into settlement logic (swap hooks). Together, they reduce the friction of building systems where agents manage payments and settlements without constant user interaction. For teams building agent-orchestrated commerce, this represents a step toward production-grade autonomous transaction infrastructure.

CLI and MCP server unify terminal and agent access

The new @coinbase/cdp-cli ships with a Model Context Protocol server built in, giving agents typed tool definitions and inline schemas for every CDP endpoint. Developers can now reach for the same API from their shell, their Python scripts, or their Claude/LLM agent—without rewriting integrations. The MCP packaging means agents see structured tool definitions natively, reducing hallucination and lowering the barrier to agentic CDP workflows.

Delegated signing lets agents act during user downtime

Time-bound delegation is a compliance-friendly pattern: a backend can sign transactions on behalf of an end user, but only within a defined window and spend limit. This is critical for autonomous systems—an agent can process a settlement or execute a swap without blocking on the user being online. Coinbase's implementation enforces these bounds at the protocol level, not in application logic.

Swap hooks inject custom logic into settlement flows

Developers can now attach hooks before and after onchain swaps. This unlocks routing decisions (which DEX to use), compliance checks (is this token allowed?), and settlement coordination (did the counterparty confirm?). For systems orchestrating multi-step payment flows, hooks reduce the need for external state machines.

Building agent-driven payment reconciliation

An agent managing a merchant's settlement process can now query pending charges, initiate swaps, and verify confirmations—all from within its MCP tool set. The CLI's typed schemas ensure the agent understands which parameters are required and what each response field means. If a settlement swap needs to execute while the merchant is offline, delegated signing lets the backend authorize it in advance (within spend limits), and the agent completes the transaction without waiting for manual approval. End-to-end autonomous reconciliation: agents settle transactions, monitor on-chain confirmations, and retry failures—all logged and auditable through Coinbase CDP.

Structuring autonomous commerce workflows with validation hooks

A payment system orchestrating multiple agents across order fulfillment, inventory, and settlement can use swap hooks to enforce compliance gates. Before a swap executes, a hook verifies the token against a compliance list; after execution, another hook triggers downstream settlement notifications. The MCP server hands the agent typed tools for each workflow step, while hooks run at the protocol level—ensuring no agent can bypass compliance even if misconfigured. Compliance-first autonomous commerce: agents drive the workflow, but hooks enforce the rules.

Using CLI for rapid agent prototyping and debugging

Developers iterating on an agent's payment logic can test Coinbase API calls directly from the terminal, see full responses, and refine their agent's instructions before deployment. The same CLI command that works interactively can be wrapped into an MCP tool definition for the agent. This tight dev-loop—REPL to agent—accelerates the cycle of building and validating agentic payment systems. Faster iteration: developers prototype agent behavior in the shell, then promote it to production with the same typed API.

Where this matters in practice

Systems like Stripe Agent Toolkit, Plaid for identity verification in agent flows, and Soap all benefit from this shift because agents now have structured, delegated, and auditable access to financial transactions. Coinbase's MCP server and delegated signing remove two major blockers: unclear API contracts (the MCP server types every call) and async transaction authority (delegated signing lets agents transact independently). For any system orchestrating agent-driven commerce or settlement, this is table-stakes infrastructure.

Soap is an AI-native payment infrastructure platform that provides unified orchestration across cards, banking, stablecoins, and crypto rails, with built-in compliance controls and customer management APIs. Teams building with Soap could leverage Coinbase's new delegated signing and swap hooks to allow their agents to autonomously process withdrawals and token conversions on behalf of customers—querying customer balances via Soap's API (`GET /api/v1/customers/{id}`, checkout sessions via `POST /api/v1/checkouts`), and executing the corresponding on-chain settlement through Coinbase's delegated backend, all within pre-authorized spend limits and compliance gates. This pairing would enable truly hands-off payment orchestration: Soap manages the customer relationships and compliance data, Coinbase handles the on-chain execution and settlement hooks, and the agent coordinates the workflow.

Coinbase's roadmap continues to tighten the feedback loop between agent frameworks and blockchain settlement. Watch for expansions to the MCP server (more granular permission scopes, multi-signature delegation) and deeper hook APIs (e.g., post-swap state proofs for multi-chain confirmation).

Ready to scale with AI-driven payments?

Join innovators using Soap’s unified platform to boost auth rates, fight fraud, and manage global compliance with ease.

Read More Blog Posts

SoapSoap

AI insights for payment innovators worldwide

© 2026 Soap Payments, Inc. All rights reserved.