Skip to content

Connect Cornerstone OnDemand to ChatGPT: Manage HR & Learning Ops

Learn how to connect Cornerstone OnDemand to ChatGPT using an auto-generated MCP server. Automate HR, LMS, and performance workflows using AI agents.

Nachi Raman Nachi Raman · · 9 min read
Connect Cornerstone OnDemand to ChatGPT: Manage HR & Learning Ops

If you need to connect Cornerstone OnDemand to ChatGPT to automate employee onboarding, assign compliance training, or orchestrate performance reviews, you need a Model Context Protocol (MCP) server. This server acts as the critical translation layer between ChatGPT's JSON-RPC tool calls and Cornerstone's complex HR and Learning APIs. You can either spend months building, hosting, and maintaining this infrastructure yourself, or use a managed integration platform like Truto to dynamically generate a secure, authenticated MCP server URL in seconds.

If your team uses Claude, check out our guide on connecting Cornerstone OnDemand to Claude or explore our broader architectural overview on connecting Cornerstone OnDemand to AI Agents.

Giving a Large Language Model (LLM) read and write access to an enterprise Human Capital Management (HCM) system is a massive engineering challenge. Cornerstone OnDemand is not a simple CRUD application. It is a highly modular ecosystem spanning Core HR, Learning (LMS), Performance, and Recruiting. Every API interaction requires strict adherence to complex taxonomies, effective-dated temporal models, and highly specific OData reporting implementations.

This guide breaks down exactly how to use Truto to generate a secure, managed MCP server for Cornerstone OnDemand, connect it natively to ChatGPT, and execute complex HR and Learning ops workflows using natural language.

The Engineering Reality of the Cornerstone OnDemand API

A custom MCP server is a self-hosted integration layer. While the open MCP standard provides a predictable way for models to discover tools, implementing it against Cornerstone's massive API surface is exceptionally painful.

If you decide to build a custom MCP server for Cornerstone OnDemand, you own the entire API lifecycle. Here are the specific integration challenges that break standard REST assumptions when working with Cornerstone:

Effective Dating and Temporal State Mutations

Unlike standard SaaS applications where an update simply overwrites the current row in a database, enterprise HR systems like Cornerstone rely heavily on effective dating. If an AI agent wants to promote an employee, it cannot just run a standard PATCH on the employee record. It must interact with the temporal endpoints - like PATCH /services/api/x/users/v2/employees/{id}/effective-date/{asOfDate}. Building a custom MCP server requires writing complex schema mapping logic that teaches the LLM the difference between mutating a record "as of today" versus "as of next quarter."

The OData Reporting Labyrinth

Cornerstone exposes its real-time data warehouse via a series of vw_rpt_* views (e.g., vw_rpt_user, vw_rpt_training). These endpoints do not accept standard REST query parameters. They require strictly formatted OData queries ($filter, $select, $orderby). LLMs notoriously struggle to write raw, syntactically perfect OData queries from scratch. If you build your own server, you must either write a translation layer that converts simple JSON arguments into valid OData strings, or risk continuous hallucination errors from the model.

Fragmented OAuth Scopes Across Modules

Cornerstone's API is heavily fragmented by product module. Generating an access token requires highly specific scope declarations. Extracting a performance review might require performancereview:read, while pulling the employee's title requires employee:read, and checking their training requires transcript:read. A custom MCP server must manage token refreshes across this fragmented scope landscape and gracefully handle permission boundaries when an LLM attempts an operation it lacks the scope for.

Building a Cornerstone OnDemand MCP Server

Truto abstracts away the complexity of OData queries, temporal state endpoints, and OAuth token refreshes. Because Truto's MCP tool generation is dynamic and documentation-driven, the server derives its available tools directly from the connected Cornerstone account's resources.

You can generate the MCP server via the Truto dashboard or programmatically via the API.

Option 1: Via the Truto UI

  1. Log into your Truto account and navigate to Integrated Accounts.
  2. Select your connected Cornerstone OnDemand account (or connect a new one using the standard OAuth flow).
  3. Click the MCP Servers tab on the account detail page.
  4. Click Create MCP Server.
  5. Select your configuration. You can optionally filter by specific methods (e.g., read, write) or by tags (e.g., hr, learning).
  6. Click Save and copy the generated MCP server URL (e.g., https://api.truto.one/mcp/<token>). Treat this URL as a secret, as it contains the routing and authentication parameters required to execute operations.

Option 2: Via the Truto API

For platform engineers building automated provisioning flows, you can generate the MCP server dynamically with a single POST request to the Truto API.

Grab your integrated_account_id and execute the following cURL command:

curl -X POST https://api.truto.one/integrated-account/$INTEGRATED_ACCOUNT_ID/mcp \
  -H "Authorization: Bearer $TRUTO_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Cornerstone HR & LMS Ops",
    "config": {
      "methods": ["read", "write"],
      "tags": ["employees", "transcripts", "performance"]
    }
  }'

The API returns a JSON payload containing the url required by your MCP client:

