Volver al catálogo

Coinbase Agents MCP

coinbase_agents_mcp

Coinbase Agents MCP lets authorized agents inspect portfolios, accounts, products, fees, orders, fills, and market data, and perform permitted conversions, trades, transfers, portfolio changes, and x402 payments.

Acciones
29
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (29)

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.

Coinbase balanceCOINBASE_AGENTS_MCP_COINBASE_BALANCEAcción

Returns account balances for exactly one portfolio. If portfolio_id is omitted, only the default portfolio is returned. Results are not aggregated across portfolios; use coinbase_portfolios_list and query each portfolio for a complete multi-portfolio view. The response portfolio_id identifies the effective portfolio queried. Balances show available funds and amounts on hold; available_balance excludes funds held by open orders. Use before trading or transferring to confirm available funds. (4 fields, 0 required)

Parámetros de entrada

  • limitinteger

    Results per page

  • cursorstring

    Pagination cursor

  • show_zeroboolean

    Include zero-balance accounts (default false)

  • portfolio_idstring

    UUID of the single portfolio to query. Omit to query only the default portfolio.

Parámetros de salida

  • sizeinteger
  • cursorstring
  • accountsobject[]
  • has_nextboolean
  • portfolio_idstringObligatorio

    UUID of the single portfolio whose accounts and pagination metadata are returned; this response is not aggregated across portfolios.

Coinbase convert executeCOINBASE_AGENTS_MCP_COINBASE_CONVERT_EXECUTEAcción

Executes a previously quoted conversion using the quote_id from convert_quote. This moves funds at the quoted rate — get a fresh quote first since quotes expire. The from/to currencies must match the original quote. (3 fields, 3 required)

Parámetros de entrada

  • tostringObligatorio

    Target currency

  • fromstringObligatorio

    Source currency

  • quote_idstringObligatorio

    Quote ID from convert quote response

Parámetros de salida

  • tradeobject
Coinbase convert getCOINBASE_AGENTS_MCP_COINBASE_CONVERT_GETAcción

Check status of a conversion by quote ID. (3 fields, 3 required)

Parámetros de entrada

  • tostringObligatorio

    Target currency

  • fromstringObligatorio

    Source currency

  • quote_idstringObligatorio

    Quote ID

Parámetros de salida

  • idstring
  • statusstring
  • exchange_rateobject
  • source_currencystring
  • target_currencystring
Coinbase convert quoteCOINBASE_AGENTS_MCP_COINBASE_CONVERT_QUOTEAcción

Quotes stablecoin↔fiat and stablecoin↔stablecoin conversions, returning rate, fees, and a quote ID. It does not support BTC, ETH, or other non-stablecoin assets; use an order to trade those assets. Pass the ID to convert_execute promptly because quotes expire. (3 fields, 3 required)

Parámetros de entrada

  • tostringObligatorio

    Target currency

  • fromstringObligatorio

    Source currency

  • amountstringObligatorio

    Amount to convert

Parámetros de salida

  • tradeobject
Coinbase feesCOINBASE_AGENTS_MCP_COINBASE_FEESAcción

Fee tier, maker/taker rates, and 30-day volume. (1 field, 0 required)

Parámetros de entrada

  • product_typestringenum

    FUTURE = CFM dated futures. Trading futures requires separate approval on the account beyond spot — if a futures order is rejected for eligibility, or the user asks how to get access, point them to https://help.coinbase.com/en/coinbase/trading-and-funding/derivatives/futures-intro to apply.

    SPOTFUTUREEQUITY

Parámetros de salida

  • fee_tierobjectObligatorio
  • total_feesnumberObligatorio

    Total fees (USD)

  • margin_rateobject

    Margin rate (FUTURE only)

  • total_balancestring

    Total balance (USD)

  • coinbase_pro_feesnumber
  • coinbase_pro_volumenumber
  • advanced_trade_only_feesnumber

    Advanced Trade fees (USD)

  • has_cost_plus_commissionboolean
  • advanced_trade_only_volumenumber

    Advanced Trade volume (USD)

Coinbase orders cancelCOINBASE_AGENTS_MCP_COINBASE_ORDERS_CANCELAcción

Cancels one or more open orders by ID. Removes resting orders from the book so reserved funds are released; already-filled portions are unaffected. Returns per-order success so a partial batch can fail. (1 field, 1 required)

Parámetros de entrada

  • order_idsstring[]Obligatorio

    Order IDs to cancel

Parámetros de salida

  • resultsobject[]
Coinbase orders close positionCOINBASE_AGENTS_MCP_COINBASE_ORDERS_CLOSE_POSITIONAcción

Places a market order to flatten an open position for a product, moving funds immediately. Omit size for a full close or set it for a partial close. Preview the equivalent order first if fee or slippage impact matters. (3 fields, 2 required)

Parámetros de entrada

  • sizestring

    Partial close size (omit for full close)

  • product_idstringObligatorio

    Product to close

  • client_order_idstringObligatorio

    Idempotency key

