Morpheus MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "MORPHEUS_URL=${MORPHEUS_URL}" -e "MORPHEUS_API_TOKEN=${MORPHEUS_API_TOKEN}" -e "MORPHEUS_VERSION=${MORPHEUS_VERSION}" morpheus-mcp -- npx -y mcp-remote http://localhost:8000/sse
Required:MORPHEUS_URLMORPHEUS_API_TOKENMORPHEUS_VERSION+ 1 optional
README.md

Connects AI assistants to HPE Morpheus appliances for cloud management

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 fi

Tools (4)

manage_cloudsAdd, list, sync, and remove cloud integrations like VMware, AWS, and OpenStack.
manage_instancesProvision, start, stop, restart, delete, and inspect cloud instances.
manage_tenantsCreate, inspect, and delete tenants and sub-accounts.
execute_workflowsList, inspect, and execute workflows on instances.

Environment Variables

MORPHEUS_URLrequiredThe URL of your HPE Morpheus appliance
MORPHEUS_API_TOKENrequiredAPI token with admin or appropriate permissions
MORPHEUS_VERSIONrequiredThe version of the Morpheus appliance
MORPHEUS_VERIFY_SSLSet to true for production appliances with valid certificates

Configuration

claude_desktop_config.json
{"mcpServers": {"morpheus": {"command": "npx", "args": ["-y", "mcp-remote", "http://localhost:8000/sse"]}}}

Try it

List all configured clouds in my Morpheus appliance.
Provision a test VM called demo-01 on the VMware cloud.
Stop instance 42 and show me the process history.
Create a tenant called Acme Corp and add a read-only role.
Validate these release notes: [paste release notes]

Frequently Asked Questions

What are the key features of Morpheus MCP Server?

Full lifecycle management of cloud integrations and instances. Automated RBAC role and user management. Workflow and task execution on instances. Release validation via automated API pass/fail reporting. Multi-tenant environment administration.

What can I use Morpheus MCP Server for?

Automating VM provisioning tasks via natural language requests. Managing multi-tenant cloud environments for internal teams. Executing complex infrastructure workflows without manual UI navigation. Validating Morpheus release notes against appliance capabilities.

How do I install Morpheus MCP Server?

Install Morpheus MCP Server by running: docker compose up --build -d

What MCP clients work with Morpheus MCP Server?

Morpheus MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Morpheus MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare