Build Your First MCP App with Spring AI 2.1: A Weather Server, a Tool-Calling Client, and the Session API That Replaces ChatMemory

Your LLM knows a lot, but it does not know the weather in Toronto, the balance in your database, or the status of your build. The Model Context Protocol fixes that with one idea: the model asks for a tool by name, something on the other end runs it, and the result comes back as a message. The protocol is the same whether the tool is local or across the network, whether the client is Claude Desktop or your own Spring Boot service. It is the USB-C port for AI apps. ...

2026-11-21 · 16 min · Ramesh