Parámetros de salida

  • successboolean

    Whether the closing order was accepted

  • order_idstring

    ID of the market order placed to close the position

  • product_idstring

    Product whose position was closed

Coinbase orders createCOINBASE_AGENTS_MCP_COINBASE_ORDERS_CREATEAcción

Place a market, limit, stop_limit, bracket, twap, or scaled order, subject to venue eligibility. Equities: use market or limit. Spot brackets require SELL; for entry, use market/limit BUY with attached exits. Futures brackets support BUY/SELL. Bracket stops become aggressive limit exits; fills and loss limits are not guaranteed. TWAP requires base_size, start_time, end_time, and a positive limit_price; slice count is automatic. Use orders_preview for optional fee, fill, and execution-plan estimates. Set exactly one size: limit and market SELL convert quote_size to base_size; market BUY spends quote_size; stop_limit/bracket/twap/scaled require base_size. Attached exits require market/limit parents and activate as the parent fills, including partial fills. If a FUTURE order is rejected for account eligibility, direct the user to https://help.coinbase.com/en/coinbase/trading-and-funding/derivatives/futures-intro to apply. (24 fields, 3 required)

Parámetros de entrada

  • sidestringObligatorioenum

    BUY or SELL

    BUYSELL
  • typestringObligatorioenum

    market: current price. limit: specified price or better. stop_limit: stop triggers a limit order. bracket: take-profit limit and stop-triggered aggressive limit exit; fills and loss limits are not guaranteed; spot SELL or eligible futures BUY/SELL. twap: split base_size over start_time/end_time with a positive limit_price and automatic slice count; requires GTD. scaled: 2 to 20 limit child orders between positive min_price/max_price. Equities: use market/limit. Other types depend on venue eligibility.

    marketlimitstop_limitbrackettwapscaled
  • end_timestringdate-time

    Expiry or execution end time (RFC 3339). Required for GTD and twap. The TWAP schedule may be adjusted.

  • base_sizestring

    Base currency amount (e.g. 0.001 BTC). Mutually exclusive with quote_size. Required for stop_limit, bracket, twap, and scaled. Max 15,000 USD notional.

  • max_pricestring

    Highest child limit price. Required for scaled. Must be positive and above min_price.

  • min_pricestring

    Lowest child limit price. Required for scaled. Must be positive and below max_price.

  • post_onlyboolean

    Post-only limit order: rejects if it would take liquidity. true is rejected for non-limit types.

  • num_ordersinteger

    Number of limit child orders, from 2 to 20. Required for scaled.

  • product_idstringObligatorio

    Trading pair (BASE-QUOTE, e.g. BTC-USD or BTC-USDC) for spot crypto, a dated-futures contract code for CFM. For equities, use TICKER-QUOTE (e.g. AAPL-USD or AAPL-USDC). If the user names a quote currency (e.g. "use my USDC"), use that pair — never default to USD instead. If they don't say, check the balance for this request's portfolio_id (or the default portfolio if omitted) and use whichever of USD/USDC they hold there; if both, prefer the USDC pair. If the resulting pair doesn't exist, tell the user rather than silently substituting a different one.

  • quote_sizestring

    Quote-currency amount (e.g. $100 USD). Mutually exclusive with base_size. Market BUYs spend this amount; limit and market SELL convert it to base_size. Not supported for stop_limit, bracket, twap, or scaled — use base_size for those. Max 15,000 USD notional.

  • start_timestringdate-time

    Requested execution start (RFC 3339). Required for twap. Slice count is automatic.

  • stop_pricestring

    Stop trigger for stop_limit. For bracket, required positive decimal: above limit_price for futures BUY, below for SELL. Bracket stops become aggressive limit exits; no guaranteed fill or loss cap.

  • limit_pricestring

    Required limit price for limit/stop_limit/bracket/twap. Bracket take-profit and TWAP execution price ceiling/floor must be strictly positive decimals.

  • reduce_onlyboolean

    Restrict the order to reducing existing exposure. Supported for INTX perpetuals; US dated futures, spot, and equities may reject it. Not supported for scaled.

  • portfolio_idstring

    The optional UUID of a portfolio containing accounts with which to trade. Defaults to the default portfolio when no portfolio_id is provided.

  • time_in_forcestringenum

    GTC=good til cancelled. IOC=immediate or cancel. FOK=fill or kill. GTD=good til date; requires end_time. stop_limit, bracket, and scaled support GTC/GTD. twap requires GTD. Extended-hours equity orders require GTD.

    GTCIOCFOKGTD
  • stop_directionstringenum

    stop_limit only. Bracket direction is implied by side.

    updown
  • client_order_idstring

    Idempotency key (auto-generated if omitted)

  • equity_order_datestringdate

    Equity trade date (YYYY-MM-DD). Ignored for crypto and futures.

  • size_distributionstringenum

    Scaled size distribution. Defaults to an even split across child orders.

    INCREASINGDECREASINGEVENLY_SPLIT
  • price_distributionstringenum

    Scaled price spacing. Defaults to FLAT (evenly spaced prices).

    FLATLINEAR_INCREASINGLINEAR_DECREASING
  • equity_trading_sessionstringenum

    Equity trading session. Ignored for crypto and futures.

    NORMALPRE_MARKETAFTER_HOURSOVERNIGHTMULTI_SESSION
  • attached_stop_loss_pricestring

    Positive decimal stop trigger, activated as a market/limit parent fills (including partial fills). Becomes an aggressive limit exit, not a guaranteed fill or loss cap. May combine with attached_take_profit_price. Spot: BUY parent only. Futures: BUY/SELL subject to venue eligibility. Not equities.

  • attached_take_profit_pricestring

    Positive decimal take-profit limit exit, activated as a market/limit parent fills (including partial fills). May combine with attached_stop_loss_price. Spot: BUY parent only. Futures: BUY/SELL subject to venue eligibility. Not equities. No guaranteed fill.

