Skip to main content
Glama
dmc5179

RHACS MCP Server

by dmc5179

RHACS MCP Server

MCP (Model Context Protocol)-Server für die Red Hat Advanced Cluster Security for Kubernetes-API.

Bietet LLMs Zugriff auf alle 69 RHACS-API-Dienste (361 Endpunkte) über ein dynamisches Proxy-Muster — 6 Meta-Tools, die einem LLM ermöglichen, jeden RHACS-Endpunkt zu entdecken, zu inspizieren und aufzurufen.

Tools

Tool

Beschreibung

rhacs_list_services

Alle 69 API-Dienste mit Endpunktanzahl auflisten

rhacs_list_endpoints

Endpunkte für einen bestimmten Dienst auflisten

rhacs_get_endpoint_details

Vollständige Parameterspezifikation für einen Endpunkt abrufen

rhacs_get_model

Datenmodelldefinitionen nachschlagen (Felder, Enums)

rhacs_search_endpoints

Stichwortsuche über alle Endpunkte

rhacs_call_api

Einen RHACS-Central-API-Endpunkt aufrufen

Die ersten 5 Tools arbeiten offline auf Basis der mitgelieferten API-Spezifikation. Nur rhacs_call_api erfordert eine aktive Verbindung zu RHACS Central.

Related MCP server: Red Hat Lightspeed MCP

Schnellstart

# Install and build
npm install
npm run build

# Run (discovery tools work without env vars)
npm start

# With RHACS Central access
ROX_ENDPOINT=https://central.example.com:443 \
ROX_API_TOKEN=your-token \
npm start

Container

# Build
./build.sh

# Run
podman run -i --rm \
  -e ROX_ENDPOINT=https://central.example.com:443 \
  -e ROX_API_TOKEN=your-token \
  rhacs-mcp

Dokumentation

Projektstruktur

src/
  index.ts              # MCP server entry point
  api-client.ts         # HTTP client (auth, TLS, errors)
  registry.ts           # API spec loader and indexer
  types.ts              # TypeScript interfaces
  tools/                # 6 MCP tool implementations
api_spec/               # RHACS 4.10 API spec (69 services, 900 models)
docs/                   # Documentation
Containerfile           # Multi-stage UBI9 container build
podman-compose.yml      # Local testing config

Lizenz

Siehe LICENSE.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A generic MCP server that dynamically exposes any OpenAPI-documented REST API to LLMs by auto-discovering endpoints. It provides tools for exploring API capabilities and making authenticated requests directly through natural language interfaces.
    2
    11 npm
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    A lightweight, self-hosted MCP server that connects LLM-based agents to Red Hat Lightspeed services, enabling natural language querying of read-only (and optionally write) operations across Advisor, Image Builder, Inventory, Planning, Remediations, and Vulnerability services.
    45
    25
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for interacting with QUADS infrastructure systems via API, enabling resource management and automation through LLM applications.
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    MCP server for BeyondContainer platform, enabling LLMs to query clusters, nodes, workloads, images, monitoring, and security scans via 58 tools.
    1
    -