{
  "id": "mcp-server-uuid",
  "name": "Cornerstone HR & LMS Ops",
  "config": {
    "methods": ["read", "write"],
    "tags": ["employees", "transcripts", "performance"]
  },
  "expires_at": null,
  "url": "https://api.truto.one/mcp/a1b2c3d4e5f6..."
}

Connecting the MCP Server to ChatGPT

Once you have your Truto MCP server URL, you must register it with your ChatGPT environment. You can do this visually through the application settings or programmatically using a configuration file.

Option A: Via the ChatGPT UI

If you are using a ChatGPT Pro, Plus, Business, Enterprise, or Education account, you can add custom connectors directly in the interface.

  1. Open ChatGPT and navigate to Settings -> Apps -> Advanced settings.
  2. Ensure Developer mode is enabled.
  3. Under MCP servers / Custom connectors, click Add a new server.
  4. Enter a Name (e.g., "Cornerstone OnDemand via Truto").
  5. Paste the Truto MCP URL into the Server URL field.
  6. Save the configuration. ChatGPT will immediately connect, perform a JSON-RPC handshake, and fetch the available Cornerstone tools.

Option B: Via Manual Config File

If you are running a local AI agent framework or headless client that reads standard MCP configuration files, you can define the SSE transport using the @modelcontextprotocol/server-sse package.

Create an mcp-config.json file:

{
  "mcpServers": {
    "cornerstone_ondemand": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-sse",
        "https://api.truto.one/mcp/a1b2c3d4e5f6..."
      ]
    }
  }
}

Your agent runtime will execute the Node script, establish a Server-Sent Events connection to Truto, and begin routing tool execution requests.

Cornerstone OnDemand Hero Tools

When the MCP handshake completes, Truto dynamically supplies ChatGPT with a list of available tools. Here are some of the highest-leverage operations for HR and Learning automation.

Get Employee Details

Tool Name: list_all_cornerstone_on_demand_employees

This tool retrieves employee records from the Core HR module. It handles bulk retrieval but can be filtered to find specific users. This is the foundational tool agents use to resolve a user's name or email to an internal employeeId.

"Find the employee record for Jane Doe in the engineering department and return her employee ID and current manager."

Update Employee State As-Of a Specific Date

Tool Name: cornerstone_on_demand_employees_update_as_of

This is the critical temporal mutation tool. Instead of blindly overwriting data, this tool uses the asOfDate parameter to update an employee's user type, employment status, or termination info effectively on a specific timeline.

"Update Jane Doe's employment status to 'Active - Promoted' effective as of October 1st, 2026."

Retrieve User Training Assignments

Tool Name: list_all_cornerstone_on_demand_user_assigned_trainings

This tool queries the Learning module to retrieve all training assigned to a specific user (UserId), alongside their current completion statuses and due dates.

"Check the assigned trainings for employee ID 45982. Have they completed their annual SOC 2 compliance training yet?"

Assign Training Transcripts

Tool Name: cornerstone_on_demand_transcripts_assign

This tool assigns a new Learning Object (LO) to a user's active transcript. It requires the learningObjectId and a structured assignment payload, enabling agents to automatically route required compliance courses.

"Assign the 'Advanced Cloud Security' learning object to employee ID 45982. Set the due date for 30 days from today."

Retrieve Performance Reviews

Tool Name: list_all_cornerstone_on_demand_performance_reviews

This tool pulls performance review ratings, attached goals, and competency data associated with review tasks within a specified time period.

"Pull the Q3 performance review data for the engineering team. Summarize the competency scores and identify any missing review submissions."

Create User Goals

Tool Name: create_a_cornerstone_on_demand_goal

This tool interacts with the Performance module to generate new user goals. It enforces the same business rules as the Cornerstone UI, ensuring the AI agent provisions structured, trackable objectives.

"Create a new goal for employee ID 45982 titled 'Ship Unified Calendar API'. Set the start date to today and the target completion date to end of Q4."

Query OData Reporting Views

Tool Name: list_all_cornerstone_on_demand_report_user

This tool queries the vw_rpt_user real-time data warehouse view. It is essential for deep reporting tasks that require filtering across custom org units, job functions, or historical data.

"Run a report on the user data warehouse view to find all active employees in the EMEA region who were hired in the last 6 months."

To see the complete inventory of available Cornerstone OnDemand endpoints, schemas, and required properties, visit the Cornerstone OnDemand integration page.

Workflows in Action

Exposing these tools to ChatGPT enables complex, multi-step orchestration. Instead of clicking through five different screens in the Cornerstone UI, IT and HR admins can execute workflows conversationally.

Scenario 1: Automated Onboarding & Compliance Training

When a new hire transitions from the ATS to active status, HR ops needs to ensure they are assigned the correct compliance training based on their role.

"Check if our new hire, Marcus Chen in DevOps, is active in the system yet. If he is, check his training transcript. If he doesn't have the 'Production Environment Security' module assigned, assign it to him."

Here is how ChatGPT executes this request via the Truto MCP server:

