Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Greenlake Users MCP

by HewlettPackardversion 1.1.2i★ 9 (Stars for the whole repo)iRuns on your computerRepository ↗
Registry nameio.github.HewlettPackard/greenlake-users-mcp

How to install

What it does

HPE GreenLake users MCP Server

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Other

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness3/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score3/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Greenlake Users MCP. Follow https://mcp.popnx.com/i/hewlettpackard-greenlake-users-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 13, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Greenlake Users MCP for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "greenlake-users": { "command": "uvx", "args": [ "greenlake-users-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Greenlake Users MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "greenlake-users": {
          "command": "uvx",
          "args": [
            "greenlake-users-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Greenlake Users MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Greenlake Users MCP or shows a Greenlake Users MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Greenlake Users MCP yet

Greenlake Users MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Greenlake Users MCP

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Other that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Greenlake Users MCP for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user greenlake-users -- uvx greenlake-users-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Greenlake Users MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user greenlake-users -- uvx greenlake-users-mcp
  4. Type /mcp in Claude Code

    You should see Greenlake Users MCP listed as connected

  5. Try it

    Use Greenlake Users MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Greenlake Users MCP or shows a Greenlake Users MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Greenlake Users MCP for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "greenlake-users": { "command": "uvx", "args": [ "greenlake-users-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Greenlake Users MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Greenlake Users MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Greenlake Users MCP or shows a Greenlake Users MCP tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Greenlake Users MCP for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "greenlake-users": { "type": "stdio", "command": "uvx", "args": [ "greenlake-users-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Greenlake Users MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Greenlake Users MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Greenlake Users MCP or shows a Greenlake Users MCP tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Greenlake Users MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user greenlake-users -- uvx greenlake-users-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "greenlake-users": {
      "command": "uvx",
      "args": [
        "greenlake-users-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "greenlake-users": {
      "command": "uvx",
      "args": [
        "greenlake-users-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "greenlake-users": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "greenlake-users-mcp"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

GitHub starsi
9 (Stars for the whole repo)
This repo holds several MCP listings; its stars count once in rankings
Downloads per weeki
64/wk
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
1.1.2
Categoryi
Other
Published to registryi
May 26, 2026
Code last changedi
May 26, 2026
Maker
HewlettPackard
Packages
pypi: greenlake-users-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account HewlettPackard, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 6 months ago

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for greenlake-users-mcp@1.1.2

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/hewlettpackard-greenlake-users-mcp.svg)](https://mcp.popnx.com/en/servers/hewlettpackard-greenlake-users-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Otheri

  • More stars than 0% of the other 20653 servers in this category
  • Published to the registry more recently than 7% of the other 20653 servers in this category
  • Basic checks equal to or better than 99% of the other 20653 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Greenlake Users MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 6 months ago, and the latest version (1.1.2) reached the registry 6 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

by koala73Widely used★ 90.9KUpdated 3 days ago

Runs in the cloud✓ service owner · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

by openstatusHQWidely used★ 9.3KUpdated 2 months ago

Runs in the cloud✓ service owner · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

by JanDeDobbeleerWidely used★ 23.8K Stars for the whole repoUpdated 30 days ago

Runs in the cloud✓ service owner · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

by Klavis-AIGrowing★ 5.8KUpdated 14 months ago

Runs in the cloudRepo archived✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

by jitsucomWidely used★ 5.1KUpdated 4 months ago

Runs in the cloud✓ service owner · jitsu.com
Compared with similar ones
This one
Greenlake Users MCP
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/41/44/4
LicenseApache-2.0AGPL-3.0AGPL-3.0MITApache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

HPE GreenLake MCP Servers

A collection of Model Context Protocol (MCP) servers that enable AI assistants to interact with HPE GreenLake platform services.

Table of Contents

  • What is the Model Context Protocol?
  • What's in this Repository?
  • Available MCP Servers
  • Quick Start
  • MCP Client Configuration
  • Tool Modes
  • Architecture Overview
  • Security Considerations
  • Troubleshooting
  • Getting Help
  • Resources
  • License

What is the Model Context Protocol?

The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.

What's in this Repository?

This repository contains production-ready MCP servers for HPE GreenLake platform services. Each server provides AI assistants with secure, read-only access to specific GreenLake APIs, enabling natural language interactions with your HPE infrastructure.

Key Features
  • Standardized Architecture: All servers follow consistent patterns for authentication, configuration, and error handling
  • OAuth2 Authentication: Secure access using HPE GreenLake workspace credentials with automatic token management
  • Dual Tool Modes: Each server supports both static (individual tools per endpoint) and dynamic (meta-tools) operation modes
  • Type-Safe: Built with Pydantic models for runtime validation and type safety
  • Production Ready: Comprehensive logging, error handling, and Docker support
  • Well Tested: Extensive unit and integration test coverage

Available MCP Servers

ServiceCategoryDescriptionKey Capabilities
DevicesInfrastructure & PlatformManage and query HPE GreenLake devices in your workspaceFilter by type, serial number, tags; retrieve device details by ID
WorkspacesInfrastructure & PlatformInteract with HPE GreenLake workspace management APIsList/query workspaces; retrieve details and configurations
SubscriptionsInfrastructure & PlatformAccess subscription information and licensing detailsView active subscriptions; query licensing; monitor subscription status
Audit LogsSecurity & ComplianceQuery and analyze HPE GreenLake audit logsFilter by category, user, timestamp; track user activities and system events
UsersUser & Access ManagementManage user accounts and access controlsList/query users; view permissions; monitor user activity
ReportingReporting & AnalyticsGenerate and retrieve reports on workspaces, devices, and subscriptionsCustomizable report types; async report tracking; date range and column filters
Service CatalogInfrastructure & PlatformAccess service catalog and provisioning informationView service offers, provisions, managers, manager-provisions and regions

Quick Start

Prerequisites
  • Python 3.10 or higher
  • uv package manager
  • HPE GreenLake workspace with API credentials
Configuration

All servers require the following HPE GreenLake credentials:

export GREENLAKE_API_BASE_URL="https://global.api.greenlake.hpe.com"

export GREENLAKE_CLIENT_ID="your-client-id" export GREENLAKE_CLIENT_SECRET="your-client-secret" export GREENLAKE_WORKSPACE_ID="your-workspace-id"

Running a Server
# Navigate to a server directory

cd src/audit-logs

Install dependencies

uv sync

Run the server

uv run python -m greenlake_audit_logs_mcp

MCP Client Configuration

Claude Desktop

Add servers to your claude_desktop_config.json:

{

"mcpServers": { "greenlake-audit-logs": { "command": "uv", "args": ["run", "python", "-m", "greenlake_audit_logs_mcp"], "cwd": "/path/to/gl-mcp/src/audit-logs", "env": { "GREENLAKE_API_BASE_URL": "https://global.api.greenlake.hpe.com", "GREENLAKE_CLIENT_ID": "your-client-id", "GREENLAKE_CLIENT_SECRET": "your-client-secret", "GREENLAKE_WORKSPACE_ID": "your-workspace-id" } }, "greenlake-devices": { "command": "uv", "args": ["run", "python", "-m", "greenlake_devices_mcp"], "cwd": "/path/to/gl-mcp/src/devices", "env": { "GREENLAKE_API_BASE_URL": "https://global.api.greenlake.hpe.com", "GREENLAKE_CLIENT_ID": "your-client-id", "GREENLAKE_CLIENT_SECRET": "your-client-secret", "GREENLAKE_WORKSPACE_ID": "your-workspace-id" } } } }

Other MCP Clients

These servers use the standard stdio transport and work with any MCP-compatible client. See individual server READMEs for specific configuration examples.

Tool Modes

All servers support two operation modes that can be switched at runtime using the MCP_TOOL_MODE environment variable:

Static Mode (Default)
  • Individual tools: Each API endpoint becomes a dedicated MCP tool
  • Type-safe: Explicit tool definitions with compile-time validation
  • Discoverable: Tools appear individually in MCP client interfaces
  • Best for: Smaller APIs and focused workflows
export MCP_TOOL_MODE=static
Dynamic Mode
  • Meta-tools: 3 generic tools that can handle any API endpoint
  • list_endpoints - Discover available API endpoints
  • get_endpoint_schema - Get detailed schema information
  • invoke_dynamic_tool - Execute API calls with runtime validation
  • Memory efficient: Lower overhead for large APIs
  • Best for: Large APIs with many endpoints
export MCP_TOOL_MODE=dynamic
Compatibility Matrix
Python VersionStatusNotes
3.12✅ SupportedRecommended
3.11✅ SupportedRecommended
3.10✅ SupportedMinimum version

Architecture Overview

High-Level Architecture
flowchart TB

subgraph clients[" MCP Clients "] direction TB claude["Claude Desktop"] vscode["VS Code"] other["..."] end

subgraph servers[" MCP Servers "] direction TB audit["Audit Logs"] devices["Devices"] users["Users"] workspaces["Workspaces"] subscriptions["Subscriptions"] reporting["Reporting"] serviceX["..."]

subgraph shared[" Shared Components "] direction LR oauth["OAuth2 Token Manager (with caching)"] end end

subgraph platform[" HPE GreenLake Platform "] direction TB api["APIs"] end

clients ==>|JSON-RPC/stdio| servers servers ==>|HTTPS/REST + OAuth2| platform

classDef clientStyle fill:#2196F3,stroke:none,color:#fff,rx:10,ry:10 classDef serverStyle fill:#4CAF50,stroke:none,color:#fff,rx:10,ry:10 classDef authStyle fill:#FF9800,stroke:none,color:#fff,rx:10,ry:10 classDef platformStyle fill:#01a982,stroke:none,color:#fff,rx:10,ry:10 classDef clientContainerStyle fill:none,stroke:#2196F3,stroke-width:3px,rx:15,ry:15 classDef serverContainerStyle fill:none,stroke:#4CAF50,stroke-width:3px,rx:15,ry:15 classDef authContainerStyle fill:none,stroke:#FF9800,stroke-width:2px,stroke-dasharray:5 5,rx:10,ry:10 classDef platformContainerStyle fill:none,stroke:#01a982,stroke-width:3px,rx:15,ry:15

class claude,vscode,other clientStyle class audit,devices,users,workspaces,subscriptions,reporting,serviceX serverStyle class oauth authStyle class api platformStyle class clients clientContainerStyle class servers serverContainerStyle class shared authContainerStyle class platform platformContainerStyle

Request Flow
  1. Client Request: MCP client sends tool invocation via JSON-RPC over stdio
  2. Authentication: Server authenticates with HPE GreenLake using OAuth2 (tokens cached and auto-refreshed)
  3. API Call: Server makes authenticated HTTPS request to GreenLake API
  4. Response: Server processes response and returns data to client via MCP protocol
Shared Components

All servers share a common architecture:

src/<service>/

├── greenlake_ _mcp/ # Main package (e.g. greenlake_audit_logs_mcp) │ ├── main.py # Entry point (python -m greenlake_ _mcp) │ ├── auth/ # OAuth2 authentication │ ├── config/ # Settings and logging │ ├── models/ # Pydantic data models │ ├── server/ # MCP server core │ ├── tools/ # Tool implementations │ │ ├── base.py # Base tool class │ │ ├── registry.py # Tool registration │ │ └── implementations/ # Tool implementations │ └── utils/ # HTTP client and utilities ├── tests/ # Unit and integration tests └── pyproject.toml # Package definition and entry points

Authentication

All servers use OAuth2 client credentials flow with automatic token management:

  • Tokens are cached and automatically refreshed
  • Thread-safe token management
  • Configurable retry logic with exponential backoff
Logging

Servers use structured logging with MCP protocol compliance:

  • stderr: Diagnostic logs (controlled by GREENLAKE_LOG_LEVEL)
  • File logging: Optional detailed logging to ~/.hpe/mcp-logs/
  • stdout: Reserved for JSON-RPC messages only

Security Considerations

  • Read-Only Access: All servers provide read-only API access by design
  • Credential Management: Never commit credentials to version control
  • Token Security: OAuth2 tokens are cached in memory only
  • Workspace Isolation: Operations are scoped to the configured workspace
  • HTTPS Only: All API communications use TLS encryption

Troubleshooting

Common Issues

Server won't start:

  • Verify all required environment variables are set
  • Check that uv is installed and dependencies are synced
  • Review stderr output for configuration errors

Authentication failures:

  • Verify client credentials are valid for your workspace
  • Ensure GREENLAKE_WORKSPACE_ID matches your credential scope
  • Check network connectivity to GreenLake APIs

MCP client connection issues:

  • Verify the cwd path in client configuration is correct
  • Check that the server starts successfully when run manually
  • Review client logs for specific error messages
Debug Logging

Enable detailed logging for troubleshooting:

export GREENLAKE_LOG_LEVEL=DEBUG

export GREENLAKE_FILE_LOGGING=true

Log files are written to: ~/.hpe/mcp-logs/{service-name}/

Getting Help

Gi

Only the beginning is shown; read the rest in the repo