Note di rilascio

Centreon MCP ServerBeta

Supervisiona Centreon dal tuo assistente IA: il server MCP espone il monitoraggio in tempo reale come strumenti per qualsiasi client Model Context Protocol (Claude, IDE, agenti). Legge lo stato live e riconosce gli allarmi; non modifica la configurazione.

Cosa sa fare il tuo assistente

Stato in tempo reale

Interroga lo stato live di host e servizi, con contatori per stato.

Riconoscimento degli allarmi

Riconosci un problema di host o servizio con un commento, direttamente dall’assistente.

Filtri di ricerca avanzati

Gli stessi filtri logici dell’API Centreon ($and, $or, regex) per puntare esattamente alle risorse giuste.

Funziona con le grandi piattaforme IA

Claude (Desktop, Code)ChatGPT / OpenAIGoogle GeminiMicrosoft CopilotMistral Le ChatCursorVS Code

MCP è uno standard aperto: qualsiasi client compatibile Model Context Protocol può collegarsi a questo server.

Prerequisiti

  • Python 3.13+ (or Docker)
  • A Centreon instance reachable from the MCP server
  • A personal API token (Configuration > Users > API tokens)

Distribuire il server

git clone https://github.com/CentreonLabs/centreon-mcp.git
cd centreon-mcp
# .env: CENTREON_BASE_URL, CENTREON_API_TOKEN, MCP_API_KEY, NGROK_AUTHTOKEN
docker compose up --build
# -> MCP server on :8000, ngrok tunnel, web UI on :4040
git clone https://github.com/CentreonLabs/centreon-mcp.git
cd centreon-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e .
# .env: CENTREON_BASE_URL, CENTREON_API_TOKEN, MCP_API_KEY
fastmcp run centreon_mcp/main.py
git clone https://github.com/CentreonLabs/centreon-mcp.git
cd centreon-mcp
uv sync --all-groups
# .env: CENTREON_BASE_URL, CENTREON_API_TOKEN, MCP_API_KEY
uv run fastmcp run centreon_mcp/main.py

Variabili d’ambiente (.env)

CENTREON_BASE_URL*Centreon server URL (without /api/latest)
CENTREON_API_TOKEN*Personal API token (Configuration > Users > API tokens)
MCP_API_KEY*Bearer token clients must send to the MCP server
CENTREON_VERIFY_SSLSSL certificate verification (default: true)
CENTREON_CA_BUNDLEPath to a custom CA bundle (internal PKI)
NGROK_AUTHTOKENngrok token (compose.yaml deployment only)

* variabile obbligatoria

Collegare il client MCP

Punta il tuo client MCP (Claude Desktop, IDE, agente...) all’URL del server con l’header Authorization:

{
  "mcpServers": {
    "centreon": {
      "url": "https://your-mcp-host:8000/mcp",
      "headers": { "Authorization": "Bearer your-mcp-api-key" }
    }
  }
}

Strumenti disponibili

  • get_realtime_status (live status of a host or service)
  • list_all_status (states overview with counters, regex filters)
  • acknowledge_resource (acknowledge a problem with a comment)

Beta: strumenti e interfacce possono cambiare senza preavviso. I feedback sono benvenuti sul repository GitHub.

Migliora la tua esperienza digitale

Distribuisci i tuoi progetti di log management

Contatti