JVM MCP 서버
Arthas를 기반으로 한 JVM 모니터링 MCP 서버 구현으로, Java 프로세스를 모니터링하고 분석하기 위한 간단하고 사용하기 쉬운 Python 인터페이스를 제공합니다.
특징
- Arthas 도구의 자동 다운로드 및 관리 
- 로컬 및 원격 Java 프로세스 모니터링 지원 
- Java 프로세스 목록 쿼리 
- 실시간 JVM 스레드 정보 
- JVM 메모리 사용량 모니터링 
- 스레드 스택 추적 정보 
- 클래스 로딩 정보 쿼리 
- 클래스 및 메서드 디컴파일 지원 
- 메서드 호출 모니터링 
- 동적 로그 레벨 조정 
- AI 기반 JVM 성능 분석 
시스템 요구 사항
- 파이썬 3.10+ 
- 자바 런타임 환경(JRE) 8+ 
- 네트워크 연결(아서스 다운로드용) 
- 대상 서버에 대한 SSH 액세스(원격 모드를 사용하는 경우) 
설치 및 환경 설정
1. UV 도구 설치
지엑스피1
2. 프로젝트 복제
3. uv를 사용하여 프로젝트 환경 초기화
4. 환경 변수 구성(선택 사항, 원격 연결의 경우)
.env 파일을 만들고 다음 구성을 추가합니다.
빠른 시작
- uv를 사용하여 서버를 시작합니다. 
- Python 코드에서 사용: 
- MCP 도구 사용: 
구성 파일 사용:
구성 파일을 사용하지 않고 시스템 환경 변수를 읽고, 해당 변수가 없으면 로컬 스레드를 모니터링합니다.
사용 가능한 도구
중요 참고 사항
- 런타임 환경에 Java가 설치되어 있는지 확인하세요. 
- Arthas 도구는 첫 번째 실행 시 자동으로 다운로드됩니다(arthas는 홈 디렉토리에 다운로드되며, 미리 다운로드하여 arthas-boot.jar라는 이름으로 지정할 수 있음) 
- 대상 Java 프로세스에 대한 액세스 권한이 필요합니다. 
- 원격 모드에는 SSH 액세스 및 적절한 사용자 권한이 필요합니다. 
- 개발 환경에서의 사용을 권장하며, 실제 운영 환경에서의 사용은 신중하게 평가되어야 합니다. 
피드백
문제가 발생하면 이슈나 풀 리퀘스트를 제출해 주세요.
특허
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