Set up Coinbase in Metorial for Claude, ChatGPT and Cursor
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'll 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 with at least one access group
- An account with Coinbase for each person who connects
- For the CLI steps: the Metorial 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.
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.
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.
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
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
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.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Coinbase.
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:
Employee: connect Coinbase
In the portal
Open Coinbase in the catalog
Sign in to your portal and open Coinbase. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A Coinbase sign-in tab opens. Sign in and approve the permissions listed.
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
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.
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.
Check it worked
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. NeedscurrencyPair.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. NeedsproductId,start,endandgranularity.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. NeedsaccountId.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. NeedsactionandproductId.manage_portfolios: List Coinbase Advanced Trade portfolios or retrieve a portfolio breakdown with balances and spot positions. Needsaction.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. NeedsactionandaccountId.manage_accounts: List, get, create, update, or delete Coinbase cryptocurrency wallets. Needsaction.manage_commerce_charges: Create, list, get, cancel, or resolve Coinbase Commerce charges for accepting crypto payments. Needsaction.
Destructive tools (4)
send_crypto: Send cryptocurrency from a Coinbase account to an external address or another Coinbase user. NeedsaccountId,to,amountandcurrency.deposit_withdraw: Deposit fiat currency from a bank account or withdraw fiat to a bank account. Needsaction,accountId,amount,currencyandpaymentMethodId.manage_orders: Preview, create, list, get, or cancel trading orders via the Advanced Trade API. Needsaction.buy_sell_crypto: Buy or sell cryptocurrency using a linked payment method. Needsaction,accountIdandcurrency.
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, Cursor, Codex and ChatGPT: connect each client to your portal and use Coinbase there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Coinbase on metorial.com: the integration overview