---
title: "Workday Integration"
description: "Query Workday workers via the tenant REST API"
---
The Workday integration provides access to query Workday workers via the tenant REST API through the Integrate MCP server.

## Installation

The Workday integration is included with the SDK:

```typescript
import { workdayIntegration } from "integrate-sdk/server";
```

## Setup

### 1. Create a Workday OAuth App

1. Create an OAuth application for Workday
2. Configure your redirect URI
3. Note your Client ID and Client Secret

### 2. Configure the Integration on Your Server

Add the Workday integration to your server configuration. The integration automatically reads `WORKDAY_CLIENT_ID` and `WORKDAY_CLIENT_SECRET` from your environment variables:

```typescript
import { createMCPServer, workdayIntegration } from "integrate-sdk/server";

export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    workdayIntegration({
    }),
  ],
});
```

You can override the environment variables by passing explicit values:

```typescript
workdayIntegration({
  clientId: process.env.CUSTOM_WORKDAY_ID,
  clientSecret: process.env.CUSTOM_WORKDAY_SECRET,
});
```

### 3. Client-Side Usage

The default client automatically includes all integrations. You can use it directly:

```typescript
import { client } from "integrate-sdk";

await client.authorize("workday");
const result = await client.workday.listWorkers({
  hostname: "value",
});

console.log(result);
```

If you're using a custom client, add the integration to the integrations array:

```typescript
import { createMCPClient, workdayIntegration } from "integrate-sdk";

const customClient = createMCPClient({
  integrations: [workdayIntegration()],
});
```

## Configuration Options

<AutoTypeTable
  path="../src/integrations/workday.ts"
  name="WorkdayIntegrationConfig"
/>


## Tools

### `workday_list_workers`

List workers

<AutoTypeTable
  path="generated/tool-params/workday.ts"
  name="WorkdayListWorkersParams"
/>

### `workday_get_worker`

Get worker

<AutoTypeTable
  path="generated/tool-params/workday.ts"
  name="WorkdayGetWorkerParams"
/>

## Notes

- Category: HR & Recruiting
- Authentication mode: OAuth
