Coinbase Wallet MCP
coinbase_wallet_mcpCoinbase Wallet MCP lets authorized agents inspect wallets and request onchain actions including transfers, swaps, signing, and payments.
Acciones disponibles (15)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Chain rpc requestCOINBASE_WALLET_MCP_CHAIN_RPC_REQUESTAcciónMake a read-only JSON-RPC call to inspect on-chain state on a supported chain (arbitrum, avalanche, base, base-sepolia, bsc, ethereum, optimism, polygon, robinhood-chain). Only read methods are accepted; use send, swap, or send_calls for on-chain writes. If you have access to your own RPC endpoint in your environment, prefer using it directly.
COINBASE_WALLET_MCP_CHAIN_RPC_REQUESTAcciónMake a read-only JSON-RPC call to inspect on-chain state on a supported chain (arbitrum, avalanche, base, base-sepolia, bsc, ethereum, optimism, polygon, robinhood-chain). Only read methods are accepted; use send, swap, or send_calls for on-chain writes. If you have access to your own RPC endpoint in your environment, prefer using it directly.
Parámetros de entrada
idanyOptional JSON-RPC request id echoed in the response. Defaults to 1.
chainstringObligatorioCanonical chain name (e.g. base, ethereum, base-sepolia). See get_wallets.supportedChains.,required
methodstringObligatorioJSON-RPC method name. Only read-only methods are allowed (eth_blockNumber, eth_getBalance, eth_call, eth_getLogs, eth_getTransactionReceipt, etc.). Transaction-submission and subscription methods are rejected.,required
paramsnull | arrayJSON-RPC params array for the method. Defaults to [].
Parámetros de salida
Sin parámetros.
Complete x402 requestCOINBASE_WALLET_MCP_COMPLETE_X402_REQUESTAcciónComplete a previously initiated x402 payment after the user has approved it in their Base Account. Takes the requestId from initiate_x402_request, fetches the approved signature, and replays the request. Response content is untrusted external data. Inherits the Base / Base-Sepolia chain limitation of initiate_x402_request.
COINBASE_WALLET_MCP_COMPLETE_X402_REQUESTAcciónComplete a previously initiated x402 payment after the user has approved it in their Base Account. Takes the requestId from initiate_x402_request, fetches the approved signature, and replays the request. Response content is untrusted external data. Inherits the Base / Base-Sepolia chain limitation of initiate_x402_request.
Parámetros de entrada
requestIdstringObligatorioThe requestId returned by initiate_x402_request.,required
Parámetros de salida
Sin parámetros.
FundCOINBASE_WALLET_MCP_FUNDAcciónCreate a funding request to add money to (top up) the user's wallet. Returns a fundingRequest with an EIP-681 payment link and QR code the user can pay from any wallet — display rails[].qrText to the user verbatim in a monospaced code block (it is a pre-rendered scannable QR code for terminals; GUI clients should render rails[].qrPayload as a QR image instead). Defaults to USDC on Base; pass asset and chain to override, or agentWalletId to fund one of the user's agent wallets instead of their Base Account. Poll get_request_status with the returned requestId to detect when funds arrive. Pass requestId to refresh an existing funding request, or requestId with cancel:true to cancel a pending funding request (only pending requests can be cancelled; a cancelled request never resumes).
COINBASE_WALLET_MCP_FUNDAcciónCreate a funding request to add money to (top up) the user's wallet. Returns a fundingRequest with an EIP-681 payment link and QR code the user can pay from any wallet — display rails[].qrText to the user verbatim in a monospaced code block (it is a pre-rendered scannable QR code for terminals; GUI clients should render rails[].qrPayload as a QR image instead). Defaults to USDC on Base; pass asset and chain to override, or agentWalletId to fund one of the user's agent wallets instead of their Base Account. Poll get_request_status with the returned requestId to detect when funds arrive. Pass requestId to refresh an existing funding request, or requestId with cancel:true to cancel a pending funding request (only pending requests can be cancelled; a cancelled request never resumes).
Parámetros de entrada
assetstringAsset symbol to receive. Defaults to USDC.
chainstringChain to receive funds on. Defaults to base.
amountstringHuman-readable decimal amount to add (e.g. 10 or 1.5). Required when creating a new funding request; ignored when requestId is set.
cancelbooleanSet with requestId to cancel a pending funding request.
requestIdstringRefresh an existing funding request instead of creating a new one. Pass the requestId returned by a previous fund call.
agentWalletIdstringFund one of the user's agent wallets instead of their Base Account. Must be an agent wallet id from get_wallets.
Parámetros de salida
Sin parámetros.
Get portfolioCOINBASE_WALLET_MCP_GET_PORTFOLIOAcciónReturns total portfolio value and per-asset breakdown for a wallet address. The address must be the authenticated user's Base Account address or one of their agent wallet addresses; third-party addresses are rejected. Defaults to the session's wallet when omitted. Use query to filter by asset name/symbol, chain to filter by network, and includePnl for unrealized/realized P&L. Paginate with offset and limit (default 20).
COINBASE_WALLET_MCP_GET_PORTFOLIOAcciónReturns total portfolio value and per-asset breakdown for a wallet address. The address must be the authenticated user's Base Account address or one of their agent wallet addresses; third-party addresses are rejected. Defaults to the session's wallet when omitted. Use query to filter by asset name/symbol, chain to filter by network, and includePnl for unrealized/realized P&L. Paginate with offset and limit (default 20).
Parámetros de entrada
chainstringOptional chain filter. Defaults to all chains.
limitintegerMaximum number of assets to return. Defaults to 20.
querystringOptional search filter to narrow the asset list.
offsetintegerPagination offset. Defaults to 0.
addressstringWallet address to query. Must be the authenticated user's Base Account address or one of their agent wallet addresses. Defaults to the session's agent wallet when omitted. Third-party addresses are rejected.
includePnlbooleanInclude unrealized and realized P&L data per asset. Defaults to false.
Parámetros de salida
Sin parámetros.
Get request statusCOINBASE_WALLET_MCP_GET_REQUEST_STATUSAcciónPoll the status of an approval request by requestId (returned by send, sign, swap, or send_calls). Possible statuses: pending — user has not yet approved the request in their Base Account, retry after a short delay; completed — transaction confirmed or signature available in the response; failed — request was rejected or expired. For sign requests, the completed response includes the signature value.
COINBASE_WALLET_MCP_GET_REQUEST_STATUSAcciónPoll the status of an approval request by requestId (returned by send, sign, swap, or send_calls). Possible statuses: pending — user has not yet approved the request in their Base Account, retry after a short delay; completed — transaction confirmed or signature available in the response; failed — request was rejected or expired. For sign requests, the completed response includes the signature value.
Parámetros de entrada
requestIdstringObligatorioThe request ID returned by a previous send/sign/swap/send_calls/initiate_x402_request call in approval mode,required
Parámetros de salida
Sin parámetros.
Get transaction historyCOINBASE_WALLET_MCP_GET_TRANSACTION_HISTORYAcciónReturns paginated transaction history in reverse chronological order for a single chain. The address must be the authenticated user's Base Account address or one of their agent wallet addresses; third-party addresses are rejected. Defaults to the session's wallet when omitted. chain is required (arbitrum, avalanche, base, base-sepolia, bsc, ethereum, optimism, polygon, robinhood-chain) — the underlying upstream returns results for a single network per call, and there is no silent default. To cover multiple chains, call this tool once per chain. Optionally filter by asset symbol. No date range filter — paginate with cursor while hasMore is true.
COINBASE_WALLET_MCP_GET_TRANSACTION_HISTORYAcciónReturns paginated transaction history in reverse chronological order for a single chain. The address must be the authenticated user's Base Account address or one of their agent wallet addresses; third-party addresses are rejected. Defaults to the session's wallet when omitted. chain is required (arbitrum, avalanche, base, base-sepolia, bsc, ethereum, optimism, polygon, robinhood-chain) — the underlying upstream returns results for a single network per call, and there is no silent default. To cover multiple chains, call this tool once per chain. Optionally filter by asset symbol. No date range filter — paginate with cursor while hasMore is true.
Parámetros de entrada
assetstringOptional asset symbol filter. Filters transfers within transactions.
chainstringObligatorioChain to query.,required
limitintegerDeprecated — ignored. Page size is determined by the upstream service.
cursorstringPagination cursor from a previous response's nextCursor. Omit for the first page.
addressstringWallet address to query. Must be the authenticated user's Base Account address or one of their agent wallet addresses. Defaults to the session's agent wallet when omitted. Third-party addresses are rejected.
Parámetros de salida
Sin parámetros.
Get walletsCOINBASE_WALLET_MCP_GET_WALLETSAcciónReturns the user's Base Account and all agent wallets with delegation status, spend policy, and session authorization. Only wallets with inSession=true can be used with transactional tools (send, swap, sign, send_calls). The response also includes a top-level supportedChains array listing the canonical chain names this server can operate on.
COINBASE_WALLET_MCP_GET_WALLETSAcciónReturns the user's Base Account and all agent wallets with delegation status, spend policy, and session authorization. Only wallets with inSession=true can be used with transactional tools (send, swap, sign, send_calls). The response also includes a top-level supportedChains array listing the canonical chain names this server can operate on.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
Sin parámetros.
HelpCOINBASE_WALLET_MCP_HELPAcciónReturns guidance for helping the user with protocol-specific tasks that aren't directly supported by this MCP.
COINBASE_WALLET_MCP_HELPAcciónReturns guidance for helping the user with protocol-specific tasks that aren't directly supported by this MCP.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
Sin parámetros.
Initiate x402 requestCOINBASE_WALLET_MCP_INITIATE_X402_REQUESTAcciónInitiate an HTTPS request to an x402-enabled endpoint. Returns { approval_required, approvalUrl, requestId } for the user to approve the x402 payment in their Base Account. When telling the user where to approve, refer to the destination as "Base Account". After approval, call complete_x402_request with the requestId. Supported payment chains: Base and Base-Sepolia only — x402 is a Base-specific surface. 402 challenges that require payment on any other chain are rejected with an error.
COINBASE_WALLET_MCP_INITIATE_X402_REQUESTAcciónInitiate an HTTPS request to an x402-enabled endpoint. Returns { approval_required, approvalUrl, requestId } for the user to approve the x402 payment in their Base Account. When telling the user where to approve, refer to the destination as "Base Account". After approval, call complete_x402_request with the requestId. Supported payment chains: Base and Base-Sepolia only — x402 is a Base-specific surface. 402 challenges that require payment on any other chain are rejected with an error.
Parámetros de entrada
urlstringObligatorioFull HTTPS URL to the x402-enabled endpoint.,required
bodyobjectOptional JSON body for POST requests.
methodstringObligatorioHTTP method: GET or POST.,enum=GET,enum=POST,required
headersobjectOptional HTTP headers for the initial request.
maxPaymentstringObligatorioMaximum USDC amount willing to pay (human-readable decimal e.g. '1.00').,required
agentWalletIdstringIgnored in approval mode. Scopes the payment to a specific agent wallet when agent wallets are present.
Parámetros de salida
Sin parámetros.
Search tokensCOINBASE_WALLET_MCP_SEARCH_TOKENSAcciónSearch for tokens by symbol or name on a single chain. Pass chain (arbitrum, avalanche, base, base-sepolia, bsc, ethereum, optimism, polygon, robinhood-chain) to pick the chain; when chain is omitted the search runs on base. Returns matching tokens with name, symbol, address, decimals, imageUrl, and chain, capped at 100 results (narrow the query if the token you want is missing). Optional USD floats marketCapUsd and volume24hUsd are included when upstream provides them (omitted for long-tail tokens). Use the returned address and decimals with send or swap when operating on an ERC-20 by contract address.
COINBASE_WALLET_MCP_SEARCH_TOKENSAcciónSearch for tokens by symbol or name on a single chain. Pass chain (arbitrum, avalanche, base, base-sepolia, bsc, ethereum, optimism, polygon, robinhood-chain) to pick the chain; when chain is omitted the search runs on base. Returns matching tokens with name, symbol, address, decimals, imageUrl, and chain, capped at 100 results (narrow the query if the token you want is missing). Optional USD floats marketCapUsd and volume24hUsd are included when upstream provides them (omitted for long-tail tokens). Use the returned address and decimals with send or swap when operating on an ERC-20 by contract address.
Parámetros de entrada
chainstringChain to search. Defaults to base when omitted.
querystringObligatorioSearch term such as a token symbol or name.,required
Parámetros de salida
Sin parámetros.
SendCOINBASE_WALLET_MCP_SENDAcciónSend native tokens or any ERC-20. Recipient can be a 0x address, ENS name (name.eth), basename (name.base.eth), or cb.id. Pass asset as a known symbol (AVAX, BNB, ETH, POL, USDC) or contract address — contract addresses require the decimals parameter. Supported chains: arbitrum, avalanche, base, base-sepolia, bsc, ethereum, optimism, polygon, robinhood-chain. Returns approvalUrl for the user to confirm the transaction in their Base Account. When telling the user where to approve, refer to the destination as "Base Account". Poll get_request_status(requestId) to verify completion before reporting success.
COINBASE_WALLET_MCP_SENDAcciónSend native tokens or any ERC-20. Recipient can be a 0x address, ENS name (name.eth), basename (name.base.eth), or cb.id. Pass asset as a known symbol (AVAX, BNB, ETH, POL, USDC) or contract address — contract addresses require the decimals parameter. Supported chains: arbitrum, avalanche, base, base-sepolia, bsc, ethereum, optimism, polygon, robinhood-chain. Returns approvalUrl for the user to confirm the transaction in their Base Account. When telling the user where to approve, refer to the destination as "Base Account". Poll get_request_status(requestId) to verify completion before reporting success.
Parámetros de entrada
assetstringObligatorioAsset symbol or ERC-20 contract address. When passing a contract address you must also pass decimals.
chainstringObligatorioTarget chain.
amountstringObligatorioHuman-readable decimal amount (e.g. 1.5). Must be positive and not exceed the asset's decimal precision.
decimalsnull | integerERC-20 decimals. Required when asset is a contract address; ignored otherwise. Must be 0-18.
recipientstringObligatorioDestination address, ENS name (name.eth), basename (name.base.eth), or cb.id name.
agentWalletIdstringIgnored in approval mode. Scopes the send to a specific agent wallet when agent wallets are present.
Parámetros de salida
Sin parámetros.
Send callsCOINBASE_WALLET_MCP_SEND_CALLSAcciónSubmit a batch of raw contract calls for user approval. Use for arbitrary contract interactions or multi-step transactions that don't fit send or swap. Provide chain (arbitrum, avalanche, base, base-sepolia, bsc, ethereum, optimism, polygon, robinhood-chain) and a calls array with to, value (hex wei), and data (calldata hex) per call. Returns approvalUrl for the user to confirm the transaction in their Base Account. When telling the user where to approve, refer to the destination as "Base Account". Poll get_request_status(requestId) to verify completion.
COINBASE_WALLET_MCP_SEND_CALLSAcciónSubmit a batch of raw contract calls for user approval. Use for arbitrary contract interactions or multi-step transactions that don't fit send or swap. Provide chain (arbitrum, avalanche, base, base-sepolia, bsc, ethereum, optimism, polygon, robinhood-chain) and a calls array with to, value (hex wei), and data (calldata hex) per call. Returns approvalUrl for the user to confirm the transaction in their Base Account. When telling the user where to approve, refer to the destination as "Base Account". Poll get_request_status(requestId) to verify completion.
Parámetros de entrada
callsnull | arrayObligatorioArray of calls to execute. Each call specifies a target address and optional value/data.,required
chainstringObligatorioTarget chain.,required
Parámetros de salida
Sin parámetros.
SignCOINBASE_WALLET_MCP_SIGNAcciónRequest a user-approved signature. Set type to personal_sign and pass data as {"message": "..."}, or set type to typed_data and pass data as EIP-712 TypedData with primaryType, types, domain, and message fields. Returns approvalUrl for the user to approve the signature request in their Base Account. When telling the user where to approve, refer to the destination as "Base Account". Poll get_request_status(requestId) to retrieve the signature.
COINBASE_WALLET_MCP_SIGNAcciónRequest a user-approved signature. Set type to personal_sign and pass data as {"message": "..."}, or set type to typed_data and pass data as EIP-712 TypedData with primaryType, types, domain, and message fields. Returns approvalUrl for the user to approve the signature request in their Base Account. When telling the user where to approve, refer to the destination as "Base Account". Poll get_request_status(requestId) to retrieve the signature.
Parámetros de entrada
dataobjectObligatorioSigning payload. For personal_sign pass {message: 'Hello world'}. For typed_data pass {primaryType, types, domain, message}.,required
typestringObligatorioSigning mode: personal_sign for a plain message or typed_data for EIP-712 structured data. Also accepts 0x45 and 0x01.,enum=personal_sign,enum=typed_data,enum=0x45,enum=0x01,required
Parámetros de salida
Sin parámetros.
SwapCOINBASE_WALLET_MCP_SWAPAcciónSwap between tokens on a mainnet chain (testnets not supported). Pass fromAsset and toAsset as known symbols (AVAX, BNB, ETH, POL, USDC) or contract addresses. Use search_tokens to discover an address for a token referenced by name. Amount is a decimal string (e.g. "0.5"). Returns approvalUrl for the user to confirm the swap in their Base Account. When telling the user where to approve, refer to the destination as "Base Account". Poll get_request_status(requestId) to verify completion before reporting success.
COINBASE_WALLET_MCP_SWAPAcciónSwap between tokens on a mainnet chain (testnets not supported). Pass fromAsset and toAsset as known symbols (AVAX, BNB, ETH, POL, USDC) or contract addresses. Use search_tokens to discover an address for a token referenced by name. Amount is a decimal string (e.g. "0.5"). Returns approvalUrl for the user to confirm the swap in their Base Account. When telling the user where to approve, refer to the destination as "Base Account". Poll get_request_status(requestId) to verify completion before reporting success.
Parámetros de entrada
chainstringObligatorioTarget chain. Swaps are only supported on mainnet chains. Testnets are not supported.
amountstringObligatorioHuman-readable decimal amount of fromAsset to swap (e.g. 0.5). Must be positive.
toAssetstringObligatorioToken symbol or ERC-20 contract address to swap to.
fromAssetstringObligatorioToken symbol or ERC-20 contract address to swap from.
toDecimalsnull | integerOptional ERC-20 decimals for toAsset (0-18). Only needs to be set when the server cannot determine decimals on its own.
fromDecimalsnull | integerOptional ERC-20 decimals for fromAsset (0-18). Only needs to be set when the server cannot determine decimals on its own.
agentWalletIdstringIgnored in approval mode. Scopes the swap to a specific agent wallet when agent wallets are present.
Parámetros de salida
Sin parámetros.
Web requestCOINBASE_WALLET_MCP_WEB_REQUESTAcciónMake an HTTP GET or POST request to a whitelisted partner API. Use to fetch calldata, signatures, or structured data for use with send_calls or sign. HTTPS required; hostname must be in the server's allowlist. Authorization, Cookie, Host, and X-Forwarded-* headers are prohibited. Returns status code, headers, and response body. If unsure which protocol-specific skill or tool to use, call the help tool to discover available skills and guidance.
COINBASE_WALLET_MCP_WEB_REQUESTAcciónMake an HTTP GET or POST request to a whitelisted partner API. Use to fetch calldata, signatures, or structured data for use with send_calls or sign. HTTPS required; hostname must be in the server's allowlist. Authorization, Cookie, Host, and X-Forwarded-* headers are prohibited. Returns status code, headers, and response body. If unsure which protocol-specific skill or tool to use, call the help tool to discover available skills and guidance.
Parámetros de entrada
urlstringObligatorioFull HTTPS URL to request. The hostname must be in the server's configured allowlist.,required
bodyobjectJSON request body for POST requests. Ignored for GET.
methodstringObligatorioHTTP method: GET or POST.,enum=GET,enum=POST,required
headersobjectOptional custom headers. Authorization, Cookie, Host, and X-Forwarded-* headers are prohibited.
Parámetros de salida
Sin parámetros.