Set up Workday in Metorial for Claude, ChatGPT and Cursor
Share Workday with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 19 tools (14 read-only).
To give your team Workday in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Workday integration in a Metorial portal, and each person signs in to Workday with their own account. Agents can read authorized Workday workers, supervisory organizations, absence details, recorded time blocks and inbox tasks. The integration has 19 tools, 14 read-only, 4 write and 1 destructive, plus 2 triggers.
What you'll learn
- How an admin shares Workday in a portal and how each person connects
- The 10 OAuth scopes Workday can request, and what each one allows
- How to keep the 14 read-only tools and reject the other 5
Before you start
- A portal with at least one access group
- An account with Workday for each person who connects
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in method
| Method | Type | What a person provides |
|---|---|---|
| OAuth 2.0 | OAuth | Signs in to Workday after entering baseUrl and tenant |
OAuth 2.0
Before the sign-in, setup asks for:
baseUrl: Workday REST API base URL (e.g., https://wd2-impl-services1.workday.com)tenant: Workday tenant name
People sign in to Workday and approve the scopes you allow. The integration can request:
| Scope | Name | What it allows |
|---|---|---|
Staffing | Staffing | Access to worker records, hiring, terminations, and staffing data |
Public Data | Public Data | Access to public worker profile data |
Recruiting | Recruiting | Access to job requisitions and candidate data |
Tenant Non-Configurable | Tenant Non-Configurable | Access to tenant-level non-configurable data |
Time Tracking | Time Tracking | Access to time tracking and time-off data |
Absence Management | Absence Management | Access to absence and leave management data |
Benefits | Benefits | Access to benefits enrollment and plan data |
Compensation | Compensation | Access to compensation data |
Integration | Integration | Access to integration system resources |
System | WQL | Access to Workday Query Language for querying data |
Setup settings
Setup also asks for:
baseUrl: Workday REST API base URL (e.g., https://wd2-impl-services1.workday.com)tenant: Workday tenant name (e.g., mycompany)
Use your own Workday OAuth app
With your own OAuth app, people see your company's name on the Workday 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 Workday and copy the Redirect URI.
Register the app with Workday
Create an OAuth app or client in Workday 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 Workday integration.
Admin: share Workday 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 Workday. For how members connect, choose Each person connects, so everyone signs in to Workday as themselves.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Workday.
Choose who gets it
Add the access groups that should see Workday. 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 Workday integration. Once it exists, check which groups have it:
Employee: connect Workday
In the portal
Open Workday in the catalog
Sign in to your portal and open Workday. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. A Workday 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.
Add it to your AI client
metorial install adds your Workday 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 14 read-only tools, such as get_worker and execute_wql, and lose the 4 write tools, such as request_time_off or action_inbox_task, and the destructive tool delete_custom_object.
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 19 tools, minus any you rejected. list_workers takes no input. It searches and list workers in Workday.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (14)
list_organizations: Retrieve a list of supervisory organizations in Workday.list_custom_objects: List worker-scoped multi-instance records of a tenant-defined custom object type. NeedsobjectName.get_custom_object: Retrieve a specific custom object record by its type and ID. NeedsobjectNameandobjectId.get_custom_report: Retrieve data from a Workday custom report via Report-as-a-Service (RaaS). NeedsreportOwnerandreportName.get_time_off_entries: Retrieve time-off entries for a specific worker. NeedsworkerId.get_inbox_tasks: Retrieve pending inbox tasks for a specific worker. NeedsworkerId.get_time_blocks: Retrieve time tracking blocks for a specific worker. NeedsworkerId.execute_wql: Execute a Workday Query Language (WQL) query against Workday data. Needsquery.get_organization_workers: Retrieve the list of workers within a specific supervisory organization. NeedsorganizationId.list_workers: Search and list workers in Workday.get_worker: Retrieve detailed information about a specific worker by their ID. NeedsworkerId.get_resource: Read an exact supervisory organization, inbox task, time-off detail, or recorded time block.get_current_user: Discover the worker bound to the connected Workday account.list_resources: Discover prerequisites for existing Workday actions: eligible absence types and valid time-off dates, or WQL data sources and fields.
Write tools (4)
request_time_off: Submit a time-off request for a specific worker. NeedsworkerId,date,dailyQuantityandtimeOffTypeId.update_custom_object: Update an existing custom object record in Workday. NeedsobjectName,objectIdandfields.create_custom_object: Create a new custom object record in Workday. NeedsobjectNameandfields.action_inbox_task: Approve or deny a pending inbox task for a worker. NeedsworkerId,taskIdandaction.
Destructive tools (1)
delete_custom_object: Delete a custom object record from Workday. NeedsobjectNameandobjectId.
Triggers
Workday has 2 triggers, which fire on events in Workday:
inbound_webhookworker_changes: Detects new and updated workers in Workday by polling the workers endpoint.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Workday there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Workday on metorial.com: the integration overview