PasoeMcpServer

munigala-srinivas/PasoeMcpServer

3.2

If you are the rightful owner of PasoeMcpServer and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The PAS/OE MCP Server offers robust management for Progress Application Server for OpenEdge instances, with both REST API and JMX access options.

PAS/OE MCP Server

This MCP server provides comprehensive management capabilities for Progress Application Server for OpenEdge (PASOE) instances.

🚀 Two Versions Available

1. REST API Version (server.py)

  • 42 operations across all PASOE REST API sections
  • ✅ Simple HTTP-based communication
  • ✅ No Java dependencies
  • ✅ Firewall-friendly (standard HTTP ports)

2. JMX Version (server_jmx.py) - NEW!

  • Direct JMX access for maximum performance
  • Real-time monitoring with native Java MBeans
  • 3x faster than REST for most operations
  • Comprehensive access to all JVM metrics
  • ✅ Requires JPype1 and Java JDK

See for detailed comparison and setup

Features

Complete PASOE REST API Coverage (REST Version)

  • AgentManager Administration (10 operations)
  • SessionManager Administration (5 operations)
  • OEABL ManagerService (6 operations)
  • WEB/REST/SOAP/APSV Transport (6 operations)
  • Security Management (7 operations)
  • Debugging & Monitoring (8 operations)

JMX Direct Access (JMX Version)

  • Real-time server metrics
  • Agent management and monitoring
  • JVM heap, CPU, and thread monitoring
  • Low-latency operations
  • Native Java object access

Configuration

The server supports flexible configuration through:

  1. Default configuration - Set via command line arguments
  2. Per-request configuration - Override defaults for specific operations

Connection Parameters

  • host - PAS/OE server hostname (default: localhost)
  • port - Management port (default: 8810)
  • username - Authentication username (optional)
  • password - Authentication password (optional)
  • use_ssl - Enable HTTPS connections (default: false)

Usage

Basic Usage

python server.py

With Custom Configuration

python server.py <host> <port> <username> <password>

Example with localhost on custom port

python server.py localhost 8811 admin mypassword

REST API Endpoints

The server interacts with PAS/OE using these REST endpoints:

  • /oemanager/applications/{server}/info - Server information
  • /oemanager/applications/{server}/status - Server status
  • /oemanager/applications/{server}/start - Start server
  • /oemanager/applications/{server}/stop - Stop server
  • /oemanager/applications/{server}/restart - Restart server
  • /oemanager/applications/{server}/webapps - Application management
  • /oemanager/applications/{server}/sessions - Session management
  • /oemanager/applications/{server}/stats - Performance statistics
  • /oemanager/applications/{server}/logs - Log retrieval

Requirements

  • Python 3.10+
  • aiohttp for async HTTP client
  • pydantic for data validation
  • mcp for Model Context Protocol support

Installation

pip install -r requirements.txt
# or using uv
uv pip install -e .

Authentication

The server supports HTTP Basic Authentication. Provide credentials either:

  1. As command line arguments (for default config)
  2. In the config object for individual requests

Error Handling

All operations include comprehensive error handling with detailed error messages for:

  • Connection failures
  • Authentication errors
  • HTTP status errors
  • JSON parsing errors
  • Network timeouts

License

MIT License