MCP Server Pluginのロゴ

MCP Server Plugin

コミュニティ
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.

公開者rgrz
リポジトリpeoplesoft-mcp
言語Python
フォーク
4
スター
12
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    MCP Server Pluginは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには12件のスターと4件のフォークがあります。

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

インストール

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

MCP Server PluginのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度MCP Server Pluginに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

MCP Server Pluginをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. MCP Server PluginのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "peoplesoft-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてMCP Server PluginのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. MCP Server PluginのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
MCP Server Pluginを使ってこのタスクを手伝ってもらえますか?
MCP Server Plugin
はい、読みました。
MCP Server Pluginで調べた結果をお伝えします。

よくある質問

MCP Server Plugin MCPサーバーは何に使いますか?

MCP Server Pluginは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでMCP Server Plugin MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでMCP Server Pluginを利用できます。

TypingMindでMCP Server Plugin MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。MCP Server Pluginを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

MCP Server Plugin MCPをTypingMindに接続するにはどうすればよいですか?

MCP Server PluginはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでMCP Server Plugin MCPのどのようなツールを利用できますか?

MCP Server PluginはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

MCP Server Plugin MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。MCP Server Pluginで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