How to integrate Coinbase Agents MCP with Hermes

Connect Hermes 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

Hermes is a 24/7 autonomous agent that lives on your computer or server — it remembers what it learns and evolves as your usage grows.

This guide explains the easiest and most robust way to connect your Coinbase Agents account to Hermes. You can do this through either Composio Connect CLI or Composio Connect MCP. For personal use we recommend the CLI, but you won't go wrong with MCP either.

Also integrate Coinbase Agents MCP with

What is Composio Connect?

Composio Connect is a consumer offering that lets anyone plug 1,500+ applications directly into their agent harness — including Hermes. It can:

  • Search and load tools from relevant toolkits on-demand, reducing context usage.
  • Chain multiple tools to accomplish complex workflows via a remote workbench, without excessive back-and-forth with the LLM.
  • Manage app authentication end-to-end with zero manual overhead.

Integrating Coinbase Agents with Hermes

Using Composio Connect CLI

1. Install the Composio CLI

Run the install script directly, or paste https://composio.dev/hermes into your Hermes chat box to have it installed for you.

bash
curl -fsSL https://composio.dev/install | bash
Hermes authenticating with Composio

2. Authenticate

Once the CLI is installed, ask Hermes to authenticate with Composio.

3. Connect to Coinbase Agents

Ask your agent to connect to Coinbase Agents, or simply request any Coinbase Agents-related task. Hermes will prompt you to authenticate and authorize access.

4. Done. You're all set with a new Coinbase Agents connection.


Using Composio Connect MCP

1. Get your MCP URL and API Key

Go to dashboard.composio.dev and copy your Connect MCP URL and API key.

Copy MCP URL and API key from Composio dashboard

2. Open the Hermes config file

bash
nano ~/.hermes/config.yaml

3. Add the Composio Connect MCP server

bash
mcp_servers:
  composio:
    url: "https://connect.composio.dev/mcp"
    headers:
      x-consumer-api-key: "YOUR_COMPOSIO_API_KEY"
    connect_timeout: 60
    timeout: 180

Save with Ctrl + O, Enter, then exit with Ctrl + X.

4. Restart your Hermes agent

Once restarted, ask your agent to connect to Coinbase Agents or request any Coinbase Agents-related task. It will prompt you to authenticate and authorize access.

5. Done!

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 Agents account. It provides structured and secure access so your agent can perform Coinbase Agents operations on your behalf.

Way Forward

With Coinbase Agents connected, Hermes can now act on your behalf whenever it detects a relevant task or you ask it to.

From here, you can extend Hermes further:

  • Connect more apps: Calendar, Slack, Notion, Linear, and hundreds of others are available through the same Composio Connect setup. Each new integration compounds what Hermes can do for you.
  • Build workflows across tools: Once multiple apps are connected, Hermes can chain actions together — turn an email into a calendar invite, a Slack message into a Linear ticket, or a meeting note into a follow-up draft.
  • Let it learn your patterns: The more you use Hermes, the better it gets at anticipating how you'd handle recurring tasks. Give it feedback on drafts and decisions, and it will adapt.

If you run into trouble or want to share what you've built, join the community or check out the Docs for deeper configuration options.

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

With a standalone Coinbase Agents MCP server, the agents and LLMs can only access a fixed set of Coinbase Agents tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Coinbase Agents and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Hermes fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Coinbase Agents tools.

Yes, absolutely. You can configure which Coinbase Agents scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Coinbase Agents data and credentials are handled as safely as possible.

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