MCP Server Plugin logo

MCP Server Plugin

Community
rgrz

A Model Context Protocol (MCP) server that enables AI assistants to query and understand PeopleSoft databases (HCM). This server provides semantic tools for HR, Payroll, Benefits, Performance, and PeopleTools metadata - allowing natural language questions to be answered with accurate SQL queries.

Publisherrgrz
Repositorypeoplesoft-mcp
LanguagePython
Forks
4
Stars
12
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    MCP Server Plugin exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    12 stars and 4 forks from the linked repository.

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

bash
# Clone the repository
git clone <repo-url>
cd peoplesoft-mcp

# Install dependencies
uv sync

Configuration

  1. Copy the example environment file and add your credentials:
bash
cp .env.example .env
  1. Edit .env with your database credentials:
bash
ORACLE_DSN=hostname:port/service_name
ORACLE_USER=your_username
ORACLE_PASSWORD=your_password
  1. Edit .cursor/mcp.json and update the path to your installation.

Running the Server

bash
uv run peoplesoft_server.py

Cursor IDE Integration

The MCP config (.cursor/mcp.json) should look like:

json
{
  "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)

ToolDescription
describe_tableGet table structure, fields, and indexes
list_tablesSearch for tables by name pattern
get_translate_valuesDecode field codes (XLAT values)
get_table_indexesView index definitions for performance
get_table_relationshipsFind foreign key relationships

HR Module (5 tools)

ToolDescription
get_employeeGet employee details by EMPLID
search_employeesSearch employees by name, department, etc.
get_job_historyView job history for an employee
get_org_chartGet organizational hierarchy
get_department_infoGet department details and headcount

Payroll Module (5 tools)

ToolDescription
get_payroll_resultsView payroll calculation results
get_payroll_statusCheck payroll processing status
get_accumulator_balancesGet YTD/MTD balances
get_payment_infoGet payment details
list_calendar_runsList payroll calendar runs

Benefits Module (4 tools)

ToolDescription
get_benefit_electionsView benefit plan elections
get_dependentsGet dependent information
get_beneficiariesGet beneficiary designations
get_benefit_costsCalculate benefit costs

Performance Module (3 tools)

ToolDescription
get_performance_reviewsList performance documents
get_review_detailsGet detailed review information
search_reviewsSearch reviews by criteria

PeopleTools Module (18 tools)

ToolDescription
get_record_definitionFull record structure with fields and keys
search_recordsFind records by name or description
get_component_structureComponent pages and navigation
get_page_fieldsFields on a page with record bindings
get_peoplecodeFind PeopleCode on records/fields
get_permission_list_detailsSecurity access for permission lists
get_roles_for_permission_listRoles containing a permission list
get_process_definitionProcess Scheduler job definitions
get_application_engine_stepsAE program structure
get_integration_broker_servicesIB service operations
get_message_definitionIB message structure
get_query_definitionPS Query records and fields
get_sql_definitionGet SQL text by SQLID (views, App Engine, PeopleCode)
search_sql_definitionsSearch SQL objects by text
search_peoplecodeSearch text within PeopleCode
get_field_usageImpact analysis - where a field is used
get_translate_field_valuesAll XLAT values for a field
explain_peoplesoft_conceptExplains effective dating, SetID, etc.

Direct Query (1 tool)

ToolDescription
query_peoplesoft_dbExecute custom SQL queries

Available Resources

Resource URIDescription
peoplesoft://schema-guideMajor tables by module
peoplesoft://conceptsEffective dating, EMPLID, SetID, XLAT
peoplesoft://query-examplesSQL query patterns
peoplesoft://peopletools-guidePeopleTools 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 configuration

Running Tests

bash
# 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 -s

Example 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

  1. Create a new module in tools/ or add to existing module
  2. Define async functions that use db.execute_query()
  3. Add a register_tools(mcp) function
  4. Import 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 PSSQLTEXTDEFN
  • Added search_sql_definitions - search SQL objects by text
  • PeopleTools 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

Installation

TypingMind
{
  "mcpServers": {
    "peoplesoft-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp_ps/",
        "run",
        "peoplesoft_server.py"
      ]
    }
  }
}

Use MCP Server Plugin MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP Server Plugin is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP Server Plugin as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP Server Plugin MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "peoplesoft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP Server Plugin MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP Server Plugin MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP Server Plugin to help me with this task?
MCP Server Plugin
Sure. I read it.
Here is what I found using MCP Server Plugin.

Frequently asked questions

What is the MCP Server Plugin MCP server used for?

MCP Server Plugin is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP Server Plugin MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP Server Plugin with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP Server Plugin MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP Server Plugin connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP Server Plugin MCP to TypingMind?

MCP Server Plugin runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does MCP Server Plugin MCP provide in TypingMind?

MCP Server Plugin exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP Server Plugin MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP Server Plugin requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