Centreon MCP Serverベータ
AIアシスタントからCentreonを監視:MCPサーバーはリアルタイム監視をModel Context Protocolクライアント(Claude、IDE、エージェント)向けのツールとして公開します。稼働状態の読み取りとアラート承認のみで、設定は変更しません。
アシスタントができること
リアルタイムステータス
ホストとサービスの稼働状態を状態別カウンター付きで照会します。
アラートの承認
アシスタントから直接、コメント付きでホストやサービスの問題を承認します。
高度な検索フィルター
Centreon API と同じ論理フィルター($and、$or、正規表現)で対象リソースを正確に指定できます。
主要な AI プラットフォームに対応
Claude (Desktop, Code)ChatGPT / OpenAIGoogle GeminiMicrosoft CopilotMistral Le ChatCursorVS Code
MCP はオープン標準です。Model Context Protocol 対応クライアントならこのサーバーに接続できます。
前提条件
- Python 3.13+ (or Docker)
- A Centreon instance reachable from the MCP server
- A personal API token (Configuration > Users > API tokens)
サーバーのデプロイ
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 :4040git 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.pygit 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環境変数(.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_SSL | SSL certificate verification (default: true) |
| CENTREON_CA_BUNDLE | Path to a custom CA bundle (internal PKI) |
| NGROK_AUTHTOKEN | ngrok token (compose.yaml deployment only) |
* 必須の変数
MCPクライアントの接続
MCPクライアント(Claude Desktop、IDE、エージェントなど)をAuthorizationヘッダー付きでサーバーURLに接続してください:
{
"mcpServers": {
"centreon": {
"url": "https://your-mcp-host:8000/mcp",
"headers": { "Authorization": "Bearer your-mcp-api-key" }
}
}
}利用可能なツール
- 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)
ベータ版:ツールやインターフェースは予告なく変更される場合があります。フィードバックはGitHubリポジトリへお寄せください。