Logo di MCP Server Plugin

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.

Autorergrz
Repositorypeoplesoft-mcp
LinguaPython
Fork
4
Stelle
12
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    MCP Server Plugin mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    12 stelle e 4 fork nel repository collegato.

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

Installazione

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

Usa MCP MCP Server Plugin con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso MCP Server Plugin, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi MCP Server Plugin come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di MCP Server Plugin.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "peoplesoft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di MCP Server Plugin, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di MCP Server Plugin.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare MCP Server Plugin per aiutarmi con questa attività?
MCP Server Plugin
Certo. Ho letto.
Ecco cosa ho trovato con MCP Server Plugin.

Domande frequenti

A cosa serve il server MCP MCP Server Plugin?

MCP Server Plugin è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare MCP Server Plugin MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare MCP Server Plugin con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP MCP Server Plugin con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando MCP Server Plugin, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego MCP Server Plugin MCP a TypingMind?

MCP Server Plugin funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre MCP Server Plugin MCP in TypingMind?

MCP Server Plugin mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare MCP Server Plugin MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se MCP Server Plugin richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