Skip to main content

USB Workday Agent - MCP integration for Workday automation

Project description

USB Workday Agent

MCP integration for Workday automation using the wxO-nit virtual environment.

Overview

This project provides an MCP (Model Context Protocol) server for automating Workday operations. It leverages the FastMCP framework to expose tools and resources for Workday integration.

Prerequisites

  • Python 3.10 or higher
  • wxO-nit virtual environment (located at ../wxO-nit)
  • MCP-compatible client (e.g., Claude Desktop, Bob)

Installation

Using the wxO-nit Virtual Environment

This project uses the existing wxO-nit virtual environment:

# Activate the wxO-nit virtual environment
source ../wxO-nit/bin/activate

# Install this package in development mode
pip install -e .

Standalone Installation

Alternatively, create a new virtual environment:

# Create virtual environment
python -m venv venv

# Activate virtual environment
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -e .

Development

Install Development Dependencies

pip install -e ".[dev]"

Code Formatting

# Format code with black
black .

# Lint with ruff
ruff check .

Testing

pytest

Project Structure

usb-workday-agent/
├── README.md
├── pyproject.toml
├── setup.py
└── (source files to be added)

Dependencies

  • mcp (>=0.9.0): Model Context Protocol core library
  • fastmcp (>=3.0.0): FastMCP framework for building MCP servers

Running the MCP Server

Start the Server

# Activate the wxO-nit virtual environment
source ../wxO-nit/bin/activate

# Run the server directly
python3 server.py

# Or use the installed command (after pip install -e .)
usb-workday-agent

MCP Client Configuration

Add to your MCP client configuration (e.g., Claude Desktop):

{
  "mcpServers": {
    "usb-workday-agent": {
      "command": "python",
      "args": ["/Users/amandawinkles/bob/usb-workday-agent/server.py"],
      "env": {
        "PYTHONPATH": "/Users/amandawinkles/bob/wxO-nit/lib/python3.10/site-packages"
      }
    }
  }
}

Available Tools

The server provides the following tools for watsonx Orchestrate:

  • get_workday_status: Check Workday integration status
  • query_workday_data: Query data from Workday API endpoints
  • create_workday_record: Create new records in Workday
  • update_workday_record: Update existing Workday records
  • search_workday_records: Search for records with criteria
  • execute_workday_report: Run Workday reports and retrieve results

Available Resources

  • workday://config: Get Workday configuration details
  • workday://status: Check connection status to Workday

Configuration

Workday API credentials and configuration should be set via environment variables:

export WORKDAY_TENANT="your-tenant"
export WORKDAY_USERNAME="your-username"
export WORKDAY_PASSWORD="your-password"
export WORKDAY_API_VERSION="v1"

License

MIT License

Author

Amanda Winkles

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

usb_workday_agent-1.0.0.tar.gz (125.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

usb_workday_agent-1.0.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file usb_workday_agent-1.0.0.tar.gz.

File metadata

  • Download URL: usb_workday_agent-1.0.0.tar.gz
  • Upload date:
  • Size: 125.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for usb_workday_agent-1.0.0.tar.gz
Algorithm Hash digest
SHA256 280af7c382207c983d48069a4109f03cb6f48a5be9a9a7a573ca3651dbc0d294
MD5 0d303b5ba3c5c997653a3a361bd53da8
BLAKE2b-256 d99be1306ee464e764cd9b4bcec4766a3a4bc9749228ec4fca6460b848bff6e7

See more details on using hashes here.

File details

Details for the file usb_workday_agent-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for usb_workday_agent-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 09141d9d9f8483ceb8aefd028e8a1919adb0379f6987a85aa101006bedbadf2a
MD5 b8d4e3a1177b31c57ff1786726e0eb99
BLAKE2b-256 5615affea1632accc63cb7b9a5a789a7487ad381d345c801bfe5d59fa0e7d8dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page