> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Coinbase in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/coinbase
Last updated: 2026-11-24

Share Coinbase with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or coinbase commerce API key sign-in, 18 tools (11 read-only).

---

To give your team Coinbase in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Coinbase integration in a Metorial portal, and each person signs in to Coinbase with their own account. Buy, sell, send, and receive cryptocurrency. The integration has 18 tools, 11 read-only, 3 write and 4 destructive, plus 3 triggers.

**What you will learn**

- How an admin shares Coinbase in a portal and how each person connects
- The 22 OAuth scopes Coinbase can request, and what each one allows
- How to keep the 11 read-only tools and reject the other 7

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Coinbase for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **OAuth (Sign in with Coinbase)** (default) | OAuth | Signs in to Coinbase |
| **Coinbase Commerce API Key** | API token | `token` |

The portal and `metorial setup` use **OAuth (Sign in with Coinbase)** unless someone picks another method.

### OAuth (Sign in with Coinbase)

People sign in to Coinbase and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `wallet:user:read` | Read User Profile | Read the current user's public profile information |
| `wallet:user:email` | Read User Email | Read the current user's email address |
| `wallet:accounts:read` | Read Accounts | List and view cryptocurrency accounts and balances |
| `wallet:accounts:create` | Create Accounts | Create new cryptocurrency wallets |
| `wallet:accounts:update` | Update Accounts | Update account properties such as name |
| `wallet:accounts:delete` | Delete Accounts | Delete cryptocurrency wallets |
| `wallet:transactions:read` | Read Transactions | View transaction history including sends, receives, buys, sells |
| `wallet:transactions:send` | Send Transactions | Send cryptocurrency to external addresses or Coinbase users |
| `wallet:buys:read` | Read Buys | View buy history |
| `wallet:buys:create` | Create Buys | Buy cryptocurrency using a linked payment method |
| `wallet:sells:read` | Read Sells | View sell history |
| `wallet:sells:create` | Create Sells | Sell cryptocurrency using a linked payment method |
| `wallet:deposits:read` | Read Deposits | View deposit history |
| `wallet:deposits:create` | Create Deposits | Deposit fiat from a bank account |
| `wallet:withdrawals:read` | Read Withdrawals | View withdrawal history |
| `wallet:withdrawals:create` | Create Withdrawals | Withdraw fiat to a bank account |
| `wallet:addresses:read` | Read Addresses | List cryptocurrency addresses for an account |
| `wallet:addresses:create` | Create Addresses | Create new cryptocurrency receive addresses |
| `wallet:payment-methods:read` | Read Payment Methods | List linked payment methods for buys, sells, deposits, and withdrawals |
| `wallet:trades:read` | Read Trades | View Coinbase Advanced Trade orders and fills |
| `wallet:trades:create` | Create Trades | Preview and create Coinbase Advanced Trade orders |
| `offline_access` | Offline Access | Receive a refresh token so Coinbase access can be renewed |

### Coinbase Commerce API Key

To connect, a person enters:

- `token`: Coinbase Commerce API key

## Use your own Coinbase OAuth app

With your own OAuth app, people see your company's name on the Coinbase consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose Coinbase and copy the **Redirect URI**.

2. **Register the app with Coinbase**

   Create an OAuth app or client in Coinbase and add the redirect URI from Metorial as its redirect or callback URL.

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the Coinbase integration.

## Admin: share Coinbase in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Coinbase. Under **Auth Method**, keep **OAuth (Sign in with Coinbase)** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Coinbase as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Coinbase.

4. **Choose who gets it**

   Add the access groups that should see Coinbase. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Coinbase integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search coinbase
```

## Employee: connect Coinbase

### In the portal

1. **Open Coinbase in the catalog**

   Sign in to your portal and open Coinbase. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Coinbase sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search coinbase
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth (Sign in with Coinbase)**. To connect with **Coinbase Commerce API Key** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Coinbase connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list coinbase
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 11 read-only tools, such as `get_prices` and `list_fills`, and lose the 3 write tools, such as `manage_accounts` or `manage_addresses`, and the 4 destructive tools, such as `send_crypto` or `manage_orders`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list coinbase
metorial tools <integration-id>
metorial call <integration-id> manage_portfolios -d '{"action":"list"}'
```

`metorial tools` lists the 18 tools, minus any you rejected. `manage_portfolios` needs `action`, so replace the placeholders. It lists Coinbase Advanced Trade portfolios or retrieve a portfolio breakdown with balances and spot positions.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (11)

- `get_exchange_rates`: Retrieve current exchange rates for a base currency against all other supported currencies.
- `get_prices`: Retrieve current or historical cryptocurrency prices. Needs `currencyPair`.
- `list_products`: List available trading pairs (products) on the Advanced Trade platform, or get details for a specific product.
- `get_candles`: Retrieve OHLCV (open, high, low, close, volume) candlestick data for a trading pair. Needs `productId`, `start`, `end` and `granularity`.
- `get_user_profile`: Retrieve the authenticated user's profile including name, email, time zone, native currency, and avatar URL.
- `list_transactions`: Retrieve transaction history for a Coinbase account. Needs `accountId`.
- `list_fills`: List Advanced Trade fills, filtered by order, trade, product, asset, side, type, or time range.
- `list_payment_methods`: List linked Coinbase payment methods, or get one payment method by ID.
- `get_market_data`: Get Advanced Trade market data for a product: recent trades and best bid/ask, or order book levels. Needs `action` and `productId`.
- `manage_portfolios`: List Coinbase Advanced Trade portfolios or retrieve a portfolio breakdown with balances and spot positions. Needs `action`.
- `get_transaction_summary`: Get an Advanced Trade transaction summary, including fee tier, volume, fees, and total balance.

### Write tools (3)

- `manage_addresses`: List existing receive addresses or create a new one for a Coinbase account. Needs `action` and `accountId`.
- `manage_accounts`: List, get, create, update, or delete Coinbase cryptocurrency wallets. Needs `action`.
- `manage_commerce_charges`: Create, list, get, cancel, or resolve Coinbase Commerce charges for accepting crypto payments. Needs `action`.

### Destructive tools (4)

- `send_crypto`: Send cryptocurrency from a Coinbase account to an external address or another Coinbase user. Needs `accountId`, `to`, `amount` and `currency`.
- `deposit_withdraw`: Deposit fiat currency from a bank account or withdraw fiat to a bank account. Needs `action`, `accountId`, `amount`, `currency` and `paymentMethodId`.
- `manage_orders`: Preview, create, list, get, or cancel trading orders via the Advanced Trade API. Needs `action`.
- `buy_sell_crypto`: Buy or sell cryptocurrency using a linked payment method. Needs `action`, `accountId` and `currency`.

## Triggers

Coinbase has 3 triggers, which fire on events in Coinbase:

- `new_transactions`: [Polling fallback] Polls for new transactions (sends, receives, buys, sells, transfers) across Coinbase accounts.
- `account_notifications`: Triggered when account-level events occur on Coinbase, such as new transactions (sends, receives, buys, sells), wallet creation, and address-related events.
- `commerce_charge_events`: Triggered when Coinbase Commerce charge lifecycle events occur, such as creation, confirmation, pending payment, failure, delayed, or resolution.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Coinbase there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Coinbase on metorial.com](https://metorial.com/integrations/coinbase): the integration overview