Parámetros de salida

  • sidestring
  • order_idstring
  • product_idstring
  • client_order_idstring
Coinbase orders editCOINBASE_AGENTS_MCP_COINBASE_ORDERS_EDITAcción

Atomically update an open order's price or size without cancelling. Omit attached fields to keep existing exits. Attach or change exits only on eligible unfilled limit orders: spot BUY or futures BUY/SELL, not equities. Exits activate as the parent fills, including partial fills. Stops become aggressive limit exits; fills and loss limits are not guaranteed. Attached updates replace both legs: send attached_take_profit_price and attached_stop_loss_price to keep both, even when changing one. Read orders_get first: attached_order_configuration.trigger_bracket_gtc.limit_price maps to attached_take_profit_price; stop_trigger_price maps to attached_stop_loss_price. cancel_attached_order removes both legs, but may be rejected after an exit activates. (6 fields, 1 required)

Parámetros de entrada

  • order_idstringObligatorio

    Order to edit

  • base_sizestring

    New base size

  • limit_pricestring

    New limit price

  • cancel_attached_orderboolean

    Remove both attached exit legs while keeping the parent order. Cannot be combined with attached_take_profit_price or attached_stop_loss_price. May be rejected after an exit activates.

  • attached_stop_loss_pricestring

    Positive stop trigger for an eligible unfilled limit order. Send both attached prices to keep both legs. Triggers an aggressive limit exit; fills and loss limits are not guaranteed. Spot BUY or eligible futures BUY/SELL; not equities.

  • attached_take_profit_pricestring

    Positive take-profit limit price for an eligible unfilled limit order. Send both attached prices to keep both legs. Spot BUY or eligible futures BUY/SELL; not equities.

Parámetros de salida

  • statusstring
  • order_idstring
Coinbase orders edit previewCOINBASE_AGENTS_MCP_COINBASE_ORDERS_EDIT_PREVIEWAcción

Estimate the result, fees, fill price, and slippage of changing an open order's size or limit price without editing it. Hosted OAuth requires mcp:orders:create. CDP API-key callers may use rat#view where supported. Unsupported replacements return errors. (3 fields, 1 required)

Parámetros de entrada

  • order_idstringObligatorio

    Open order UUID to preview editing

  • base_sizestring

    Positive decimal replacement base size

  • limit_pricestring

    Positive decimal replacement limit price

Parámetros de salida

  • best_askstring
  • best_bidstring
  • slippagestring
  • base_sizestring
  • quote_sizestring
  • order_totalstring
  • commission_totalstring
  • pnl_configurationobject
  • order_margin_totalstring
  • average_filled_pricestring
  • commission_detail_totalobject
Coinbase orders fillsCOINBASE_AGENTS_MCP_COINBASE_ORDERS_FILLSAcción

Lists individual trade executions with commissions and maker/taker indicator, filterable by product, order, side, and time range. Use this to reconcile actual fill prices and fees paid. For EQUITY fills, product_id is TICKER-QUOTE (e.g. AAPL-USD), the same form orders_create expects. (8 fields, 0 required)

Parámetros de entrada

  • endstringdate-time

    End time (RFC 3339 with timezone, e.g. 2024-12-31T23:59:59Z)

  • sidestringenum

    BUY or SELL

    BUYSELL
  • limitinteger

    Results per page

  • startstringdate-time

    Start time (RFC 3339 with timezone, e.g. 2024-01-01T00:00:00Z)

  • cursorstring

    Pagination cursor

  • order_idsstring[]

    Filter by order ID

  • product_idsstring

    Filter by product (e.g. BTC-USD)

  • portfolio_idstring

    Scope to a specific portfolio (defaults to all portfolios the caller can access)

Parámetros de salida

  • fillsobject[]
  • cursorstring
Coinbase orders getCOINBASE_AGENTS_MCP_COINBASE_ORDERS_GETAcción

Retrieves the full status and fill details of a single order by ID. Use after creating an order to confirm execution, and before orders_edit to see the current attached take-profit/stop-loss (attached_order_id / attached_order_configuration). For EQUITY orders, product_id is TICKER-QUOTE (e.g. AAPL-USD), the same form orders_create expects. (1 field, 1 required)

