Cornerstone OnDemand MCP Server for Mastra AI 10 tools — connect in under 2 minutes
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Cornerstone OnDemand through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"cornerstone-ondemand": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "Cornerstone OnDemand Agent",
instructions:
"You help users interact with Cornerstone OnDemand " +
"using 10 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with Cornerstone OnDemand?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About Cornerstone OnDemand MCP Server
Integrate Cornerstone OnDemand, the leading human capital management and learning platform, directly into your AI workflow. Monitor employee development, audit training transcripts, and manage your talent catalog using natural language.
Mastra's agent abstraction provides a clean separation between LLM logic and Cornerstone OnDemand tool infrastructure. Connect 10 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
What you can do
- Learning & Catalog — List available courses and training objects in your corporate catalog.
- Employee Transcripts — Retrieve and audit the learning history and certifications for any employee.
- Performance Tracking — List active performance reviews and competency goals.
- Recruiting Insights — Monitor internal and external job postings across departments.
The Cornerstone OnDemand MCP Server exposes 10 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect Cornerstone OnDemand to Mastra AI via MCP
Follow these steps to integrate the Cornerstone OnDemand MCP Server with Mastra AI.
Install dependencies
Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save to agent.ts and run with npx tsx agent.ts
Explore tools
Mastra discovers 10 tools from Cornerstone OnDemand via MCP
Why Use Mastra AI with the Cornerstone OnDemand MCP Server
Mastra AI provides unique advantages when paired with Cornerstone OnDemand through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Cornerstone OnDemand without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every Cornerstone OnDemand tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Cornerstone OnDemand + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the Cornerstone OnDemand MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query Cornerstone OnDemand, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed Cornerstone OnDemand as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query Cornerstone OnDemand on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using Cornerstone OnDemand tools alongside other MCP servers
Cornerstone OnDemand MCP Tools for Mastra AI (10)
These 10 tools become available when you connect Cornerstone OnDemand to Mastra AI via MCP:
get_course_details
Touches content metadata and availability rule boundaries. Get details for a specific training course
get_user_details
Touches organizational hierarchy, contact information, and account settings boundaries. Get full profile for a specific employee
list_catalog
Resolves learning object IDs, titles, descriptions, and training types. List all learning objects in the catalog
list_courses
Resolves course metadata, duration, and delivery method. List available training courses
list_departments
Resolves department IDs, names, and parent-child relationships. List organizational departments
list_job_postings
Resolves job title, location, department, and posting date. List internal and external job openings
list_performance_reviews
Resolves review cycle IDs, status, and associated employee/manager pairs. List active or past performance reviews
list_skills_inventory
Resolves skill names, descriptions, and categories. List all skills defined in the system
list_user_transcripts
Resolves course enrollment status, completion dates, and scores. List learning history and courses for a user
list_users
Resolves properties such as user ID, name, email, department, and employment status. List users in the Cornerstone portal
Example Prompts for Cornerstone OnDemand in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with Cornerstone OnDemand immediately.
"List all active training courses available in our learning catalog."
"Show me the learning transcript for employee 'Jane Doe'."
"List all open job postings in the Engineering department."
Troubleshooting Cornerstone OnDemand MCP Server with Mastra AI
Common issues when connecting Cornerstone OnDemand to Mastra AI through the Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpCornerstone OnDemand + Mastra AI FAQ
Common questions about integrating Cornerstone OnDemand MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Connect Cornerstone OnDemand with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect Cornerstone OnDemand to Mastra AI
Get your token, paste the configuration, and start using 10 tools in under 2 minutes. No API key management needed.
