# Greenlake Users MCP

> Greenlake Users MCP is an open-source MCP server. Read-only MCP server giving AI assistants access to HPE GreenLake users and access data. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, self-hosted
- **Repository:** https://github.com/hewlettpackard/gl-mcp
- **MCP Registry name:** io.github.HewlettPackard/greenlake-users-mcp
- **Listing updated:** 2026-11-18

## About

The Users server is one of several MCP servers in the gl-mcp repository that connect AI assistants to HPE GreenLake platform APIs. It focuses on user account and access management in a GreenLake workspace, letting an assistant list and look up users, review their permissions, and follow user activity through natural language requests.

The server runs over stdio and authenticates to GreenLake with OAuth2 client credentials, using a workspace ID and client ID and secret. Tokens are cached and refreshed automatically. The README says it can expose either one tool per endpoint (static mode) or three generic meta-tools for discovering and invoking endpoints (dynamic mode), selected with an environment variable.

The package is aimed at administrators and developers who manage HPE GreenLake workspaces and want to query user information from an MCP-compatible client. According to the README, all servers in the collection are read-only by design.

## Features

- **Read-only user queries:** Lists and queries user accounts in a GreenLake workspace without modifying them, according to the README.
- **OAuth2 client credentials:** Authenticates with GreenLake using workspace client credentials and refreshes cached tokens automatically.
- **Static and dynamic tool modes:** Exposes either individual tools per endpoint or three meta-tools for endpoint discovery and invocation.
- **Stdio transport:** Runs as a local process that communicates with MCP clients over JSON-RPC on stdio.
- **Configurable logging:** Writes diagnostic logs to stderr with optional file logging controlled by environment variables.

## Good for

- Listing users in an HPE GreenLake workspace from an AI assistant
- Reviewing the permissions assigned to a user account
- Checking recent user activity alongside audit information
- Auditing access controls through natural language questions

## Install

### Claude Code (Terminal)

```sh
claude mcp add greenlake-users-mcp -- uvx greenlake-users-mcp
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## FAQ

### Can this server change user accounts?

The README states that all servers in the repository provide read-only API access by design.

### What credentials are needed?

The README lists a GreenLake API base URL, client ID, client secret and workspace ID as required environment variables.

### Which Python versions are supported?

The README says Python 3.10 through 3.12 are supported, with 3.11 and 3.12 recommended.

### What license does it use?

The README says the project is licensed under Apache 2.0.

### Is Greenlake Users MCP free?

Yes. Greenlake Users MCP is open source, so you can use and self-host it for free.

### How do I add Greenlake Users MCP to Claude Code?

Run this command in your terminal: claude mcp add greenlake-users-mcp -- uvx greenlake-users-mcp

### What are the best alternatives to Greenlake Users MCP?

The closest alternatives to Greenlake Users MCP are Greenlake Workspaces MCP, Greenlake Subscriptions MCP, Greenlake Reporting MCP and Greenlake Devices MCP.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Greenlake Workspaces MCP](https://ai-powered.com/mcp/greenlake-workspaces-mcp): Greenlake Workspaces MCP is an open-source MCP server for cloud and infrastructure.
- [Greenlake Subscriptions MCP](https://ai-powered.com/mcp/greenlake-subscriptions-mcp): Greenlake Subscriptions MCP is an open-source MCP server for cloud and infrastructure.
- [Greenlake Reporting MCP](https://ai-powered.com/mcp/greenlake-reporting-mcp): Greenlake Reporting MCP is an open-source MCP server for analytics and data.
- [Greenlake Devices MCP](https://ai-powered.com/mcp/greenlake-devices-mcp): Greenlake Devices MCP is an open-source MCP server for cloud and infrastructure.

---
Source: https://ai-powered.com/mcp/greenlake-users-mcp