Parámetros de entrada

  • order_idstringObligatorio

    Order ID

Parámetros de salida

  • sidestringObligatorioenum

    BUY or SELL

    BUYSELL
  • statusstringObligatorio
  • order_idstringObligatorio
  • product_idstringObligatorio

    Trading pair. EQUITY orders use TICKER-QUOTE (e.g. AAPL-USD), as in orders_create.

  • total_feesstring
  • filled_sizestring
  • created_timestring
  • last_fill_timestring
  • number_of_fillsstring
  • attached_order_idstring

    The ID of this order's attached bracket exit, if one is set.

  • order_configurationobject
  • average_filled_pricestring
  • completion_percentagestring
  • total_value_after_feesstring
  • attached_order_configurationobject

    Attached exits, if set. trigger_bracket_gtc.limit_price is the take-profit limit; stop_trigger_price is the stop-loss trigger.

Coinbase orders listCOINBASE_AGENTS_MCP_COINBASE_ORDERS_LISTAcción

Lists orders with optional filters by status, product, side, and time range. Use status=OPEN to find resting orders that can be edited or cancelled. For EQUITY orders, product_id is TICKER-QUOTE (e.g. AAPL-USD), the same form orders_create expects. (9 fields, 0 required)

Parámetros de entrada

  • endstringdate-time

    End date (RFC 3339 with timezone, e.g. 2024-12-31T23:59:59Z)

  • sidestringenum

    BUY or SELL

    BUYSELL
  • limitinteger

    Results per page

  • startstringdate-time

    Start date (RFC 3339 with timezone, e.g. 2024-01-01T00:00:00Z)

  • cursorstring

    Pagination cursor

  • statusstring

    Filter by status

  • product_idsstring

    Filter by product (e.g. BTC-USD). Comma-separated for multiple.

  • portfolio_idstring

    Scope to a specific portfolio (defaults to all portfolios the caller can access)

  • product_typestringenum

    FUTURE = CFM dated futures. Trading futures requires separate approval on the account beyond spot — if a futures order is rejected for eligibility, or the user asks how to get access, point them to https://help.coinbase.com/en/coinbase/trading-and-funding/derivatives/futures-intro to apply.

    SPOTFUTUREEQUITY

Parámetros de salida

  • cursorstringObligatorio
  • ordersobject[]Obligatorio
  • has_nextbooleanObligatorio
Coinbase orders previewCOINBASE_AGENTS_MCP_COINBASE_ORDERS_PREVIEWAcción

Estimate fees, fill price, slippage, and execution plans without placing an order. Optional before orders_create; the same order-type and asset-class restrictions apply. Futures previews also estimate margin, leverage, and liquidation impact: compare current and projected margin ratios and liquidation buffers. If a FUTURE preview is rejected for account eligibility, direct the user to https://help.coinbase.com/en/coinbase/trading-and-funding/derivatives/futures-intro to apply. (23 fields, 3 required)

