MetorialDocs

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

Sign-in methods

MethodTypeWhat a person provides
API TokenAPI tokenapiToken
OAuth 2.0 (default)OAuthSigns 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:

ScopeNameWhat it allows
contracts:readContracts ReadRead contract data
contracts:writeContracts WriteCreate and modify contracts
people:readPeople ReadRead people/worker data
people:writePeople WriteModify people/worker data
timesheets:readTimesheets ReadRead timesheet data
timesheets:writeTimesheets WriteCreate and manage timesheets
time-off:readTime Off ReadRead time-off requests
time-off:writeTime Off WriteCreate and manage time-off requests
invoice-adjustments:readInvoice Adjustments ReadRead invoice adjustments
invoice-adjustments:writeInvoice Adjustments WriteCreate and manage invoice adjustments
accounting:readAccounting ReadRead accounting and billing data
organizations:readOrganizations ReadRead organization data
organizations:writeOrganizations WriteManage organization data
worker:readWorkers ReadRead worker profiles
worker:writeWorkers WriteModify 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:

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

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

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

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.

metorial list deel
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 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 list deel
metorial tools <integration-id>
metorial call <integration-id> list_organization_data -d '{"resourceType":"legal_entities"}'

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. Needs personId.
  • get_contract: Retrieve detailed information about a specific contract by its ID. Needs contractId.
  • 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. Needs countryCode.
  • calculate_eor_cost: Calculate the estimated cost of hiring an employee through Deel's Employer of Record (EOR) service. Needs countryCode.
  • 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. Needs resourceType.
  • 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. Needs type, title, workerEmail, workerFirstName, workerLastName and startDate.

Destructive tools (4)

  • manage_time_off: List time-off requests or assigned policies, create or update requests, or cancel a request. Needs action.
  • manage_invoice_adjustments: Create, list, read, review or delete invoice adjustments for contractor contracts. Needs action.
  • manage_timesheets: Create, list, read, review or delete contractor timesheets. Needs action.
  • manage_contract: Perform lifecycle actions on a Deel contract: amend, sign, or terminate. Needs contractId and action.

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