Skip to main content
Glama
dmc5179

RHACS MCP Server

by dmc5179

RHACS MCP Server

MCP-сервер (Model Context Protocol) для API Red Hat Advanced Cluster Security for Kubernetes.

Предоставляет LLM доступ ко всем 69 сервисам API RHACS (361 конечная точка) через динамический прокси-паттерн — 6 мета-инструментов, которые позволяют LLM обнаруживать, просматривать и вызывать любую конечную точку RHACS.

Инструменты

Инструмент

Описание

rhacs_list_services

Список всех 69 сервисов API с количеством конечных точек

rhacs_list_endpoints

Список конечных точек для конкретного сервиса

rhacs_get_endpoint_details

Полная спецификация параметров для конечной точки

rhacs_get_model

Поиск определений моделей данных (поля, перечисления)

rhacs_search_endpoints

Поиск по ключевым словам по всем конечным точкам

rhacs_call_api

Вызов конечной точки API RHACS Central

Первые 5 инструментов работают офлайн с встроенной спецификацией API. Только rhacs_call_api требует активного подключения к RHACS Central.

Related MCP server: Red Hat Lightspeed MCP

Быстрый старт

# 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

Контейнер

# Build
./build.sh

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

Документация

Структура проекта

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

Лицензия

См. 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
    -