Parámetros de entrada

  • sidestringObligatorioenum

    BUY or SELL

    BUYSELL
  • typestringObligatorioenum

    market: current price. limit: specified price or better. stop_limit: stop triggers a limit order. bracket: take-profit limit and stop-triggered aggressive limit exit; fills and loss limits are not guaranteed; spot SELL or eligible futures BUY/SELL. twap: split base_size over start_time/end_time with a positive limit_price and automatic slice count; requires GTD. scaled: 2 to 20 limit child orders between positive min_price/max_price. Equities: use market/limit. Other types depend on venue eligibility.

    marketlimitstop_limitbrackettwapscaled
  • end_timestringdate-time

    Expiry or execution end time (RFC 3339). Required for GTD and twap. The TWAP schedule may be adjusted.

  • base_sizestring

    Base currency amount (e.g. 0.001 BTC). Mutually exclusive with quote_size. Required for stop_limit, bracket, twap, and scaled.

  • max_pricestring

    Highest child limit price. Required for scaled. Must be positive and above min_price.

  • min_pricestring

    Lowest child limit price. Required for scaled. Must be positive and below max_price.

  • post_onlyboolean

    Post-only limit order: rejects if it would take liquidity. true is rejected for non-limit types.

  • num_ordersinteger

    Number of limit child orders, from 2 to 20. Required for scaled.

  • product_idstringObligatorio

    Trading pair (BASE-QUOTE, e.g. BTC-USD or BTC-USDC) for spot crypto, a dated-futures contract code for CFM. For equities, use TICKER-QUOTE (e.g. AAPL-USD or AAPL-USDC). If the user names a quote currency (e.g. "use my USDC"), use that pair — never default to USD instead. If they don't say, check the balance for this request's portfolio_id (or the default portfolio if omitted) and use whichever of USD/USDC they hold there; if both, prefer the USDC pair. If the resulting pair doesn't exist, tell the user rather than silently substituting a different one.

  • quote_sizestring

    Quote currency amount (e.g. spend $100 USD). Mutually exclusive with base_size. Not supported for stop_limit, bracket, twap, or scaled — use base_size for those.

  • start_timestringdate-time

    Requested execution start (RFC 3339). Required for twap. Slice count is automatic.

  • stop_pricestring

    Stop trigger for stop_limit. For bracket, required positive decimal: above limit_price for futures BUY, below for SELL. Bracket stops become aggressive limit exits; no guaranteed fill or loss cap.

  • limit_pricestring

    Required limit price for limit/stop_limit/bracket/twap. Bracket take-profit and TWAP execution price ceiling/floor must be strictly positive decimals.

  • reduce_onlyboolean

    Restrict the order to reducing existing exposure. Supported for INTX perpetuals; US dated futures, spot, and equities may reject it. Not supported for scaled.

  • portfolio_idstring

    The optional UUID of a portfolio containing accounts with which to trade. Defaults to the default portfolio when no portfolio_id is provided.

  • time_in_forcestringenum

    GTC=good til cancelled. IOC=immediate or cancel. FOK=fill or kill. GTD=good til date; requires end_time. stop_limit, bracket, and scaled support GTC/GTD. twap requires GTD. Extended-hours equity orders require GTD.

    GTCIOCFOKGTD
  • stop_directionstringenum

    stop_limit only. Bracket direction is implied by side.

    updown
  • equity_order_datestringdate

    Equity trade date (YYYY-MM-DD). Ignored for crypto and futures.

  • size_distributionstringenum

    Scaled size distribution. Defaults to an even split across child orders.

    INCREASINGDECREASINGEVENLY_SPLIT
  • price_distributionstringenum

    Scaled price spacing. Defaults to FLAT (evenly spaced prices).

    FLATLINEAR_INCREASINGLINEAR_DECREASING
  • equity_trading_sessionstringenum

    Equity trading session. Ignored for crypto and futures.

    NORMALPRE_MARKETAFTER_HOURSOVERNIGHTMULTI_SESSION
  • attached_stop_loss_pricestring

    Positive decimal stop trigger, activated as a market/limit parent fills (including partial fills). Becomes an aggressive limit exit, not a guaranteed fill or loss cap. May combine with attached_take_profit_price. Spot: BUY parent only. Futures: BUY/SELL subject to venue eligibility. Not equities.

  • attached_take_profit_pricestring

    Positive decimal take-profit limit exit, activated as a market/limit parent fills (including partial fills). May combine with attached_stop_loss_price. Spot: BUY parent only. Futures: BUY/SELL subject to venue eligibility. Not equities. No guaranteed fill.

Parámetros de salida

  • warningstring[]

    Preview warning codes.

  • best_askstring
  • best_bidstring
  • leveragestring

    Futures orders only. Effective leverage for this order's side.

  • slippagestring
  • base_sizestring
  • quote_sizestring
  • order_totalstring
  • max_leveragestring

    Futures/perpetual orders only. Maximum leverage allowed for this product.

  • long_leveragestring

    Futures/perpetual orders only.

  • short_leveragestring

    Futures/perpetual orders only.

  • scaled_metadataobject

    Estimated child-order distribution. Check each child's errors and warnings before placing.

  • commission_totalstring
  • margin_ratio_dataobject

    Futures orders only. Account-level margin-ratio impact of placing this order — compare the two to see how much closer to margin call/liquidation this order moves the account.

  • order_margin_totalstring

    Futures orders only. Margin required to place this order.

  • twap_bucket_metadataobject

    Estimated TWAP slices. Slice count is automatic; the schedule may change during execution.

  • available_buying_powerstring

    Futures/perpetual orders only.

  • position_notional_limitstring

    Futures/perpetual orders only.

  • est_average_filled_pricestring
  • current_liquidation_bufferstring

    Futures orders only. Liquidation buffer before this order, for comparison against projected_liquidation_buffer.

  • predicted_liquidation_pricestring

    Predicted liquidation price for CFM dated futures. Check alongside current position risk from portfolios_get before confirming.

  • projected_liquidation_bufferstring

    Futures orders only. Liquidation buffer if this order is placed.

Coinbase portfolios createCOINBASE_AGENTS_MCP_COINBASE_PORTFOLIOS_CREATEAcción

Creates a new named portfolio for segregating funds and positions. Does not move any funds; use transfer afterward to fund it. (1 field, 1 required)

Parámetros de entrada

  • namestringObligatorio

    Portfolio name

Parámetros de salida

  • namestring
  • typestringenum

    DEFAULT (the primary portfolio), CONSUMER (Coinbase app)

    DEFAULTCONSUMER
  • uuidstring
  • deletedboolean
Coinbase portfolios deleteCOINBASE_AGENTS_MCP_COINBASE_PORTFOLIOS_DELETEAcción

Permanently deletes a portfolio. The portfolio must be empty first — transfer out any remaining funds and close all positions before deleting. The DEFAULT portfolio cannot be deleted. (1 field, 1 required)

