SuperAPIAI Directory

spring-runtime-mcp

github.com · AI developer platforms

spring-runtime-mcp is a read-only diagnostic server based on MCP that enables coding assistants to read the runtime state of local Spring Boot applications. Through authorized Actuator and OpenAPI data, it provides eight default MCP tools for troubleshooting issues such as missing beans, unregistered routes, and slow startup. The server connects only to loopback addresses, uses fixed endpoints, supports optional Bearer authentication, sanitizes output, and caps each response at 16 KiB; it does not write to the target application, restart the application, or read heap dumps or raw logs.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

Purpose: spring-runtime-mcp is aimed at coding agents and provides read-only, sanitized runtime diagnostic capabilities for local Spring Boot applications via the MCP protocol. Using authorized Actuator and OpenAPI data, it helps locate issues such as missing beans, unregistered routes, and slow startup.

Key capabilities: It provides eight default MCP tools covering diagnostic dimensions such as beans, conditions, routes, health, migrations, startup, configuration, OpenAPI, and drift. For example, you can ask "check whether GET /orders/{id} is registered and tell me which Controller handles it"; the server reads mapping metadata without invoking business endpoints.

Usage: Requires Python 3.11+, uv, and permission to read the local Spring Boot application's management endpoints. The commands given in the material are based on version 0.2.15 Alpha; the second command serves as the STDIO server command for MCP clients and will wait for client requests in the terminal. The material also mentions a synthetic route demo that requires no Spring Boot application, using public packages and bundled data to show which controller handles a route, and can run without a Spring process or MCP client.

Security and limitations: The server connects only to loopback addresses, uses fixed endpoints, and supports optional Bearer authentication over verified HTTPS via named environment variables. OpenAPI uses /actuator/openapi. Configuration diagnostics are disabled by default and must be explicitly enabled via CLI flags (--config-prefix, --config-property, --config-profiles); once enabled, values remain hidden unless --config-allow-values is also set and the tool parameter includeValues=true. Output is sanitized, each tool response is capped at 16 KiB, and missing evidence is reported as partial / unknown. The tools do not write to the target, restart the application, or read heap dumps or raw logs. The full Boot/Java/client matrix, Windows/macOS and production cluster compatibility have not yet been verified.

Applicable scenarios: Suitable for developers in local development and debugging phases, allowing coding assistants to quickly query Spring Boot runtime state and assist in troubleshooting issues such as missing beans, unregistered routes, and startup performance.

Limitations: Only targets local loopback addresses; configuration diagnostics must be explicitly enabled; some compatibility is unverified; no write or restart capabilities are provided.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools