Series
Spring AI for Java Developers
2 episodes, in order. The code builds on itself, so following from the start leaves you with a complete system rather than a pile of samples.
-
Spring AI and Claude: An MCP Support Agent Where Java Decides →
A Spring AI MCP server gives Claude payment tools. The model can look things up and ask for a refund; it cannot choose the customer, see a card number, approve a refund or move money. Four boundaries, each measured, and 12 tests that need no model.
-
Spring AI Refund Agent With No Approver: 4 Failures and the Java That Stops Them →
A Spring AI MCP server lets an agent refund anything under $20 with nobody approving it. Forty $19.99 refunds pass the check and $799.60 leaves. Four failures, each measured on real runs: the $20 loophole, the race, the lost answer and the kill switch, with the Java that bounds each one, the real agent transcripts and nine tests that need no model.