0.4.0 • Published 5d agoCLI
morpheus-mcp-server
Licence
MIT
Version
0.4.0
Deps
2
Size
99 kB
Vulns
0
Weekly
134
Morpheus MCP Server
MCP server implementation for the HPE Morpheus Data hybrid cloud platform.
Installation
npm install -g argocd-mcp-serverTools (24)
API Coverage
| Category | Tools | Morpheus API Endpoints |
|---|---|---|
| Instances | list_instances, create_instance, get_instance, action_instance, delete_instance |
/api/instances |
| Clouds | list_clouds, get_cloud, refresh_cloud |
/api/zones |
| Automation | list_tasks, get_task, execute_task, list_workflows, get_workflow, execute_workflow |
/api/tasks, /api/task-sets |
| Monitoring | health, list_incidents, get_incident, list_checks, get_check |
/api/health, /api/monitoring |
| Users | list_users, get_user, create_user, list_roles |
/api/users, /api/roles |
| Budgets | list_budgets, billing |
/api/budgets, /api/billing |
| Activity | activity |
/api/activity |
| Networks | list_networks, get_network |
/api/networks |
| Backups | list_backups, get_backup, execute_backup |
/api/backups |
| Universal API | morpheus_list_resource, morpheus_api_catalog, morpheus_api_get, morpheus_api_request |
Any /api/* endpoint |
Authentication
Two authentication modes are supported:
Option A — Static API Token
- Log into your Morpheus appliance
- Go to User Settings → API Access
- Generate an API token
- Set
MORPHEUS_URLandMORPHEUS_TOKENenvironment variables
Option B — Username/Password with Auto-Refresh (Recommended)
- Set
MORPHEUS_URL,MORPHEUS_USERNAME, andMORPHEUS_PASSWORD - The server auto-authenticates via OAuth (
POST /oauth/token) - Tokens are proactively refreshed before expiry (at 80% of
expires_in) - On 401 errors, the server refreshes the token and retries the request
- If the refresh token expires, it falls back to a full re-login
No manual token rotation needed — ideal for long-running sessions.
MCP Client Configuration
Claude Desktop
With static token:
{
"mcpServers": {
"morpheus": {
"command": "node",
"args": ["/path/to/packages/morpheus-server/dist/index.js"],
"env": {
"MORPHEUS_URL": "https://morpheus.corp.com",
"MORPHEUS_TOKEN": "your-token"
}
}
}
}With username/password (auto-refresh):
{
"mcpServers": {
"morpheus": {
"command": "node",
"args": ["/path/to/packages/morpheus-server/dist/index.js"],
"env": {
"MORPHEUS_URL": "https://morpheus.corp.com",
"MORPHEUS_USERNAME": "admin",
"MORPHEUS_PASSWORD": "your-password"
}
}
}
}VS Code (via extension)
Install the companion VS Code extension and configure in Settings.