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
- A portal with at least one access group
- An account with Ramp 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 (default) | OAuth | Signs 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:
| Scope | Name | What it allows |
|---|---|---|
transactions:read | Transactions Read | Read card transactions |
cards:read | Cards Read | Read card information |
cards:write | Cards Write | Create and manage cards |
spend_programs:read | Spend Programs Read | Read spend programs |
spend_programs:write | Spend Programs Write | Create and manage spend programs |
users:read | Users Read | Read user information |
users:write | Users Write | Create and manage users |
locations:read | Locations Read | Read location data |
locations:write | Locations Write | Create and manage locations |
limits:read | Limits Read | Read spending limits |
limits:write | Limits Write | Create and manage spending limits |
departments:read | Departments Read | Read department data |
departments:write | Departments Write | Create and manage departments |
business:read | Business Read | Read business account information |
receipts:read | Receipts Read | Read receipt data |
receipts:write | Receipts Write | Upload and manage receipts |
bills:read | Bills Read | Read bill data |
bills:write | Bills Write | Create and manage bills |
transfers:read | Transfers Read | Read bank transfer data |
vendors:read | Vendors Read | Read vendor information |
merchants:read | Merchants Read | Read merchant data |
accounting:read | Accounting Read | Read accounting data |
reimbursements:read | Reimbursements Read | Read 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:
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
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.
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 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. NeedsreimbursementId.get_transaction: Retrieve details of a specific Ramp card transaction by its ID. NeedstransactionId.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. Needsaction.manage_limit: List, get, create, update, or terminate a legacy spending limit or a current Ramp fund. Needsaction.manage_spend_program: List, get, create, or update Ramp spend programs. Needsaction.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. Needsaction.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. Needsaction.manage_department: List, get, create, or update a Ramp department. Needsaction.
Triggers
Ramp has 4 triggers, which fire on events in Ramp:
bill_events: Polls for new and updated Ramp bills.inbound_webhooktransaction_events: Polls for new and updated Ramp card transactions.reimbursement_events: Polls for new and updated Ramp reimbursements.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Ramp there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Ramp on metorial.com: the integration overview