PeopleSoft MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PeopleSoft MCP ServerGet employee details for EMPLID 12345"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PeopleSoft MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to query and understand PeopleSoft HCM databases. This server provides semantic tools for HR, Payroll, Benefits, Performance, and PeopleTools metadata - allowing natural language questions to be answered with accurate SQL queries.
Features
41 semantic tools covering all major PeopleSoft HCM modules
4 documentation resources for PeopleSoft concepts and query patterns
Direct database access via Oracle thin client (no JDBC required)
PeopleTools introspection for understanding system architecture
Effective dating support built into all queries
Quick Start
Prerequisites
Python 3.11+
Oracle Database connectivity to a PeopleSoft HCM 9.2 instance
uv package manager (recommended)
Installation
# Clone the repository
git clone <repo-url>
cd peoplesoft-mcp
# Install dependencies
uv syncConfiguration
Copy the example environment file and add your credentials:
cp .env.example .envEdit
.envwith your database credentials:
ORACLE_DSN=hostname:port/service_name
ORACLE_USER=your_username
ORACLE_PASSWORD=your_passwordEdit
.cursor/mcp.jsonand update the path to your installation.
Running the Server
uv run peoplesoft_server.pyCursor IDE Integration
The MCP config (.cursor/mcp.json) should look like:
{
"mcpServers": {
"peoplesoft": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp_ps/",
"run",
"peoplesoft_server.py"
]
}
}
}Credentials are loaded from .env automatically - no need to include them in the MCP config.
Available Tools
Schema Introspection (5 tools)
Tool | Description |
| Get table structure, fields, and indexes |
| Search for tables by name pattern |
| Decode field codes (XLAT values) |
| View index definitions for performance |
| Find foreign key relationships |
HR Module (5 tools)
Tool | Description |
| Get employee details by EMPLID |
| Search employees by name, department, etc. |
| View job history for an employee |
| Get organizational hierarchy |
| Get department details and headcount |
Payroll Module (5 tools)
Tool | Description |
| View payroll calculation results |
| Check payroll processing status |
| Get YTD/MTD balances |
| Get payment details |
| List payroll calendar runs |
Benefits Module (4 tools)
Tool | Description |
| View benefit plan elections |
| Get dependent information |
| Get beneficiary designations |
| Calculate benefit costs |
Performance Module (3 tools)
Tool | Description |
| List performance documents |
| Get detailed review information |
| Search reviews by criteria |
PeopleTools Module (18 tools)
Tool | Description |
| Full record structure with fields and keys |
| Find records by name or description |
| Component pages and navigation |
| Fields on a page with record bindings |
| Find PeopleCode on records/fields |
| Security access for permission lists |
| Roles containing a permission list |
| Process Scheduler job definitions |
| AE program structure |
| IB service operations |
| IB message structure |
| PS Query records and fields |
| Get SQL text by SQLID (views, App Engine, PeopleCode) |
| Search SQL objects by text |
| Search text within PeopleCode |
| Impact analysis - where a field is used |
| All XLAT values for a field |
| Explains effective dating, SetID, etc. |
Direct Query (1 tool)
Tool | Description |
| Execute custom SQL queries |
Available Resources
Resource URI | Description |
| Major tables by module |
| Effective dating, EMPLID, SetID, XLAT |
| SQL query patterns |
| PeopleTools architecture guide |
Project Structure
peoplesoft-mcp/
├── peoplesoft_server.py # Main MCP server entry point
├── db.py # Database connection management
├── tools/ # Semantic tool modules
│ ├── introspection.py # Schema discovery tools
│ ├── hr.py # HR module tools
│ ├── payroll.py # Payroll module tools
│ ├── benefits.py # Benefits module tools
│ ├── performance.py # ePerformance tools
│ └── peopletools.py # PeopleTools metadata tools
├── tests/ # Test suites
│ ├── test_business_questions.py # HR business scenarios
│ └── test_peopletools_questions.py # Technical consultant scenarios
├── docs/ # Documentation resources
│ ├── peoplesoft_concepts.md
│ ├── peoplesoft_schema_guide.md
│ ├── peopletools_guide.md
│ ├── sql_query_examples.md
│ ├── peopletools-tables-by-tool.md # Tables required per tool
│ └── migration-analysis.md # Migration planning notes
└── pyproject.toml # Project configurationRunning Tests
# Set environment variables
export ORACLE_DSN="hostname:port/service_name"
export ORACLE_USER="username"
export ORACLE_PASSWORD="password"
# Run all tests
uv run pytest tests/ -v -s
# Run specific test suite
uv run pytest tests/test_business_questions.py -v -s
uv run pytest tests/test_peopletools_questions.py -v -sExample Queries
The MCP enables natural language questions like:
Business Questions:
"How many active employees are in each company?"
"What is the average salary by department?"
"Who reports to manager X?"
"Show me employees without a supervisor assigned"
Technical Questions:
"What fields does PS_JOB have?"
"Where is the DEPTID field used?"
"What PeopleCode runs on the JOB record?"
"What SQL does HR_ABSV_JOB_EFFDT use?"
"Search for SQL objects referencing PS_ABSV_REQUEST"
"Explain effective dating in PeopleSoft"
Development
Adding New Tools
Create a new module in
tools/or add to existing moduleDefine async functions that use
db.execute_query()Add a
register_tools(mcp)functionImport and register in
peoplesoft_server.py
Key Concepts
Effective Dating: Most PeopleSoft tables use EFFDT/EFFSEQ for history
SetID: Controls data sharing across business units
Translate Values: Short codes decoded via PSXLATITEM
EMPLID/EMPL_RCD: Employee ID + employment record number
License
MIT
Changelog
v0.2.1 (2026-03-02)
Added
get_sql_definition- fetch SQL text by SQLID from PSSQLTEXTDEFNAdded
search_sql_definitions- search SQL objects by textPeopleTools compatibility: adjusted PSPNLGROUP, PSPNLFIELD, PSAEAPPLDEFN, PSAESTEPDEFN queries for varying column names across PeopleTools versions
Added
docs/peopletools-tables-by-tool.md- tables required per tool
v0.2.0 (2026-02-28)
Added modular tool architecture with 39 semantic tools
Added PeopleTools introspection module (16 tools)
Added comprehensive test suites (42 tests)
Replaced connection pooling with direct connections for reliability
Added 4 documentation resources
Improved effective dating patterns in all queries
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rgrz/peoplesoft-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server