MetorialDocs

Set up Ramp in Metorial for Claude, ChatGPT and Cursor

Share Ramp with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 18 tools (12 read-only).

To give your team Ramp in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Ramp integration in a Metorial portal, and each person signs in to Ramp with their own account. Agents can read transactions, reimbursements, vendors, entities and business balances. The integration has 18 tools, 12 read-only and 6 write, plus 4 triggers.

What you'll learn

  • How an admin shares Ramp in a portal and how each person connects
  • The 23 OAuth scopes Ramp can request, and what each one allows
  • How to keep the 12 read-only tools and reject the other 6

Before you start

Sign-in methods

MethodTypeWhat a person provides
OAuth (default)OAuthSigns in to Ramp

Also available: Client Credentials.

The portal and metorial setup use OAuth unless someone picks another method.

OAuth

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

ScopeNameWhat it allows
transactions:readTransactions ReadRead card transactions
cards:readCards ReadRead card information
cards:writeCards WriteCreate and manage cards
spend_programs:readSpend Programs ReadRead spend programs
spend_programs:writeSpend Programs WriteCreate and manage spend programs
users:readUsers ReadRead user information
users:writeUsers WriteCreate and manage users
locations:readLocations ReadRead location data
locations:writeLocations WriteCreate and manage locations
limits:readLimits ReadRead spending limits
limits:writeLimits WriteCreate and manage spending limits
departments:readDepartments ReadRead department data
departments:writeDepartments WriteCreate and manage departments
business:readBusiness ReadRead business account information
receipts:readReceipts ReadRead receipt data
receipts:writeReceipts WriteUpload and manage receipts
bills:readBills ReadRead bill data
bills:writeBills WriteCreate and manage bills
transfers:readTransfers ReadRead bank transfer data
vendors:readVendors ReadRead vendor information
merchants:readMerchants ReadRead merchant data
accounting:readAccounting ReadRead accounting data
reimbursements:readReimbursements ReadRead reimbursement data

Setup settings

Setup also asks for:

  • environment (optional): Ramp API environment. Use sandbox for testing, production for live data. One of "production", "sandbox".

Use your own Ramp OAuth app

With your own OAuth app, people see your company's name on the Ramp 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 Ramp and copy the Redirect URI.

Register the app with Ramp

Create an OAuth app or client in Ramp and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in OAuth documentation.

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 Ramp integration.

Admin: share Ramp 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 Ramp. Under Auth Method, keep OAuth or pick another. For how members connect, choose Each person connects, so everyone signs in to Ramp as themselves.

Limit the tools

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

Choose who gets it

Add the access groups that should see Ramp. 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 Ramp integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search ramp

Employee: connect Ramp

In the portal

Open Ramp in the catalog

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

Authenticate

Under Quick setup, select Authenticate. A Ramp 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

metorial catalog search ramp
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth. To connect with Client Credentials 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 Ramp 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.

metorial list ramp
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 12 read-only tools, such as list_bills and list_cards, and lose the 6 write tools, such as manage_bill or manage_card.

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 list ramp
metorial tools <integration-id>
metorial call <integration-id> list_bills -d '{}'

metorial tools lists the 18 tools, minus any you rejected. list_bills takes no input. It retrieves a paginated list of bills from Ramp.

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

Tools

Read-only tools (12)

  • list_cards: List Ramp cards.
  • list_vendors: Retrieve a paginated list of vendors from Ramp.
  • list_reimbursements: Retrieve a paginated list of employee reimbursements.
  • get_reimbursement: Retrieve details of a specific reimbursement by ID. Needs reimbursementId.
  • get_transaction: Retrieve details of a specific Ramp card transaction by its ID. Needs transactionId.
  • get_business: Retrieve information about the connected Ramp business account, including business name, status, and optionally the account balance.
  • list_transactions: Retrieve card transactions from Ramp.
  • list_bills: Retrieve a paginated list of bills from Ramp.
  • list_users: Retrieve a paginated list of Ramp users.
  • list_entities: Retrieve business entities (for multi-entity businesses).
  • get_resource: Read a specific Ramp user, vendor, department, location, spend program, fund, physical card, or virtual card by its own identifier.
  • get_task_status: Check a deferred user invitation task.

Write tools (6)

  • manage_user: Invite a new user, update an existing user's details, deactivate, or reactivate a Ramp user. - **invite**: Sends an invitation email to join the Ramp business. Needs action.
  • manage_limit: List, get, create, update, or terminate a legacy spending limit or a current Ramp fund. Needs action.
  • manage_spend_program: List, get, create, or update Ramp spend programs. Needs action.
  • manage_card: Create, update, suspend, unsuspend, or terminate a Ramp card. - **create_virtual**: Issue a new virtual card for a user with optional spending restrictions. - **create_physical**: Issue a new physical card with shipping fulfillment details. - **update**: Modify card display name, owner, or spending restrictions. - **suspend** / **unsuspend**: Temporarily lock or unlock a card. - **terminate**: Permanently deactivate a card. Needs action.
  • manage_bill: Create, update, retrieve, or archive a Ramp bill (accounts payable). - **get**: Retrieve a specific bill by ID. - **create**: Create a new bill with vendor, invoice currency, issue/due dates and line items. Needs action.
  • manage_department: List, get, create, or update a Ramp department. Needs action.

Triggers

Ramp has 4 triggers, which fire on events in Ramp:

  • bill_events: Polls for new and updated Ramp bills.
  • inbound_webhook
  • transaction_events: Polls for new and updated Ramp card transactions.
  • reimbursement_events: Polls for new and updated Ramp reimbursements.

Next steps