
litmuschaos/litmus-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
LitmusChaos 3.x用の包括的なモデルコンテキストプロトコル(MCP)サーバー。Goで構築され、ClaudeのようなAIアシスタントがあなたの混乱エンジニアリングプラットフォームと相互作用できるようにします.
概要
LitmusChaos 3.x用の包括的なモデルコンテキストプロトコル(MCP)サーバー。Goで構築され、ClaudeのようなAIアシスタントがあなたの混乱エンジニアリングプラットフォームと相互作用できるようにします。 このサーバーは、自然言語の相互作用による混乱の実験、インフラ、環境、および弾性プローブを管理するための完全なインターフェイスを提供します。 - chaos実験の一覧と記述 - 実験をオンデマンドまたはスケジュールを介して実行 - 顆粒制御で実験の実行を停止する - リストとチャオスインフラストラクチャの詳細を取得する(以前エージェント/チャオス委任) - インフラストラクチャのヘルスとステータスを監視 - インストールマニフェストを生成 - 両方の名前空間とクラスタースコープの展開をサポート - 環境(PROD/NON PROD)の作成と管理 - 環境ベースのフィルタリングと操作によるインフラの整理 - 詳細な実験実行履歴とステータス - リアルタイムの実行監視 - 故障レベルの成功/失敗追跡 - 回復スコアの計算 - HTTP、コマンド、...
概要(AI 翻訳)
LitmusChaos 3.x用の包括的なモデルコンテキストプロトコル(MCP)サーバー。Goで構築され、ClaudeのようなAIアシスタントがあなたの混乱エンジニアリングプラットフォームと相互作用できるようにします。 このサーバーは、自然言語の相互作用による混乱の実験、インフラ、環境、および弾性プローブを管理するための完全なインターフェイスを提供します。
##特徴
🧪 Chaos Experiment Management
- チャオス実験のリストと記述
- 実験をオンデマンドまたはスケジュールを介して実行する
- 粒状制御による実験の停止
️️ インフラ操作
- リストとチャオスインフラの詳細を取得(以前エージェント/チャオス委任)
- インフラの健全性とステータスを監視
- インストールマニフェストを生成する
- 名前空間とクラスタースコープの展開の両方のサポート
- 環境の作成と管理(PROD/NON PROD)
- 環境によるインフラの整理
- 環境ベースのフィルタリングと操作
経験の実行追跡**
- 詳細な実験実行履歴とステータス
- リアルタイム実行監視
- 故障レベルの成功/失敗の追跡
- レジリエンススコア計算
ANSI レジリエンスプローブ
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
LitmusChaos MCP Server
A comprehensive Model Context Protocol (MCP) server for LitmusChaos 3.x, built in Go, enabling AI assistants like Claude to interact with your chaos engineering platform. This server provides a complete interface for managing chaos experiments, infrastructures, environments, and resilience probes through natural language interactions.
Features
🧪 Chaos Experiment Management
- List and describe chaos experiments
- Execute experiments on-demand or via schedules
- Stop running experiments with granular control
🏗️ Infrastructure Operations
- List and Get chaos infrastructure Details (formerly agents/chaos delegates)
- Monitor infrastructure health and status
- Generate installation manifests
- Support for both namespace and cluster-scoped deployments
🌍 Environment Organization
- Create and manage environments (PROD/NON_PROD)
- Organize infrastructures by environment
- Environment-based filtering and operations
📊 Experiment Execution Tracking
- Detailed experiment run history and status
- Real-time execution monitoring
- Fault-level success/failure tracking
- Resiliency score calculations
🔍 Resilience Probes
- HTTP, Command, Kubernetes, and Prometheus probes
- Plug-and-play probe architecture
- Steady-state validation during chaos
📚 ChaosHub Integration
- Browse available chaos faults
- Multiple hub support (Git and Remote)
- Fault categorization and discovery
📈 Statistics & Analytics
- Comprehensive experiment and infrastructure statistics
- Resiliency score distributions
- Run status breakdowns
Prerequisites
- Go 1.21 or higher
- Access to a LitmusChaos 3.x Chaos Center
- Valid project credentials
Installation
From Source
# Clone the repository
git clone https://github.com/yourusername/litmuschaos-mcp-server.git
cd litmuschaos-mcp-server
# Build the binary
make build
# Or install directly
make install
Using Go Install
go install github.com/yourusername/litmuschaos-mcp-server@latest
Using Docker
# Build the Docker image
make docker-build
# Run with Docker
docker run --rm -it \
-e CHAOS_CENTER_ENDPOINT=http://your-chaos-center:8080 \
-e LITMUS_PROJECT_ID=your-project-id \
-e LITMUS_ACCESS_TOKEN=your-token \
litmuschaos-mcp-server:latest
Configuration
Environment Variables
# Required Configuration
export CHAOS_CENTER_ENDPOINT=http://your-chaos-center:8080
export LITMUS_PROJECT_ID=your-project-id
export LITMUS_ACCESS_TOKEN=your-access-token
# Optional Defaults
export DEFAULT_INFRA_ID=your-default-infrastructure-id
export DEFAULT_ENVIRONMENT_ID=production
Getting Your Credentials
- Chaos Center Endpoint: URL of your LitmusChaos installation
- Project ID: Found in your Chaos Center project settings
- Access Token: Generate from Chaos Center → Settings → Access Tokens
Usage
With Claude Desktop
インストール
docker run --rm -it \設定
{
"mcpServers": {
"litmuschaos": {
"command": "/path/to/litmuschaos-mcp-server",
"env": {
"CHAOS_CENTER_ENDPOINT": "http://localhost:8080",
"LITMUS_PROJECT_ID": "your-project-id",
"LITMUS_ACCESS_TOKEN": "your-token"
}
}
}
}