MCP Hub
Back to servers

Morpheus MCP Server

Connects AI assistants to HPE Morpheus appliances to manage cloud infrastructure, instances, and multi-tenant environments through natural language. It enables users to provision resources, execute workflows, and perform administrative tasks by translating intent into Morpheus API calls.

glama
Updated
Mar 22, 2026

Morpheus MCP Server

An MCP (Model Context Protocol) server that connects Claude, Ollama, or any AI assistant to a live HPE Morpheus appliance. Speak in plain English — the AI translates your intent into Morpheus API calls and reports back what was done.


What it does

Covers the full Morpheus management lifecycle through natural language:

  • Clouds — add, list, sync, and remove cloud integrations (VMware, Proxmox via plugin, AWS, KVM, OpenStack, etc.)
  • Groups — create and list Morpheus groups/sites
  • Virtual Images — register images from URLs, check status, delete
  • Instances — provision, start, stop, restart, delete, and inspect instances
  • Instance Discovery — list instance types, layouts, service plans, networks, datastores, resource pools
  • Catalog — create and manage catalog item types and blueprints
  • Tenants — create, inspect, and delete tenants (sub-accounts)
  • Roles — create and manage RBAC roles
  • Users — create users under the master tenant or a specific sub-tenant, assign roles
  • Workflows and Tasks — list, inspect, and execute workflows on instances
  • Process History — view execution history for instances or the appliance
  • Release Validation — paste release notes and get an automated API pass/fail test report

Requirements

  • Docker and Docker Compose (or Python 3.10+)
  • A running HPE Morpheus appliance (version 7.x or 8.x)
  • A Morpheus API token with admin or appropriate permissions
  • Claude Desktop, Open WebUI (Ollama), or any MCP-compatible client

Setup

Step 1 — Create your config file

cp .env.example .env

Open .env and fill in three values:

MORPHEUS_URL=https://your-morpheus-instance.com
MORPHEUS_API_TOKEN=your-token-here
MORPHEUS_VERSION=8.1.0

How to get your API token: Morpheus UI → top-right user icon → API Access → Generate Token

Step 2 — Start the server

docker compose up --build -d

The server starts on port 8000 (change MCP_PORT in .env if needed).

Check it started correctly:

docker compose logs -f

You should see:

Connected to Morpheus 8.1.0 at https://... | user=admin role=System Admin
Morpheus MCP Server starting on port 8000
SSE endpoint: http://0.0.0.0:8000/sse

Step 3 — Connect your AI client

Claude Desktop

Open the Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add:

{
  "mcpServers": {
    "morpheus": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "http://localhost:8000/sse"
      ]
    }
  },
  "preferences": {
    "coworkScheduledTasksEnabled": true,
    "ccdScheduledTasksEnabled": true,
    "coworkWebSearchEnabled": true,
    "sidebarMode": "chat"
  }
}

Restart Claude Desktop. The morpheus tools appear automatically.

Open WebUI (Ollama)

Settings → Tools → Add Tool Server → URL: http://localhost:8000/sse

Use a model that supports tool calling: llama3.1, qwen2.5, mistral-nemo, or similar.


Example commands

Once connected, talk to the AI naturally:

"Check the Morpheus connection"
"List all configured clouds"
"What cloud types are available on this appliance?"
"Add a VMware cloud using vCenter at https://vcenter.lab/sdk"
"List all instance types"
"What service plans are available for VMware?"
"Provision a test VM called demo-01 on the VMware cloud"
"Show me all running instances"
"Stop instance 42"
"Create a tenant called Acme Corp"
"Add a read-only role and create a user under Acme Corp"
"List all workflows"
"Run workflow 5 on instance 12"
"Validate this release: [paste Morpheus release notes here]"

Switching Morpheus instances

Update .env with the new URL and token, then restart:

docker compose down
# edit .env
docker compose up -d

Running without Docker

python -m venv venv
source venv/bin/activate        # Windows: venv\Scripts\activate
pip install -r requirements.txt
cp .env.example .env            # fill in your values
python server.py

Proxmox note

Proxmox is not a built-in Morpheus cloud type. It requires the community plugin to be installed first:

  1. Download the plugin JAR from the HPE Morpheus Proxmox VE Plugin repository
  2. Install it in Morpheus: Administration → Integrations → Plugins → Upload File
  3. Once installed, run list_zone_types — the Proxmox code will appear
  4. Use that code with add_cloud to register your Proxmox host

SSL certificates

Self-signed certificates are handled by default (MORPHEUS_VERIFY_SSL=false in .env). For production appliances with valid certificates, set MORPHEUS_VERIFY_SSL=true.


Moving to Proxmox or another host

Copy the project folder to the target machine, install Docker, and run the same docker compose up command. The .env file is the only thing that needs to change per environment.


Available Tools Reference

ToolDescription
check_connectionVerify connectivity and display current user
list_zone_typesList all available cloud type codes
list_cloudsList all configured clouds
get_cloudGet cloud details by ID
add_vmware_cloudAdd a VMware vCenter cloud
add_cloudAdd any cloud by zone type code
sync_cloudTrigger manual cloud sync
delete_cloudRemove a cloud integration
list_groupsList groups/sites
create_groupCreate a new group
list_virtual_imagesList registered virtual images
get_virtual_imageGet image details and status
register_image_from_urlRegister an image from a URL
delete_virtual_imageRemove a virtual image
list_instance_typesList available instance types
get_instance_type_layoutsList layouts for an instance type
list_service_plansList CPU/RAM/disk plans
list_networksList available networks
list_datastoresList datastores for a cloud
list_resource_poolsList resource pools for a cloud
list_instancesList instances with optional filters
get_instanceGet instance details and IP
provision_instanceProvision a new instance
stop_instanceStop a running instance
start_instanceStart a stopped instance
restart_instanceRestart an instance
delete_instanceDeprovision an instance
list_catalog_itemsList catalog item types
get_catalog_itemGet catalog item details
create_catalog_itemCreate a catalog item
delete_catalog_itemDelete a catalog item
list_blueprintsList blueprints
get_blueprintGet blueprint details
create_blueprintCreate a new blueprint
delete_blueprintDelete a blueprint
list_tenantsList all tenants
get_tenantGet tenant details
create_tenantCreate a sub-tenant
delete_tenantDelete a tenant
list_rolesList all roles
get_roleGet role details
create_roleCreate a new role
delete_roleDelete a role
list_usersList users (global or per-tenant)
get_userGet user details
create_userCreate a user with role assignment
delete_userDelete a user
list_workflowsList workflows/task sets
get_workflowGet workflow details and tasks
run_workflow_on_instanceExecute a workflow on an instance
list_tasksList tasks
list_processesView execution history
validate_releaseParse release notes and run API tests

Reviews

No reviews yet

Sign in to write a review