Set up Deel in Metorial for Claude, ChatGPT and Cursor
Share Deel with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API token sign-in, 17 tools (12 read-only).
To give your team Deel in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Deel integration in a Metorial portal, and each person signs in to Deel with their own account. Agents can read contracts, workforce and billing records; manage contractor contracts, timesheets, invoice adjustments and time-off requests. The integration has 17 tools, 12 read-only, 1 write and 4 destructive, plus 6 triggers.
What you'll learn
- How an admin shares Deel in a portal and how each person connects
- The 15 OAuth scopes Deel can request, and what each one allows
- How to keep the 12 read-only tools and reject the other 5
Before you start
- A portal with at least one access group
- An account with Deel 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 |
|---|---|---|
| API Token | API token | apiToken |
| OAuth 2.0 (default) | OAuth | Signs in to Deel |
The portal and metorial setup use OAuth 2.0 unless someone picks another method.
API Token
To connect, a person enters:
apiToken: Deel API token (personal or organization token)
OAuth 2.0
People sign in to Deel and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
contracts:read | Contracts Read | Read contract data |
contracts:write | Contracts Write | Create and modify contracts |
people:read | People Read | Read people/worker data |
people:write | People Write | Modify people/worker data |
timesheets:read | Timesheets Read | Read timesheet data |
timesheets:write | Timesheets Write | Create and manage timesheets |
time-off:read | Time Off Read | Read time-off requests |
time-off:write | Time Off Write | Create and manage time-off requests |
invoice-adjustments:read | Invoice Adjustments Read | Read invoice adjustments |
invoice-adjustments:write | Invoice Adjustments Write | Create and manage invoice adjustments |
accounting:read | Accounting Read | Read accounting and billing data |
organizations:read | Organizations Read | Read organization data |
organizations:write | Organizations Write | Manage organization data |
worker:read | Workers Read | Read worker profiles |
worker:write | Workers Write | Modify worker profiles |
Setup settings
Whichever method you pick, setup also asks for:
environment(optional): Deel environment to connect to One of "production", "sandbox".
Use your own Deel OAuth app
With your own OAuth app, people see your company's name on the Deel 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 Deel and copy the Redirect URI.
Register the app with Deel
Create an OAuth app or client in Deel 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 Deel integration.
Admin: share Deel 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 Deel. Under Auth Method, keep OAuth 2.0 or pick another. For how members connect, choose Each person connects, so everyone signs in to Deel as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Deel.
Choose who gets it
Add the access groups that should see Deel. 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 Deel integration. Once it exists, check which groups have it:
Employee: connect Deel
In the portal
Open Deel in the catalog
Sign in to your portal and open Deel. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A Deel 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 2.0. To connect with API Token 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 Deel 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 get_person and list_people, and lose the write tool create_contract, and the 4 destructive tools, such as manage_contract or manage_time_off.
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 17 tools, minus any you rejected. list_organization_data needs resourceType, so replace the placeholders. It retrieves organizational structure data from Deel.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (12)
get_person: Retrieve detailed information about a specific person (worker) by their ID. NeedspersonId.get_contract: Retrieve detailed information about a specific contract by its ID. NeedscontractId.list_people: Retrieve a list of people (workers) in the organization.get_eor_country_guide: Retrieve the Employer of Record (EOR) hiring guide for a specific country. NeedscountryCode.calculate_eor_cost: Calculate the estimated cost of hiring an employee through Deel's Employer of Record (EOR) service. NeedscountryCode.list_payments: Retrieve payment statements from Deel.list_invoices: Retrieve billing invoices from Deel for accounting and financial integration.list_contracts: Retrieve a list of contracts from Deel.list_organization_data: Retrieve organizational structure data from Deel. NeedsresourceType.get_current_organization: Read the organization associated with the authentication token, including its ID and name.get_current_user: Read the profile of the authenticated user, including organization membership.download_invoice: Download an invoice as a PDF.
Write tools (1)
create_contract: Create a new contractor contract in Deel. Needstype,title,workerEmail,workerFirstName,workerLastNameandstartDate.
Destructive tools (4)
manage_time_off: List time-off requests or assigned policies, create or update requests, or cancel a request. Needsaction.manage_invoice_adjustments: Create, list, read, review or delete invoice adjustments for contractor contracts. Needsaction.manage_timesheets: Create, list, read, review or delete contractor timesheets. Needsaction.manage_contract: Perform lifecycle actions on a Deel contract: amend, sign, or terminate. NeedscontractIdandaction.
Triggers
Deel has 6 triggers, which fire on events in Deel:
contract_events: Triggered when contract lifecycle events occur: created, amended, status updated, terminated, or team member invited to sign.payment_events: Triggered when payment events occur: payment statement initiated or marked as paid.timesheet_events: Triggered when timesheet events occur: created or reviewed (approved/denied).worker_events: Triggered when worker/people events occur: created, updated, or deleted.time_off_events: Triggered when time-off request events occur: created, reviewed (approved/denied), updated, or deleted/cancelled.invoice_adjustment_events: Triggered when invoice adjustment events occur: created, reviewed (approved/denied), or pending for approval.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Deel there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Deel on metorial.com: the integration overview