Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by xzq-xu • Analytics & Monitoring
A lightweight, zero-dependency MCP server that uses native JDK tools to monitor and diagnose Java applications locally or remotely.
List and inspect running Java processes and collect JVM basic information without installing instrumentation agents.
Remotely diagnose Java applications via SSH to obtain thread dumps, heap info, stack traces, and class structure for debugging and root-cause analysis.
Search/decompile classes, monitor method invocations, and manage logger levels to support automated troubleshooting and observability workflows.
JVM MCP Server exposes JVM monitoring and diagnostic capabilities (jps, jstack, jmap, jcmd, jstat, etc.) through a Multi-Agent Communication Protocol so AI agents can inspect Java processes without installing agents. It supports local and SSH-based remote execution, provides formatted outputs (threads, memory, class info, stack traces, decompilation, method search/monitoring, logger control) and is designed to be non-intrusive and highly compatible across JDK versions. The project is licensed MIT and intended to be lightweight with minimal resource impact. Core features and additional tooling are actively under development.
列出所有Java进程 Returns: List[Dict[str, str]]: 包含Java进程信息的列表,每个进程包含以下字段: - pid (str): 进程ID - name (str): 进程名称 - args (str): 进程参数
获取指定进程的线程信息 Args: pid (str): 进程ID,使用字符串形式(如:"12345")。 支持十进制和十六进制格式。 空字符串将返回错误信息。 Returns: Dict: 包含线程信息的字典,包含以下字段: - threads (List[Dict]): 线程信息列表 - thread_count (int): 线程数量 - raw_output (str): 原始输出 - timestamp (float): 时间戳 - success (bool): 是否成功 - error (Optional[str]): 错误信息
获取JVM基础信息 Args: pid (str): 进程ID,使用字符串形式(如:"12345")。 支持十进制和十六进制格式。 空字符串将返回错误信息。 Returns: Dict: 包含JVM信息的字典,包含以下字段: - raw_output (str): 原始输出 - timestamp (float): 时间戳 - success (bool): 是否成功 - error (Optional[str]): 错误信息
获取内存使用情况 Args: pid (str): 进程ID,使用字符串形式(如:"12345")。 支持十进制和十六进制格式。 空字符串将返回错误信息。 Returns: Dict: 包含内存信息的字典,包含以下字段: - raw_output (str): 原始输出 - timestamp (float): 时间戳 - success (bool): 是否成功 - error (Optional[str]): 错误信息
获取线程堆栈信息 Args: pid (str): 进程ID,使用字符串形式(如:"12345") thread_id (str): 线程ID,使用字符串形式。支持十六进制(如:"0x2c03") top_n (str): 显示前N个线程,使用字符串形式(如:"5"),默认值为"5" find_blocking (bool): 是否只查找阻塞线程(BLOCKED状态或等待锁的线程) interval (str): 采样间隔,使用字符串形式(如:"1000"表示1秒) show_all (bool): 是否显示所有信息 Returns: Dict: 包含线程堆栈信息的字典,包含以下字段: - threads (List[Dict]): 线程信息列表 - thread_count (int): 线程数量 - raw_output (str): 原始输出 - timestamp (float): 时间戳 - success (bool): 是否成功 - error (Optional[str]): 错误信息
Scores are informational only and provided “as is” without warranty. AgentHotspot assumes no liability for actions taken based on these ratings.