View as Markdown

Workday Integration

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:

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:

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:

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:

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:

import { createMCPClient, workdayIntegration } from "integrate-sdk";
 
const customClient = createMCPClient({
  integrations: [workdayIntegration()],
});

Configuration Options

export interface WorkdayIntegrationConfig {
  /** Workday OAuth client ID (defaults to WORKDAY_CLIENT_ID) */
  clientId?: string;

Tools

workday_list_workers

List workers

export interface WorkdayListWorkersParams {
    hostname: string;

workday_get_worker

Get worker

export interface WorkdayGetWorkerParams { hostname: string;

Notes

  • Category: HR & Recruiting
  • Authentication mode: OAuth