OpManager MCP Server
A credential-less Model Context Protocol (MCP) server for ManageEngine OpManager REST API integration. This server enables AI assistants like Claude to interact with your OpManager infrastructure through natural language.
โจ Key Features
๐ Credential-less Design: No hardcoded API keys - users provide
hostandapiKeyper request๐ SSL Auto-Detection: Port 8061 โ HTTPS, Port 8060 โ HTTP (with manual override)
๐ก 85+ API Endpoints: Full OpManager API coverage for devices, alarms, dashboards, discovery, and more
๐ Dynamic Tool Generation: Automatically generates MCP tools from OpenAPI specification
๐ Multiple Transports: Supports stdio (Claude Desktop) and HTTP/SSE (n8n, web clients)
๐ณ Docker Ready: Containerized deployment with Docker and Docker Compose
๐ Quick Start
Installation
Start the HTTP Server
Test a Tool Call
๐ Configuration
Environment Variables
Create a .env file (optional - for server defaults only):
Variable | Description | Default |
| Logging level |
|
| Allowed HTTP methods for tools |
|
| Path to OpenAPI spec | bundled |
Note:
OPMANAGER_HOSTandOPMANAGER_API_KEYare NOT configured server-side. Users provide these per-request for security.
Getting Your OpManager API Key
Log in to OpManager web console
Navigate to Settings โ REST API
Generate a new API key
Use this key in your tool calls
๐ง Tool Parameters
Every tool accepts these connection parameters:
Parameter | Required | Description |
| โ Yes | OpManager server hostname |
| โ Yes | API key for authentication |
| No | Server port (default: 8060) |
| No | Force SSL (auto-detected from port) |
| No | Verify SSL certificates (default: true) |
SSL Auto-Detection
Port 8061: Automatically uses HTTPS
Port 8060: Automatically uses HTTP
Override with
use_ssl: true/falseif needed
๐ HTTP API Endpoints
Endpoint | Method | Description |
| GET | Health check with tool count |
| GET | List all available tools |
| GET | SSE connection for MCP |
| POST | MCP message handler |
| POST | Direct tool invocation |
Health Check
List Tools
๐ค n8n Integration
Start the HTTP server on port 3000
In n8n, add an AI Agent node with MCP Client tool
Configure the MCP Client:
SSE URL:
http://localhost:3000/sseMessages URL:
http://localhost:3000/messages
Example System Prompt for n8n
๐ฅ Claude Desktop Integration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
Note: With Claude Desktop, you'll tell Claude your OpManager host and API key in conversation, and it will include them in tool calls.
๐ Available Tools (60+ GET operations)
Devices
opmanager_get_allDevices- List all monitored devicesopmanager_get_device- Get device details by nameopmanager_get_deviceAvailability- Device availability history
Alarms
opmanager_get_alarms- List alarms with filteringopmanager_get_alarmDetails- Get alarm detailsopmanager_add_alarmNotes- Add notes/acknowledge alarm
Discovery
opmanager_get_discoveryStatus- Check discovery progressopmanager_add_discovery- Start network discovery
Reports & Dashboards
opmanager_get_allDashboards- List all dashboardsopmanager_get_scheduledReports- List scheduled reports
And more...
Run curl http://localhost:3000/tools to see all available tools.
๐ณ Docker
Build and Run
Docker Compose
๐งช Development
Run Tests
Code Quality
Regenerate OpenAPI Spec
๐ Project Structure
๐ License
MIT License - see LICENSE for details.
๐ Acknowledgments
Built with Model Context Protocol SDK
OpManager REST API by ManageEngine