Parámetros de entrada

  • portfolio_idstringObligatorio

    Portfolio UUID

Parámetros de salida

Sin parámetros.

Coinbase portfolios editCOINBASE_AGENTS_MCP_COINBASE_PORTFOLIOS_EDITAcción

Renames an existing portfolio. Does not affect balances or positions. (2 fields, 1 required)

Parámetros de entrada

  • namestring

    New portfolio name

  • portfolio_idstringObligatorio

    Portfolio UUID

Parámetros de salida

  • namestring
  • typestringenum

    DEFAULT (the primary portfolio), CONSUMER (Coinbase app)

    DEFAULTCONSUMER
  • uuidstring
  • deletedboolean
Coinbase portfolios getCOINBASE_AGENTS_MCP_COINBASE_PORTFOLIOS_GETAcción

Returns portfolio metadata, balances, and positions. (2 fields, 1 required)

Parámetros de entrada

  • currencystring

    Currency for balance denomination

  • portfolio_idstringObligatorio

    Portfolio UUID

Parámetros de salida

  • portfolioobject
  • spot_positionsobject[]
  • equity_positionsobject[]
  • futures_positionsobject[]
  • portfolio_balancesobject
Coinbase portfolios listCOINBASE_AGENTS_MCP_COINBASE_PORTFOLIOS_LISTAcción

Lists all portfolios on the account, including their UUIDs and types. Use this to find the portfolio_id needed for orders, transfers, and balance queries. (1 field, 0 required)

Parámetros de entrada

  • portfolio_typestringenum

    DEFAULT (the primary portfolio), CONSUMER (Coinbase app)

    DEFAULTCONSUMER

Parámetros de salida

  • portfoliosobject[]
Coinbase products best bid askCOINBASE_AGENTS_MCP_COINBASE_PRODUCTS_BEST_BID_ASKAcción

Returns best bid and ask for one or more products in a single call. Omit product_ids to return pricebooks for all products. Not currently available for equities. (1 field, 0 required)

Parámetros de entrada

  • product_idsstring[]

    Product IDs (e.g. BTC-USD and ETH-USD). Omit to return all products.

Parámetros de salida

  • pricebooksobject[]
Coinbase products bookCOINBASE_AGENTS_MCP_COINBASE_PRODUCTS_BOOKAcción

Returns the current bid/ask order book for a product. Use to gauge available liquidity and likely slippage before sizing a market order. Not currently available for equities. (2 fields, 1 required)

Parámetros de entrada

  • limitinteger

    Number of levels

  • product_idstringObligatorio

    Product ID

Parámetros de salida

  • pricebookobject
Coinbase products candlesCOINBASE_AGENTS_MCP_COINBASE_PRODUCTS_CANDLESAcción

Returns historical OHLCV candles for a product at a chosen granularity and time range. Use for price history and technical analysis. Not currently available for equities. (5 fields, 1 required)

Parámetros de entrada

  • endstringdate-time

    End time (RFC 3339, e.g. 2024-01-01T00:00:00Z). Defaults to now.

  • limitinteger

    Max candles

  • startstringdate-time

    Start time (RFC 3339, e.g. 2024-01-01T00:00:00Z). Defaults to 60 candles before end.

  • product_idstringObligatorio

    Trading pair (e.g. BTC-USD)

  • granularitystringenum

    Candle interval: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 1d. Defaults to 1h.

    1m5m15m30m1h2h4h6h1d

Parámetros de salida

  • candlesobject[]
  • truncatedboolean

    True when the requested time window was clamped (to the most-recent allowed span, or a future end pulled back to now); the returned candles cover a narrower window than requested.

Coinbase products getCOINBASE_AGENTS_MCP_COINBASE_PRODUCTS_GETAcción

Viewing a product, including a FUTURE one, doesn't require any special account approval. Trading it is a separate matter — see the product_type field description. (1 field, 1 required)

Parámetros de entrada

  • product_idstringObligatorio

    Product ID (e.g. BTC-USD)

Parámetros de salida

  • pricestring
  • statusstring
  • product_idstring

    Trading pair. EQUITY products use TICKER-QUOTE (e.g. AAPL-USD); see base_currency_id/quote_currency_id for the parts.

  • volume_24hstring
  • product_typestring

    FUTURE = CFM dated futures, which requires separate account approval beyond spot. See https://help.coinbase.com/en/coinbase/trading-and-funding/derivatives/futures-intro to apply.

  • base_max_sizestring
  • base_min_sizestring
  • base_incrementstring
  • quote_max_sizestring
  • quote_min_sizestring
  • quote_incrementstring
  • base_currency_idstring
  • quote_currency_idstring
  • future_product_detailsobject

    FUTURE products only (CFM dated futures).

  • fcm_trading_session_detailsobject

    FUTURE products only. Current trading-session state for this contract.

  • price_percentage_change_24hstring
Coinbase products listCOINBASE_AGENTS_MCP_COINBASE_PRODUCTS_LISTAcción

