How to connect Coinbase Agents to Grok Bot

Connect Grok Bot to Coinbase Agents MCP. List open orders in your portfolio, convert usd to btc at market price, and more using natural language, with authentication handled for you.

Coinbase Agents MCP logoCoinbase Agents MCP
Dcr Oauth

Coinbase Agents MCP is Coinbase's managed toolkit exposing accounts, portfolios, orders, fills, and market data. Use it to let authorized agents inspect holdings, execute trades, perform transfers, and handle payments.

29 Tools

Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.

This guide explains how to connect Coinbase Agents to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Coinbase Agents in plain language.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Coinbase Agents MCP with

Why use Composio?

Composio exposes 2,000+ apps to your Grok bot through a single connection, so you get:

  • Connect to 2,000+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
  • Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
  • Handle large tool responses outside the model context to keep conversations lean.

Connecting Coinbase Agents to Grok Bot

Once Grok Bot is set up, you connect Coinbase Agents entirely from its interface, and the whole flow takes under a minute.

Set up Grok Bot

Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from x.ai/bot and sign in. An iPhone companion app is also available, and your bots sync across devices.

Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.

Connect Coinbase Agents

1. Add the Composio plugin

Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.

Add to Grok Bot

Composio for Grok Bot listing on x.ai with the Add to Grok Bot button

Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.

Composio plugin sheet in Grok Bot with the Add button

2. Authenticate

Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.

Installed Composio plugin showing the Authenticate button

Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.

Composio authorization screen with Authorize and Deny

3. Connect your Coinbase Agents account

Back in the chat, ask your bot to connect to Coinbase Agents or give it any Coinbase Agents task.

For example, ask it to:

  • "List open orders in your portfolio"
  • "Convert USD to BTC at market price"
  • "Summarize yesterday's trades and fees"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in your Grok bot, and your Coinbase Agents account is ready to use.

What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.

With Composio Connect, your Grok bot can securely access apps like Coinbase Agents through MCP without you sharing account credentials directly with the agent.

What is the Coinbase Agents MCP server, and what's possible with it?

The Coinbase Agents MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Coinbase account. It provides structured and secure access to your portfolios, balances, orders, trades, fees, market data, transfers, conversions, and x402 payments, so your agent can monitor holdings, research markets, manage orders, move funds, and make permitted payments on your behalf.

  • Portfolio and balance tracking: Have your agent list portfolios, review their balances and positions, create or rename portfolios, and delete portfolios you no longer need.
  • Market research: Let the agent inspect available products, recent trades, current bids and asks, order books, and historical price candles.
  • Order and trade management: Direct your agent to estimate fees and slippage, place or edit supported orders, cancel open orders, close positions, and review order status and fills.
  • Conversions and fund transfers: Instruct your agent to quote and execute supported currency conversions, check conversion status, and transfer funds between portfolios.
  • Fees and x402 payments: Have your agent review trading fee rates, discover paid x402 resources, prepare permitted Base USDC payments, and fetch purchased resources.

Way Forward

Now that Coinbase Agents is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.

  • Connect Calendar to turn threads into scheduled meetings automatically.
  • Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
  • Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
  • Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.

Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

TOOLS

Supported Tools

Every Coinbase Agents MCP action and event your agent gets out of the box.

Coinbase balance

Returns account balances for exactly one portfolio.

Coinbase convert execute

Executes a previously quoted conversion using the quote_id from convert_quote.

Coinbase convert get

Check status of a conversion by quote ID.

Coinbase convert quote

Quotes stablecoin↔fiat and stablecoin↔stablecoin conversions, returning rate, fees, and a quote ID.

Coinbase fees

Fee tier, maker/taker rates, and 30-day volume.

Coinbase orders cancel

Cancels one or more open orders by ID.

Coinbase orders close position

Places a market order to flatten an open position for a product, moving funds immediately.

Coinbase orders create

Place a market, limit, stop_limit, bracket, twap, or scaled order, subject to venue eligibility.

Coinbase orders edit

Atomically update an open order's price or size without cancelling.

Coinbase orders edit preview

Estimate the result, fees, fill price, and slippage of changing an open order's size or limit price without editing it.

Coinbase orders fills

Lists individual trade executions with commissions and maker/taker indicator, filterable by product, order, side, and time range.

Coinbase orders get

Retrieves the full status and fill details of a single order by ID.

Coinbase orders list

Lists orders with optional filters by status, product, side, and time range.

Coinbase orders preview

Estimate fees, fill price, slippage, and execution plans without placing an order.

Coinbase portfolios create

Creates a new named portfolio for segregating funds and positions.

Coinbase portfolios delete

Permanently deletes a portfolio.

Coinbase portfolios edit

Renames an existing portfolio.

Coinbase portfolios get

Returns portfolio metadata, balances, and positions.

Coinbase portfolios list

Lists all portfolios on the account, including their UUIDs and types.

Coinbase products best bid ask

Returns best bid and ask for one or more products in a single call.

Coinbase products book

Returns the current bid/ask order book for a product.

Coinbase products candles

Returns historical OHLCV candles for a product at a chosen granularity and time range.

Coinbase products get

Viewing a product, including a FUTURE one, doesn't require any special account approval.

Coinbase products list

Viewing products, including FUTURE ones, doesn't require any special account approval.

Coinbase products ticker

Returns recent trade prints plus the current best bid/ask for a product.

Coinbase transfer

Moves funds of a single currency from one portfolio to another.

Coinbase x402 fetch

Fetches a resource returned by x402_resources.

Coinbase x402 pay

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).

Coinbase x402 resources

Discover curated x402 resources: paid on-chain and market metrics, wallet and entity intelligence, and derivatives data.

FAQ

Frequently asked questions

Start with Coinbase Agents MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Coinbase Agents MCP tool your agent needs.Free to start.

Start building