MCP Spring Boot Actuator
Analyzes Spring Boot Actuator endpoints for health, metrics, environment, beans, startup, caches, and loggers, detecting health issues, security risks, performance problems, startup bottlenecks, cache misconfigurations, and verbose logging.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Spring Boot Actuator Analyze this health endpoint JSON for DOWN components and disk space issues"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Spring Boot Actuator
An MCP server that analyzes Spring Boot Actuator endpoints — health, metrics, environment, beans, startup, and caches. Detects issues, security risks, and provides actionable recommendations.
Why This Tool?
There is no other MCP server that analyzes Spring Boot Actuator endpoints. This is the only tool that lets your AI assistant understand your Spring Boot application's health, performance, configuration, and startup behavior through actuator data.
7 analytical tools turn raw actuator JSON into actionable diagnostics — health checks, JVM metrics analysis, security risk detection in environment/beans, startup bottleneck identification, and cache efficiency analysis.
Related MCP server: Spring Toolkit MCP
Pro Tier
Generate exportable diagnostic reports (HTML + PDF) with a Pro license key.
Full JVM thread dump analysis report with actionable recommendations
PDF export for sharing with your team
Priority support
$9.00/month — Get Pro License
Pro license key activates the generate_report MCP tool in mcp-jvm-diagnostics.
Tools (7)
analyze_health
Parse and diagnose the /health endpoint response. Detects unhealthy components (database, Redis, Kafka, Elasticsearch, disk space) with component-specific recommendations.
curl http://localhost:8080/actuator/health | jq '.' > health.jsonDetects:
DOWN/OUT_OF_SERVICE components
Low disk space warnings (< 15% free)
Nested component health (e.g., primary/secondary databases)
Restricted health endpoints (no
show-details)
analyze_metrics
Analyze JVM, HTTP, and database pool metrics from /metrics endpoints.
# Collect metrics into a single JSON object:
{
"jvm.memory.used": 800000000,
"jvm.memory.max": 1000000000,
"jvm.threads.live": 150,
"jvm.gc.pause.count": 500,
"jvm.gc.pause.total": 8.5,
"http.server.requests.count": 10000,
"http.server.requests.error.count": 50,
"hikaricp.connections.active": 8,
"hikaricp.connections.max": 10
}Detects:
Heap utilization >= 90% (CRITICAL) or > 75% (WARNING)
High thread count (> 500)
Long GC pauses (avg > 200ms)
HTTP error rate > 10% (CRITICAL) or > 1% (WARNING)
Connection pool exhaustion >= 90% (CRITICAL)
Pending connection requests
Supports both flat metric values and Spring Boot measurement format ({ measurements: [{ statistic: "VALUE", value: N }] }).
analyze_env
Analyze the /env endpoint for security risks and misconfigurations.
curl http://localhost:8080/actuator/env | jq '.' > env.jsonDetects:
Exposed secrets (passwords, API keys, tokens not masked with
******)Risky production configs:
ddl-auto: create-drop, H2 console enabled,show-sql: trueDevTools enabled in production
All actuator endpoints exposed (
management.endpoints.web.exposure.include=*)Missing Spring profiles (no active profiles set)
analyze_beans
Analyze the /beans endpoint for architectural issues.
curl http://localhost:8080/actuator/beans | jq '.' > beans.jsonDetects:
Circular dependencies (A → B → A)
Singleton beans depending on prototype-scoped beans (scope mismatch)
Beans with > 10 dependencies (God objects)
Large bean counts (> 500)
Multiple application contexts
analyze_startup
Analyze the /startup actuator endpoint (Spring Boot 3.2+). Parses the startup timeline to detect slow bean initialization and heavy auto-configurations.
curl -X POST http://localhost:8080/actuator/startup | jq '.' > startup.jsonParameters:
json— The/startupendpoint JSON response
Detects:
Slow startup (> 30s CRITICAL, > 15s WARNING)
Heavy auto-configurations consuming > 30% of startup time
Slow bean initialization (> 2s per bean)
Top slowest steps ranked by duration
analyze_caches
Analyze the /caches actuator endpoint. Lists registered caches and detects configuration issues.
curl http://localhost:8080/actuator/caches | jq '.' > caches.jsonParameters:
json— The/cachesendpoint JSON response
Detects:
Unbounded
ConcurrentMapCacheusage (no eviction, will grow indefinitely)Too many caches (> 20, memory overhead)
Missing cache managers (no Spring Cache configured)
Empty cache registrations
analyze_loggers
Analyze the /loggers actuator endpoint. Detects verbose logging configurations that impact performance and security in production.
curl http://localhost:8080/actuator/loggers | jq '.' > loggers.jsonParameters:
json— The/loggersendpoint JSON response
Detects:
ROOT logger set to DEBUG/TRACE (floods logs, degrades performance)
Explicitly configured DEBUG/TRACE loggers (likely leftover from debugging)
Verbose framework logging (Spring, Hibernate, HikariCP, Micrometer, Apache)
Inconsistent log levels across related packages
More than 5 verbose loggers (signs of leftover debug configuration)
Installation
npm install -g mcp-spring-boot-actuatorOr use directly with npx:
npx mcp-spring-boot-actuatorConfiguration
Claude Desktop
Add to your Claude Desktop config (~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"spring-boot-actuator": {
"command": "npx",
"args": ["-y", "mcp-spring-boot-actuator"]
}
}
}Quick Demo
Once configured, try these prompts in Claude:
"Check the health of my Spring Boot app: [paste /actuator/health JSON]" — Detects DOWN components, low disk space, and provides component-specific recommendations
"Are there any security risks in my config? [paste /actuator/env JSON]" — Finds exposed secrets, risky settings like
ddl-auto: create-drop, and over-exposed endpoints"How is my app performing? [paste JVM/HTTP metrics]" — Analyzes heap usage, GC pressure, HTTP error rates, and connection pool utilization
"Why is my app starting so slowly?" (paste
/actuator/startupJSON)"Are my caches configured properly?" (paste
/actuator/cachesJSON)
Requirements
Node.js 18+
Spring Boot application with Actuator endpoints enabled
Part of the MCP Java Backend Suite
mcp-db-analyzer — PostgreSQL/MySQL/SQLite schema analysis
mcp-jvm-diagnostics — Thread dump and GC log analysis
mcp-redis-diagnostics — Redis memory, slowlog, and client diagnostics
mcp-migration-advisor — Flyway/Liquibase migration risk analysis
Limitations & Known Issues
Actuator endpoints must be exposed: Spring Boot secures actuator endpoints by default. You must explicitly expose endpoints via
management.endpoints.web.exposure.include.Startup analysis: Requires Spring Boot 3.2+ with
management.endpoint.startup.enabled=true. Older versions don't provide startup timing data.Single instance: Analyzes one application instance at a time. For clustered applications, point to each instance separately.
Metric accumulation: Some metrics (HTTP request counts, error rates) require traffic to accumulate data. A freshly started app may show zeros.
Environment masking: Spring Boot masks sensitive properties by default. The
analyze_envtool sees masked values (e.g.,******) and cannot detect actual credential exposure in masked properties.Custom health indicators: The tool recognizes standard health indicator patterns. Custom health indicators with non-standard status values may not trigger specific recommendations.
Cache analysis: Supports ConcurrentMapCache, Caffeine, Redis, and EhCache. Other cache providers may show limited analysis.
Non-JSON responses: Handles HTML error pages (401, 403, 500) gracefully with "Invalid JSON" warnings, but cannot extract useful data from them.
Circular dependency depth: Detects cycles of any length, including multi-hop chains (A→B→C→A).
License
MIT
End-of-life: 2026-05-10.
This MCP server is no longer maintained or distributed. The Corporation
has pivoted to Apify marketplace actors. See
irrationalways on Apify and
irrcorp/bzp-poland-tenders for current Corporation work.
The npm package has been unpublished. The repository is archived for historical reference only.
Available Tools
7 toolsanalyze_beansB
Analyze Spring Boot Actuator /beans endpoint response. Detects circular dependencies, scope mismatches, and bean architecture issues.
Inputs: json (required).
analyze_cachesA
Analyze Spring Boot Actuator /caches endpoint. Lists registered caches, detects unbounded caches (memory leak risk), and identifies cache configuration issues.
Inputs: json (required).
analyze_envA
Analyze Spring Boot Actuator /env endpoint response. Detects exposed secrets, risky configurations, and missing production settings.
Inputs: json (required).
analyze_healthA
Analyze a Spring Boot Actuator /health endpoint response. Diagnoses unhealthy components and provides recommendations.
Inputs: json (required).
analyze_loggersB
Analyze Spring Boot /loggers endpoint response. Detects DEBUG/TRACE in production, inconsistent log levels across packages, and verbose framework logging.
Inputs: json (required).
analyze_metricsA
Analyze Spring Boot Actuator metrics data. Detects JVM heap pressure, non-heap (metaspace) pressure, high error rates, connection pool exhaustion, and GC issues.
Inputs: json (required).
analyze_startupA
Analyze Spring Boot Actuator /startup endpoint (Spring Boot 3.2+). Detects slow bean initialization, heavy auto-configurations, and startup bottlenecks.
Inputs: json (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool maps to a single, clearly distinct Actuator endpoint (/startup, /caches, /loggers, /health, /metrics, /env, /beans), so an agent can pick the right one from the endpoint name alone. The only mild conceptual overlap (health vs. metrics both surfacing problems) is disambiguated by descriptions targeting different symptoms.
All seven tools follow an identical analyze_<endpoint> verb_noun pattern using snake_case. No mixed conventions or stray verbs.
Seven tools is well-scoped for an Actuator analysis server, with one tool per diagnostic endpoint and no filler or duplicate entry points. Each tool earns its place.
The surface covers the highest-value diagnostic endpoints (startup, metrics, health, env, beans, caches, loggers) with analysis for each. However, common Actuator diagnostics such as /threaddump, /heapdump, /configprops, /mappings, and scheduled tasks are absent, and there is no tool to discover which endpoints are exposed.
Maintenance
Related MCP Connectors
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Read-only production context for AI agents: Docker/K8s health, deploys, logs, traffic, code graph
Manage uptime monitors and incidents and search logs, metrics and traces from an AI assistant.
Read-only AI coding tools for change verification, release readiness, capacity, and guidance.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to understand and analyze Spring Boot codebases through static analysis, allowing natural language queries about endpoints, classes, dependencies, and architecture without running the application.13MIT
- AlicenseCqualityDmaintenanceA secure-by-default MCP server and CLI for AI agents to inspect Spring Boot repositories and interact with runtime Actuator endpoints, enabling code review, dependency scanning, and monitoring.44MIT
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to access live runtime observability data such as logs, deploys, and health metrics for evidence-based incident triage.1MIT
- AlicenseAqualityBmaintenanceEnables MCP-compatible AI assistants to inspect projects, processes, ports, logs, HTTP endpoints, Git state, and development databases for local runtime diagnostics.7MIT