# Greenlake Audit Logs MCP

> Greenlake Audit Logs MCP is an open-source MCP server for security. Read-only MCP server letting AI assistants query HPE GreenLake audit logs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, self-hosted, Linux, macOS, Windows
- **Repository:** https://github.com/hewlettpackard/gl-mcp
- **MCP Registry name:** io.github.HewlettPackard/greenlake-audit-logs-mcp
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-18

## About

The README describes this as one server in a collection of HPE GreenLake MCP servers, focused on the audit logs service. It gives an AI assistant read-only access to GreenLake audit records so users can ask for entries by category, user, or timestamp in plain language.

It authenticates to the GreenLake API with OAuth2 client credentials for a given workspace, caches and refreshes tokens automatically, and communicates with MCP clients over stdio. Setup requires the workspace's API client ID, secret, and workspace ID, and the server runs from its own directory with uv.

The server suits platform, security, and compliance teams who run HPE GreenLake workspaces and want to investigate user activity and system events through an MCP-compatible assistant.

## Features

- **Read-only audit access:** Queries GreenLake audit logs without making changes to the workspace.
- **Filter by category and user:** Narrows audit records by category, user, and timestamp.
- **OAuth2 client credentials:** Authenticates with workspace credentials and refreshes tokens automatically.
- **Stdio transport:** Connects to any MCP-compatible client over standard input and output.
- **Static or dynamic tool modes:** Exposes either one tool per endpoint or three generic meta-tools, set by environment variable.

## Good for

- Reviewing which users performed actions in an HPE GreenLake workspace
- Investigating system events during a security or compliance review
- Asking an AI assistant natural-language questions about workspace activity history

## Install

### Claude Code (Terminal)

```sh
claude mcp add greenlake-audit-logs-mcp -- uvx greenlake-audit-logs-mcp
```

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

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

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

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

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

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

## FAQ

### Can this server modify GreenLake resources?

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

### What credentials are needed?

A GreenLake client ID, client secret, workspace ID, and the API base URL, set as environment variables.

### Which Python versions are supported?

The README lists Python 3.10 through 3.12.

### Is Greenlake Audit Logs MCP free?

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

### How do I add Greenlake Audit Logs MCP to Claude Code?

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

### What are the best alternatives to Greenlake Audit Logs MCP?

The closest alternatives to Greenlake Audit Logs MCP are Greenlake Users MCP, 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 Users MCP](https://ai-powered.com/mcp/greenlake-users-mcp): Greenlake Users MCP is an open-source MCP server.
- [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.
- [Correctover Audit MCP](https://ai-powered.com/mcp/correctover-audit-mcp): Correctover Audit MCP is an open-source MCP server for security.
- [mcp-agent-template](https://ai-powered.com/mcp/mcp-agent-template): mcp-agent-template is an open-source MCP server for security.
- [mcp-gatehouse](https://ai-powered.com/mcp/mcp-gatehouse): mcp-gatehouse is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/greenlake-audit-logs-mcp
