Glowroot MCP Server
An MCP (Model Context Protocol) server that enables AI assistants to analyze Java application traces captured by Glowroot, an open-source APM tool.
Features
- list_recent_errors — List recent errors within a time window
- analyze_trace — Deep-dive into a specific trace with execution tree and stack traces
- find_timeout_errors — Find timeout-related errors (SocketTimeoutException, etc.)
- analyze_error_patterns — Group errors by transaction and identify the most affected
- get_error_by_message — Search errors by message text (e.g. "NullPointerException")
Installation
pipx install glowroot-mcp-server
Or with pip:
pip install glowroot-mcp-server
Configuration
Set environment variables or create a .env file:
GLOWROOT_URL=http://localhost:4000
GLOWROOT_AGENT_ID=
| Variable | Description | Default |
|---|---|---|
GLOWROOT_URL |
Base URL of the Glowroot instance | http://localhost:4000 |
GLOWROOT_AGENT_ID |
Agent ID for multi-agent setups | empty (single agent) |
Usage
As a standalone server
glowroot-mcp
With Claude Desktop / Kiro
Add to your MCP configuration:
{
"mcpServers": {
"glowroot": {
"command": "glowroot-mcp",
"env": {
"GLOWROOT_URL": "http://localhost:4000",
"GLOWROOT_AGENT_ID": ""
}
}
}
}
With pipx
If installed via pipx, the glowroot-mcp command is available globally:
{
"mcpServers": {
"glowroot": {
"command": "glowroot-mcp",
"env": {
"GLOWROOT_URL": "http://localhost:4000"
}
}
}
}
Requirements
- Python 3.10+
- A running Glowroot instance monitoring your Java application
License
MIT
Metadata
Release files for glowroot-mcp-server 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| glowroot_mcp_server-0.1.0.tar.gz | 23.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| glowroot_mcp_server-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.8 kB
Release files / glowroot_mcp_server-0.1.0.tar.gz
| Download URL | glowroot_mcp_server-0.1.0.tar.gz |
|---|---|
| Size | 23.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4be4189814fe4ae1829e20d985006560fc9b84acf655daa772812f2771ecf02e
|
|
BLAKE2b-256 checksum How to use checksums |
fc6ed8f4a09b96829b5891ffbac5dcae8e8cb5c005f5db8efd48a7401fa80e7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / glowroot_mcp_server-0.1.0-py3-none-any.whl
| Download URL | glowroot_mcp_server-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d45a3bdaaf453121330ad10efb700b8aa96c1096a968af0e16ae3d680870cf1d
|
|
BLAKE2b-256 checksum How to use checksums |
a06a9c50896f2bc2a4b554eb7515d5be2f63f5195872eb1103c996ca352d4ed2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|