sequenceDiagram
    participant User as HR Admin
    participant ChatGPT as ChatGPT
    participant Truto as Truto MCP Server
    participant Upstream as Upstream API (Cornerstone)

    User->>ChatGPT: "Check if Marcus Chen is active..."
    
    ChatGPT->>Truto: Call list_all_cornerstone_on_demand_employees (query: Marcus Chen)
    Truto->>Upstream: GET /services/api/x/users/v2/employees
    Upstream-->>Truto: Return employee payload (ID: 88123)
    Truto-->>ChatGPT: Return employee ID
    
    ChatGPT->>Truto: Call list_all_cornerstone_on_demand_user_assigned_trainings (UserId: 88123)
    Truto->>Upstream: GET /services/api/TranscriptAndTask/Assigned
    Upstream-->>Truto: Return empty transcript array
    Truto-->>ChatGPT: Return current assignments
    
    ChatGPT->>Truto: Call cornerstone_on_demand_transcripts_assign (learningObjectId: 9942, UserId: 88123)
    Truto->>Upstream: POST /services/api/v1/transcripts/assign
    Upstream-->>Truto: Return 201 Created
    Truto-->>ChatGPT: Return success confirmation
    
    ChatGPT-->>User: "Marcus Chen is active. I have assigned the Production Environment Security module to his transcript."

Scenario 2: Performance Review Prep & Goal Tracking

Managers need to prepare for 1:1s by reviewing past performance and setting up new objectives in the system.

"Pull the latest performance review rating for Sarah Jenkins. Based on her feedback, create a new performance goal for her to 'Lead Frontend Architecture Guild' by the end of the year."

  1. ChatGPT calls list_all_cornerstone_on_demand_employees to resolve the string "Sarah Jenkins" to her internal employeeId.
  2. ChatGPT calls list_all_cornerstone_on_demand_performance_reviews using the resolved ID to extract her latest ratings and feedback text.
  3. ChatGPT analyzes the returned text and calls create_a_cornerstone_on_demand_goal using the employeeId, title, and calculated end date.
  4. ChatGPT responds: "I found Sarah's latest review (Rating: Exceeds Expectations). I have created the new goal 'Lead Frontend Architecture Guild' and assigned it to her profile."

Security and Access Control

Giving an AI agent access to enterprise HR data requires strict governance. Truto's MCP servers provide several layers of access control built directly into the server configuration.

  • Method Filtering: By defining config.methods: ["read"] during server creation, you can lock the MCP server to read-only operations (get, list). The agent will be physically unable to execute create, update, or delete operations, preventing accidental data mutation.
  • Tag Filtering: You can restrict the server to specific resource clusters. Setting config.tags: ["learning"] ensures the agent only sees tools related to LMS operations (transcripts, certifications) and cannot access Core HR payroll or performance data.
  • Time-to-Live (TTL): You can set an expires_at ISO datetime when generating the server. Once expired, Truto automatically cleans up the server and revokes the URL, making it ideal for temporary contractor access or ephemeral CI/CD pipelines.
  • Require API Token Auth: For high-security environments, you can set require_api_token_auth: true. This forces the MCP client to pass a valid Truto API Bearer token in the connection headers, ensuring possession of the URL alone is not enough to grant access.

Handling Cornerstone OnDemand Rate Limits

When orchestrating bulk operations - like looping through a department's employees to assign training - AI agents can rapidly hit Cornerstone's API rate limits.

Truto does not retry, throttle, or apply backoff on rate limit errors. If Cornerstone returns an HTTP 429 error, Truto passes that error directly back to the caller. However, Truto actively normalizes the upstream rate limit information into standardized headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset) per the IETF specification.

Because Truto acts as a transparent proxy for these limits, the caller (your custom agent framework or LangChain implementation) must read these headers and implement its own retry and backoff logic to ensure continuous operation.

Summary

Connecting ChatGPT to Cornerstone OnDemand unlocks massive productivity gains for IT, HR, and Learning ops teams. By leveraging Truto's dynamically generated MCP servers, you bypass the friction of writing OData translation layers, managing fragmented OAuth scopes, and handwriting temporal mutation schemas.

Instead of managing custom integration code, your engineering team can generate secure, tightly scoped MCP servers via a single API call and get back to building core product value.

FAQ

How do I connect Cornerstone OnDemand to ChatGPT?
You can connect Cornerstone OnDemand to ChatGPT by generating a Model Context Protocol (MCP) server URL using Truto. Register this URL in ChatGPT's developer settings as a custom connector to expose Cornerstone APIs as native tools.
Does Truto handle Cornerstone OnDemand API rate limits automatically?
No. Truto passes HTTP 429 rate limit errors directly back to the caller and normalizes the upstream rate limit headers (ratelimit-limit, ratelimit-remaining, ratelimit-reset) according to the IETF spec. Your AI agent or framework is responsible for implementing retry and backoff logic.
Can I restrict which Cornerstone OnDemand modules ChatGPT can access?
Yes. When creating the MCP server in Truto, you can use method and tag filters to restrict access. For example, you can limit the server strictly to 'read' operations or only expose tools tagged with 'learning' or 'performance'.

More from our Blog