Skip to content

Commit 118e73b

Browse files
authored
Merge pull request #590 from djiang-jq/cursor/workday-team-api-client
docs(workday): document the team API client and required TOKEN_ENDPOINT
2 parents 997ffc7 + e64b0e2 commit 118e73b

3 files changed

Lines changed: 47 additions & 12 deletions

File tree

‎third_party/workday/.cursor-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "workday",
33
"displayName": "Workday",
4-
"version": "1.0.0",
4+
"version": "1.1.0",
55
"minClientVersions": {
66
"cursor": "3.19.0"
77
},

‎third_party/workday/CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to this plugin will be documented here.
44

5+
## 1.1.0
6+
7+
- Auth now uses the team's own Workday API client. A team admin enters six required fields: `CLIENT_ID`, `CLIENT_SECRET`, `TENANT`, `AUTHORIZATION_BASE_URL`, `TOKEN_ENDPOINT`, and `REST_API_BASE_URL`. Members then sign in individually.
8+
- `TOKEN_ENDPOINT` is required and is never derived: Workday serves the token endpoint from the services host, not the web host that serves the authorize endpoint.
9+
- Every URL must be `https` on a Workday domain.
10+
- The README documents registering the API client, including the redirection URI `https://www.cursor.com/agents/mcp/oauth/callback`.
11+
512
## 1.0.0 — initial release
613

714
- Added the `workday` plugin, the opt-in for the Workday MCP server that Cursor hosts and credentials.

‎third_party/workday/README.md‎

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,57 @@
11
# Workday
22

3-
Cursor plugin that connects agents to [Workday](https://www.workday.com) — the cloud platform for HR, payroll, and finance — through a [Model Context Protocol](https://modelcontextprotocol.io/) server that Cursor hosts and credentials.
3+
Cursor plugin that connects agents to [Workday](https://www.workday.com) — the cloud platform for HR, payroll, and finance — through a [Model Context Protocol](https://modelcontextprotocol.io/) server that Cursor hosts.
44

55
Read a tenant's people data: workers and their profiles, supervisory organizations, time off and leave, pay groups and pay slips, job postings and candidates, and custom reports through Workday Query Language (WQL).
66

77
## Install
88

9-
1. Open **Cursor Settings → Plugins**.
10-
2. Search for **Workday**.
11-
3. Click **Install**, then sign in to Workday when Cursor prompts you.
9+
1. A team admin opens **Cursor Settings → Plugins**, searches for **Workday**, and installs it for the team.
10+
2. The admin enters the team's Workday API client (see [Team setup](#team-setup)).
11+
3. Each member signs in to Workday when Cursor prompts them.
1212

1313
Or run `/add-plugin workday` in chat.
1414

1515
## MCP
1616

1717
This plugin ships no `mcp.json`, and that is deliberate.
1818

19-
Every other connector in this repository either points at a vendor's hosted endpoint or runs a package locally over stdio, so it carries its own server definition. Workday does not: Cursor runs the server, and the plugin exists only as the opt-in that turns it on for your account. Installing the plugin is what makes the server available; there is no command to run, no endpoint to reach, and no API key or client secret to paste.
19+
Every other connector in this repository either points at a vendor's hosted endpoint or runs a package locally over stdio, so it carries its own server definition. Workday does not: Cursor runs the server, and the plugin exists only as the opt-in that turns it on for your team. There is no command to run and no MCP endpoint to configure.
2020

2121
One consequence worth knowing: because the server is not declared here, you will not find it in a local `mcp.json` and you cannot point another MCP client at it. It is reachable from Cursor only.
2222

23-
## Before you connect
23+
## Team setup
2424

25-
Nothing to prepare on the Cursor side. Cursor owns the OAuth client, so you do not need a Workday API client or integration system user of your own.
25+
Workday API clients are registered inside each customer's tenant, so Cursor cannot ship one. A team admin supplies the team's own client once, and every member signs in through it.
2626

27-
You will be asked to sign in to your Workday tenant. Authorization is per tenant — connect once per tenant you want agents to reach. If your organization restricts which applications may use Workday's API, a Workday administrator may need to approve the connection first.
27+
### 1. Register an API client in Workday
28+
29+
A Workday administrator registers an API client in the tenant (**Register API Client**) with:
30+
31+
- **Client grant type:** authorization code grant.
32+
- **Redirection URI:** `https://www.cursor.com/agents/mcp/oauth/callback`.
33+
- **Scopes:** the functional areas you want agents to read, such as staffing, organizations, time off, payroll, and recruiting.
34+
35+
After saving, **View API Clients** shows the client ID, the client secret, and the tenant's endpoint URLs.
36+
37+
### 2. Enter the client in Cursor
38+
39+
Only a team admin can save these. All six fields are required:
40+
41+
| Field | Value |
42+
| --- | --- |
43+
| `CLIENT_ID` | Client ID of the API client. |
44+
| `CLIENT_SECRET` | Client secret of the API client. Stored encrypted and never shown back on plugin listings. |
45+
| `TENANT` | Tenant name, for example `acme_dpt1`. Letters, digits, `_`, and `-` only. |
46+
| `AUTHORIZATION_BASE_URL` | **Authorization Endpoint** from View API Clients (ends in `/authorize`, on the tenant's web host), or that web host's origin. Given an origin, Cursor uses `<origin>/<TENANT>/authorize`. |
47+
| `TOKEN_ENDPOINT` | **Token Endpoint** from View API Clients, for example `https://wd2-impl-services1.workday.com/ccx/oauth2/acme_dpt1/token`. It is on the services host, not the web host, so Cursor does not derive it. |
48+
| `REST_API_BASE_URL` | **Workday REST API Endpoint** from View API Clients, for example `https://wd2-impl-services1.workday.com/ccx/api/v1/acme_dpt1`. |
49+
50+
Every URL must use `https` on a Workday domain (`workday.com`, `myworkday.com`, `workdaygov.com`, or `myworkdaygov.com`, including subdomains). Cursor refuses other hosts because the client secret and members' grants are sent to them.
51+
52+
### 3. Members sign in
53+
54+
Each member signs in to Workday with their own account. The connection stays tied to the team whose client issued it, so switching teams in Cursor does not move a member's Workday session to another team's tenant.
2855

2956
## What agents can do
3057

@@ -42,9 +69,10 @@ The server is the source of truth for tool names and schemas.
4269

4370
## Notes
4471

45-
- Access follows whatever the signed-in Workday user can see. Workday's security groups still apply, so the connector cannot reach workers, compensation, or pay data that user has no access to.
46-
- Workday data is often sensitive. Connect with an account whose access matches what you intend agents to read.
47-
- Disconnecting is two independent steps: uninstalling the plugin stops Cursor from offering the server, and revoking the connection in Workday ends Cursor's access to your data.
72+
- Access follows whatever the signed-in Workday user can see, intersected with the API client's scopes. Workday's security groups still apply, so the connector cannot reach workers, compensation, or pay data that user has no access to.
73+
- Workday data is often sensitive. Grant the API client only the scopes you intend agents to read.
74+
- If sign-in fails with "credentials are not configured for this team", a field is missing, a URL is not an `https` Workday URL, or the tenant name has unsupported characters.
75+
- Disconnecting is independent on each side: uninstalling the plugin stops Cursor from offering the server, and disabling the API client or revoking its tokens in Workday ends Cursor's access to your data.
4876

4977
## Docs
5078

0 commit comments

Comments
 (0)