JVM MCP サーバー
Arthas に基づく JVM 監視 MCP サーバー実装。Java プロセスを監視および分析するためのシンプルで使いやすい Python インターフェイスを提供します。
特徴
Arthasツールの自動ダウンロードと管理
ローカルおよびリモートのJavaプロセス監視のサポート
Javaプロセスリストのクエリ
リアルタイム JVM スレッド情報
JVM メモリ使用量の監視
スレッドスタックトレース情報
クラスロード情報のクエリ
クラスとメソッドのデコンパイルのサポート
メソッド呼び出しの監視
動的なログレベル調整
AI駆動型JVMパフォーマンス分析
システム要件
Python 3.10以上
Java ランタイム環境 (JRE) 8 以上
ネットワーク接続(Arthasのダウンロード用)
ターゲット サーバーへの SSH アクセス (リモート モードを使用している場合)
インストールと環境設定
1. UVツールをインストールする
2. プロジェクトのクローンを作成する
3. uvを使ってプロジェクト環境を初期化する
4. 環境変数を設定する(リモート接続の場合はオプション)
.envファイルを作成し、次の構成を追加します。
クイックスタート
uv を使用してサーバーを起動します。
Python コードでの使用:
MCP ツールの使用:
設定ファイルの使用:
構成ファイルを使用せずに、システム環境変数を読み取ります。存在しない場合は、ローカル スレッドを監視します。
利用可能なツール
重要な注意事項
実行環境にJavaがインストールされていることを確認する
Arthas ツールは初回実行時に自動的にダウンロードされます (arthas はホーム ディレクトリにダウンロードされます。事前にダウンロードして arthas-boot.jar という名前を付けることもできます)
対象のJavaプロセスへのアクセス権限が必要です
リモートモードではSSHアクセスと適切なユーザー権限が必要です
開発環境での使用が推奨されますが、本番環境での使用は慎重に評価する必要があります。
フィードバック
問題が発生した場合は、問題またはプル リクエストを送信してください。
ライセンス
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
Arthas をベースにした JVM 監視および制御プラットフォーム サーバー。スレッド分析、メモリ監視、パフォーマンス診断の機能を備えた Java プロセスを監視および分析するための Python インターフェイスを提供します。
Related Resources
Related MCP Servers
- -security-license-qualityA Python-based server allowing seamless integration with JIRA for managing and interacting with projects through custom APIs.Last updated -4Apache 2.0
- Asecurity-licenseAqualityA lightweight server that provides real-time system information including CPU, memory, disk, and GPU statistics for monitoring and diagnostic purposes.Last updated -1MIT License
- Asecurity-licenseAqualityA server monitoring and inspection tool collection that provides remote utilities for checking network interfaces, service statuses, and firewall configurations on servers.Last updated -1937MIT License
- -security-license-qualityAn advanced system monitoring solution that uses unsupervised machine learning algorithms to detect abnormal resource usage patterns in real-time, with features including anomaly detection, process analysis, and Discord integration.Last updated -1