Viewing products, including FUTURE ones, doesn't require any special account approval. Trading them is a separate matter — see the product_type field description. (5 fields, 0 required)

Parámetros de entrada

  • limitinteger

    Results per page

  • cursorstring

    Pagination cursor

  • symbolstring

    Filter products by symbol, matches base or quote side (e.g. USD, BTC). For a specific product use products_get (e.g. BTC-USD). Pagination ignored when set.

  • product_idsstring

    Comma-separated product IDs

  • product_typestringenum

    FUTURE = CFM dated futures. Trading futures requires separate approval on the account beyond spot — if a futures order is rejected for eligibility, or the user asks how to get access, point them to https://help.coinbase.com/en/coinbase/trading-and-funding/derivatives/futures-intro to apply.

    SPOTFUTUREEQUITY

Parámetros de salida

  • cursorstring
  • has_nextboolean
  • productsobject[]
  • num_productsinteger
Coinbase products tickerCOINBASE_AGENTS_MCP_COINBASE_PRODUCTS_TICKERAcción

Returns recent trade prints plus the current best bid/ask for a product. Use for a quick spot-price snapshot before previewing or placing an order. Not currently available for equities. (2 fields, 1 required)

Parámetros de entrada

  • limitinteger

    Number of trades. Defaults to 100.

  • product_idstringObligatorio

    Trading pair (e.g. BTC-USD)

Parámetros de salida

  • tradesobject[]
  • best_askstring
  • best_bidstring
Coinbase transferCOINBASE_AGENTS_MCP_COINBASE_TRANSFERAcción

Moves funds of a single currency from one portfolio to another. This executes immediately and moves money — verify the source has sufficient available balance first. Both portfolio UUIDs come from portfolios_list. (4 fields, 4 required)

Parámetros de entrada

  • tostringObligatorio

    Target portfolio UUID

  • fromstringObligatorio

    Source portfolio UUID

  • amountstringObligatorio

    Amount to transfer

  • currencystringObligatorio

    Currency

Parámetros de salida

  • source_portfolio_uuidstring
  • target_portfolio_uuidstring
Coinbase x402 fetchCOINBASE_AGENTS_MCP_COINBASE_X402_FETCHAcción

Fetches a resource returned by x402_resources. On a 402 challenge, pays from the caller's custodial Base USDC via a pre-authorized hold, then retries with PAYMENT-SIGNATURE — no manual challenge handling. All currently supported x402 purchases through this connector use Base USDC, and max_amount uses its 6-decimal atomic units; for example, "50000" means "0.05 USDC". This tool accepts only resource URLs returned by x402_resources. max_amount is the spend control; when the user has requested the data or stated a budget, proceed in a single call rather than re-confirming. Protocol v2 only; v1 challenges are rejected. (6 fields, 1 required)

Parámetros de entrada

  • inputobject

    Request parameters, exactly as described by the resource's inputSchema from coinbase_x402_resources — pass those properties flat, at the top level. The tool routes them to the query string or the request body per the resource's HTTP method; you do not construct the HTTP envelope. Validated strictly as a closed allowlist; unknown keys are rejected.

  • resourcestringObligatorio

    Resource URL returned by coinbase_x402_resources, with any path parameters substituted. Any URL that does not match a catalog resource is rejected.

  • account_idstring

    Optional UUID of the USDC account to debit, within the chosen portfolio. Omit to use that portfolio's single USDC account; an error (not a guess) is returned when the portfolio has zero or multiple USDC accounts.

  • max_amountstring

    Optional caller-set spend cap in Base USDC's 6-decimal atomic units; for example, "50000" means "0.05 USDC". Defaults to the catalog advisory ceiling for the resource; when supplied the effective cap is min(max_amount, advisory ceiling). Never derived from the live 402 challenge.

  • portfolio_idstring

    Optional UUID of the consumer portfolio to pay from. Omit only when exactly one accessible non-deleted consumer portfolio is available and the caller has portfolio listing permission. If discovery is not authorized, provide portfolio_id explicitly. For OAuth, ask the user to reconnect and select "View your trading portfolios" in Coinbase consent. For an API key, ask the user to edit it, open Advanced Settings, and enable "View (read-only)" for every portfolio the agent needs. If multiple consumer portfolios are available, call coinbase_portfolios_list, select the funding portfolio with the user, and retry with that portfolio_id.

  • idempotency_keystring

    Optional caller-supplied idempotency key for the payment; must be a UUID. Omit it on a first attempt — one is generated and returned to you. Reuse the SAME key when retrying an outcome-unknown fetch so a duplicate hold is not placed. If the tool reports a terminal rejection, do not reuse that key; start a new payment attempt with a new key.

Parámetros de salida

  • dataobjectObligatorio

    The resource's JSON response body.

  • paidbooleanObligatorio

    True when a payment was placed to obtain this response; false when the resource returned its data without a 402 challenge.

  • expires_atstring

    RFC 3339 time the payment authorization expires. Present only when paid is true.

  • payment_idstring

    Identifier of the placed hold, for reconciliation. Present only when paid is true.

  • idempotency_keystring

    The idempotency key generated for this payment. Present only when paid is true AND you omitted idempotency_key on the request; never echoes a key you supplied yourself.

