MetorialDocs

Set up Remote in Metorial for Claude, ChatGPT and Cursor

Share Remote with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API token sign-in, 17 tools (10 read-only).

To give your team Remote in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Remote integration in a Metorial portal, and each person signs in to Remote with their own account. Agents can read Remote employment records, country forms, leave policies, expenses, incentives, offboarding requests, timesheets, contract amendments, and payslips. The integration has 17 tools, 10 read-only, 1 write and 6 destructive, plus 7 triggers.

What you'll learn

  • How an admin shares Remote in a portal and how each person connects
  • The 1 OAuth scope Remote can request, and what each one allows
  • How to keep the 10 read-only tools and reject the other 7

Before you start

Sign-in methods

MethodTypeWhat a person provides
API Token (Sandbox)API tokenapiToken
Production (default)OAuthSigns in to Remote
API Token (Production)API tokenapiToken
SandboxOAuthSigns in to Remote

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

API Token (Sandbox)

To connect, a person enters:

  • apiToken: Remote API token (starts with ra_live or ra_test)

Production

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

ScopeNameWhat it allows
https://gateway.remote.com/company.manageCompany ManageFull access to manage company data and employments

API Token (Production)

To connect, a person enters:

  • apiToken: Remote API token (starts with ra_live or ra_test)

Sandbox

It requests the same scopes as Production.

Use your own Remote OAuth app

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

Register the app with Remote

Create an OAuth app or client in Remote 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 Remote integration.

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

Limit the tools

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

Choose who gets it

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

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

Employee: connect Remote

In the portal

Open Remote in the catalog

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

Authenticate

Under Quick setup, select Authenticate. A Remote 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 remote
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses Production. To connect with API Token (Sandbox) 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 Remote 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 remote
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 10 read-only tools, such as list_payslips and get_employment, and lose the write tool create_employment, and the 6 destructive tools, such as manage_expenses 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 remote
metorial tools <integration-id>
metorial call <integration-id> list_countries -d '{}'

metorial tools lists the 17 tools, minus any you rejected. list_countries takes no input. It lists Remote employment countries or the cost-calculator country and region catalog.

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

Tools

Read-only tools (10)

  • list_employments: List accessible employments with documented company, status, name, email, and employment-type filters.
  • list_countries: List Remote employment countries or the cost-calculator country and region catalog.
  • get_employment: Read an employment by ID from list_employments, including current status and available country-specific fields. Needs employmentId.
  • get_country_form_schema: Retrieve the current country form schema, or discover required cost-estimate fields for a region from list_countries. Needs countryCode and form.
  • get_current_identity: Identify the company, authorizing user, and integration accessible through this Remote token.
  • list_payslips: List accessible payslips by employment and documented issue-date or expected-payout-date ranges.
  • download_payslip: Prepare the authenticated PDF download for an accessible payslip ID from list_payslips.
  • list_companies: Discover companies accessible through the token.
  • estimate_employment_cost: Estimate EOR employment costs using the current country/region catalog. Needs countryCode, salary and currency.
  • list_contract_amendments: List contract amendments with optional employment and status filters and actual provider pagination.

Write tools (1)

  • create_employment: Create a country-specific employment record. Needs countryCode, fullName, jobTitle and provisionalStartDate.

Destructive tools (6)

  • manage_incentives: Read and manage one-time or monthly recurring incentives in the employment currency. Needs action.
  • manage_offboarding: Read or submit a termination offboarding request. Needs action.
  • update_employment: Update supported country-specific forms on an employment. Needs employmentId.
  • manage_expenses: Read expenses and categories, create an already-approved expense, or approve/decline a pending expense. Needs action.
  • manage_timesheets: List and read timesheets or approve a submitted timesheet for payroll. Needs action.
  • manage_time_off: Read time off and leave policies, create already-approved leave with explicit daily hours, or approve, decline, and cancel supported requests. Needs action.

Triggers

Remote has 7 triggers, which fire on events in Remote:

  • incentive_events: Triggered when incentive events occur, including creation, updates, deletion, processing, and payment.
  • offboarding_events: Triggered when offboarding events occur, including submission, review, payroll submission, completion, deletion, and contract termination.
  • employment_events: Triggered when employment-related events occur, including onboarding progress, status changes, personal information updates, and user activation/deactivation.
  • expense_events: Triggered when expense events occur, including creation, submission, approval, decline, reimbursement, updates, and deletion.
  • timeoff_events: Triggered when time off events occur, including requests, approvals, declines, cancellations, and date changes.
  • company_events: Triggered when company-level events occur, including company activation/archival, manager changes, billing documents, timesheet submissions, and contract amendment lifecycle events.
  • payslip_events: Triggered when a payslip is released and available for an employee.

Next steps