workday-mcp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,29 @@
1
+ {
2
+ "$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
3
+ "name": "workday-mcp",
4
+ "owner": {
5
+ "name": "Chris Hall",
6
+ "email": "chris.c.hall@gmail.com"
7
+ },
8
+ "metadata": {
9
+ "description": "Read-only MCP server for Workday — fetch your tasks, pay, benefits and compensation data. Routes through the user's signed-in Workday tab via the fetchproxy browser extension, reusing their existing SSO-authenticated session.",
10
+ "version": "0.1.0"
11
+ },
12
+ "plugins": [
13
+ {
14
+ "name": "workday-mcp",
15
+ "displayName": "Workday",
16
+ "source": "./",
17
+ "description": "Read-only MCP server for Workday — fetch tasks, pay, benefits and compensation through your signed-in session",
18
+ "version": "0.1.0",
19
+ "author": {
20
+ "name": "Chris Hall"
21
+ },
22
+ "homepage": "https://github.com/chrischall/workday-mcp",
23
+ "repository": "https://github.com/chrischall/workday-mcp",
24
+ "license": "MIT",
25
+ "keywords": ["workday", "hr", "payroll", "benefits", "mcp"],
26
+ "category": "productivity"
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "workday-mcp",
3
+ "displayName": "Workday",
4
+ "version": "0.1.0",
5
+ "description": "Read-only Workday access for Claude — fetch your tasks, pay, benefits and compensation through your signed-in session",
6
+ "author": {
7
+ "name": "Chris Hall",
8
+ "email": "chris.c.hall@gmail.com"
9
+ },
10
+ "homepage": "https://github.com/chrischall/workday-mcp",
11
+ "repository": "https://github.com/chrischall/workday-mcp",
12
+ "license": "MIT",
13
+ "keywords": ["workday", "hr", "payroll", "benefits", "mcp"],
14
+ "skills": "./SKILL.md",
15
+ "mcp": "./.mcp.json"
16
+ }
package/.mcp.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "workday": {
4
+ "command": "node",
5
+ "args": ["${CLAUDE_PLUGIN_ROOT}/dist/bundle.js"]
6
+ }
7
+ }
8
+ }
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Chris Hall
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # workday-mcp
2
+
3
+ Read-only MCP server for [Workday](https://www.workday.com/). Fetches your
4
+ Workday tasks and data cards — pay, benefits, compensation — and returns them as
5
+ structured JSON. Every request routes through your own signed-in
6
+ `*.myworkday.com` tab via the [fetchproxy](https://github.com/chrischall/fetchproxy)
7
+ browser extension, reusing your existing SSO-authenticated session.
8
+
9
+ > ⚠️ Workday gives employees no personal API. This server reads the same internal
10
+ > `*.htmld` endpoints the Workday web app calls, dispatched through your own
11
+ > signed-in browser tab. It is **read-only** and touches only your own data.
12
+ > Check your employer's acceptable-use policy. Use at your own discretion.
13
+ >
14
+ > 🤖 This project was developed and is maintained by AI (Claude Code).
15
+
16
+ ## Why a bridge instead of the official API?
17
+
18
+ The official Workday REST/SOAP API requires a tenant administrator to register
19
+ an OAuth API client + Integration System User — an employee can't self-provision
20
+ it. Tenants also sit behind corporate SSO (Ping/Okta/Entra) with MFA, so there's
21
+ no server-side login. The only surface an employee can reach for their own data
22
+ is their **live browser session**, which is what this server relays.
23
+
24
+ ## Install
25
+
26
+ See [SKILL.md](./SKILL.md) for full setup. In brief:
27
+
28
+ ```json
29
+ {
30
+ "mcpServers": {
31
+ "workday": {
32
+ "command": "npx",
33
+ "args": ["-y", "workday-mcp"],
34
+ "env": { "WORKDAY_TENANT": "your-tenant-slug" }
35
+ }
36
+ }
37
+ }
38
+ ```
39
+
40
+ Then install the fetchproxy extension and sign into Workday in your browser.
41
+
42
+ ## Tools
43
+
44
+ | Tool | What it does |
45
+ | --- | --- |
46
+ | `workday_get_task` | Read a Workday task/data card by path → title, fields, references, related tasks, export links |
47
+ | `workday_healthcheck` | Verify the bridge + session end-to-end with an actionable hint |
48
+
49
+ ## Development
50
+
51
+ ```bash
52
+ npm install
53
+ npm test # vitest
54
+ npm run build # tsc --noEmit + esbuild bundle → dist/bundle.js
55
+ ```
56
+
57
+ The widget-tree parser (`src/parse.ts`) is the durable core; see
58
+ [docs/WORKDAY-API.md](./docs/WORKDAY-API.md) for the captured endpoint shapes and
59
+ schema. License: MIT.
package/SKILL.md ADDED
@@ -0,0 +1,88 @@
1
+ ---
2
+ name: workday-mcp
3
+ description: Read your Workday HR data — tasks, pay, benefits, compensation — via MCP through your own signed-in session. Triggers on phrases like "check my workday", "what's in my workday", "read my workday compensation", "my workday benefits", "pull this workday page", or any request involving your Workday tasks, pay, or benefits. Read-only. Requires workday-mcp installed and the fetchproxy extension active (see Setup below).
4
+ ---
5
+
6
+ # workday-mcp
7
+
8
+ Read-only MCP server for Workday. Fetches your Workday tasks and data cards
9
+ (pay, benefits, compensation) and returns them as structured JSON. Every request
10
+ routes through your own signed-in `*.myworkday.com` tab via the fetchproxy
11
+ browser extension, reusing your existing SSO-authenticated session.
12
+
13
+ - **npm:** [npmjs.com/package/workday-mcp](https://www.npmjs.com/package/workday-mcp)
14
+ - **Source:** [github.com/chrischall/workday-mcp](https://github.com/chrischall/workday-mcp)
15
+
16
+ > ⚠️ Workday does not give employees a personal API. This server reads the same
17
+ > internal `*.htmld` endpoints the Workday web app calls, dispatched through your
18
+ > own signed-in browser tab via the fetchproxy extension. It is **read-only** and
19
+ > touches only your own data. Check your employer's acceptable-use policy. Use at
20
+ > your own discretion.
21
+
22
+ ## Setup
23
+
24
+ ### 1. Install workday-mcp
25
+
26
+ `.mcp.json` (project) or `~/.claude/mcp.json` (global):
27
+
28
+ ```json
29
+ {
30
+ "mcpServers": {
31
+ "workday": {
32
+ "command": "npx",
33
+ "args": ["-y", "workday-mcp"],
34
+ "env": {
35
+ "WORKDAY_TENANT": "your-tenant-slug",
36
+ "WORKDAY_HOST": "wd5.myworkday.com"
37
+ }
38
+ }
39
+ }
40
+ }
41
+ ```
42
+
43
+ - `WORKDAY_TENANT` (**required**) — the path segment after the host, e.g. for
44
+ `https://wd5.myworkday.com/acme` it is `acme`.
45
+ - `WORKDAY_HOST` (optional) — your data-center host; defaults to `wd5.myworkday.com`.
46
+ - `WORKDAY_WS_PORT` (optional) — override the fetchproxy port (default 37149).
47
+
48
+ ### 2. Install the fetchproxy extension (one-time, shared across fetchproxy MCPs)
49
+
50
+ ```bash
51
+ git clone https://github.com/chrischall/fetchproxy
52
+ cd fetchproxy
53
+ npm ci
54
+ npm --workspace=@fetchproxy/extension-chrome run build
55
+ ```
56
+
57
+ Load `fetchproxy/packages/extension-chrome/dist` as an unpacked extension in
58
+ `chrome://extensions`. On the first request you'll be asked to approve a pairing
59
+ code in the extension popup (one-time, per server identity).
60
+
61
+ ### 3. Sign into Workday
62
+
63
+ Open `https://<host>/<tenant>` in your browser and complete SSO. workday-mcp
64
+ reuses that live session — there is no separate login.
65
+
66
+ ## Tools
67
+
68
+ - **`workday_get_task`** — read a Workday task or data card by path. Returns
69
+ title, current user, each section's `label`/`value` fields, navigable
70
+ `references` (with instance ids + drill-in uris), related tasks, and export
71
+ links. The path comes from a prior result's `references[].uri` /
72
+ `relatedTasks[].uri`, or from pasting the URL of a Workday page you have open
73
+ (a `/{tenant}/d/...` SPA URL is normalized to its data endpoint automatically).
74
+ - **`workday_healthcheck`** — verify the bridge + session end-to-end and get a
75
+ plain-English hint distinguishing "bridge down" from "extension not connected"
76
+ from "Workday session expired (re-sign-in)".
77
+
78
+ ## How navigation works
79
+
80
+ Workday data-card paths carry opaque, page-context-bound tokens, so you don't
81
+ construct them — you **crawl**: open a Workday page you care about, paste its URL
82
+ into `workday_get_task`, then follow the `references[].uri` / `relatedTasks[].uri`
83
+ it returns into deeper tasks.
84
+
85
+ ## Status
86
+
87
+ v1 is **read-only**. Apps/worklet discovery, typed pay/benefits/compensation
88
+ tools, and (later) `confirm`-gated writes are planned — see `docs/WORKDAY-API.md`.