Coinbase x402 payCOINBASE_AGENTS_MCP_COINBASE_X402_PAYAcción

Turns an x402 PaymentRequirements challenge into a ready-to-send payment header by placing a pre-authorized hold on the caller's Base USDC balance (EIP-3009 exact scheme, v0). All currently supported x402 purchases through this connector use Base USDC, and amount and max_amount use its 6-decimal atomic units; for example, "50000" means "0.05 USDC". Attach the returned header as X-PAYMENT for v1 or PAYMENT-SIGNATURE for v2. This authorizes moving funds up to max_amount — pass the smallest amount that satisfies the requirement. Funds-touching and gated internal-only behind a default-off feature flag. (12 fields, 7 required)

Parámetros de entrada

  • assetstringObligatorio

    USDC asset contract address on the network (the x402 asset field).

  • extraobject

    Full extra object from the resource's 402 PaymentRequirements. Required when x402_version is 2; name and version must match the Base USDC EIP-712 domain.

  • amountstringObligatorio

    The amount the resource requires, in Base USDC's 6-decimal atomic units; for example, "50000" means "0.05 USDC". Decimal string; never truncated.

  • pay_tostringObligatorio

    Recipient address the payment authorizes (the x402 payTo field).

  • schemestringObligatorio

    x402 payment scheme. Only "exact" is supported in v0.

  • networkstringObligatorio

    x402 network as a CAIP-2 chain id. Only "eip155:8453" (Base mainnet) is supported in v0.

  • account_idstring

    Optional UUID of the USDC account to debit, within the chosen portfolio. Omit to use that portfolio's single USDC account; the tool returns an error (it does NOT guess) when the portfolio has zero or multiple USDC accounts.

  • max_amountstringObligatorio

    Caller-set spend cap in Base USDC's 6-decimal atomic units; for example, "50000" means "0.05 USDC". The hold is rejected if amount exceeds this. Decimal string.

  • portfolio_idstring

    Optional UUID of the consumer portfolio to pay from. Omit only when exactly one accessible non-deleted consumer portfolio is available and the caller has portfolio listing permission. If discovery is not authorized, provide portfolio_id explicitly. For OAuth, ask the user to reconnect and select "View your trading portfolios" in Coinbase consent. For an API key, ask the user to edit it, open Advanced Settings, and enable "View (read-only)" for every portfolio the agent needs. If multiple consumer portfolios are available, call coinbase_portfolios_list, select the funding portfolio with the user, and retry with that portfolio_id.

  • x402_versioninteger

    x402 protocol version from the resource's 402 challenge. Pass the value the resource advertised. Optional; defaults to 1.

  • idempotency_keystring

    Optional caller-supplied idempotency key; must be a UUID. Omit it on a first attempt — one is generated and returned to you. Reuse the SAME key when retrying an outcome-unknown payment so a duplicate hold is not placed. If the tool reports a terminal rejection, do not reuse that key; start a new payment attempt with a new key.

  • max_timeout_secondsintegerObligatorio

    Validity window for the signed authorization, in seconds (the x402 maxTimeoutSeconds field). Must be between 1 and 300; the server caps how long the authorization stays valid. Pass a value no greater than the resource's advertised maxTimeoutSeconds (a shorter window is valid, and settlement is near-instant); requests above 300 are rejected.

Parámetros de salida

  • expires_atstring

    RFC 3339 time the authorization expires.

  • payment_idstring

    Identifier of the placed hold for reconciliation.

  • payment_headerstring

    Base64 payment header: attach as X-PAYMENT for v1 or PAYMENT-SIGNATURE for v2.

  • idempotency_keystring

    The effective idempotency key for this payment — the one you supplied, or the one generated for you when omitted. To retry an outcome-unknown payment safely (without placing a second hold), pass this value back as idempotency_key.

Coinbase x402 resourcesCOINBASE_AGENTS_MCP_COINBASE_X402_RESOURCESAcción

Discover curated x402 resources: paid on-chain and market metrics, wallet and entity intelligence, and derivatives data. Discovery spends nothing. An optional keyword q filters the catalog; omit it to list all. Each result carries the resource URL, its advisory price, and its input and output schemas. All currently supported x402 purchases through this connector use Base USDC. accepts[].amount and coinbase_x402_fetch's max_amount use USDC's 6-decimal atomic units; for example, "50000" means "0.05 USDC". A result's inputSchema is coinbase_x402_fetch's input verbatim: pass those properties flat; do not build an HTTP envelope. The live 402 challenge sets the exact amount. (1 field, 0 required)

Parámetros de entrada

  • qstring

    Optional keyword filter. Matched against each resource's description, provider name, and tags using case-insensitive token search. Omit to return the full catalog.

Parámetros de salida

  • resourcesobject[]Obligatorio