jvm-mcp-server
55
The JVM MCP Server is a monitoring server for Java processes using Arthas and a Python interface, facilitating tasks like thread information retrieval, memory usage monitoring, and AI-driven performance analysis. It supports both local and remote monitoring of Java environments using SSH.
JVM MCP Server
A JVM monitoring MCP server based on Arthas offering a Python interface for Java process monitoring and analysis.
Features
- Automatic download and management of Arthas tools
- Support for local and remote Java process monitoring
- Java process list querying
- Real-time JVM thread information
- JVM memory usage monitoring
- Thread stack trace information
- Class loading information querying
- Support for class and method decompilation
- Method call monitoring
- Dynamic log level adjustment
- AI-driven JVM performance analysis
System Requirements
- Python 3.10+
- Java Runtime Environment (JRE) 8+
- Network connection
- SSH access for remote mode
Quick Start
- Start the server using
uv
in local or remote mode. - Integrate with Python code using
JvmMcpServer()
. - Configure and use MCP tools with or without a configuration file.