Legacy Java systems aren’t going away. But AI agents need structured interfaces.

A simple pattern works surprisingly well:

Run a Quarkus MCP server as a Kubernetes sidecar next to the legacy app.

No changes to the original code.
The sidecar translates REST APIs into MCP tools for agents.

Architecture + code examples here:

https://www.the-main-thread.com/p/legacy-java-ai-mcp-sidecar-quarkus

#Java #Quarkus #MCP #Kubernetes #AIagents #SoftwareArchitecture