Build Your First MCP Server with Spring Boot 4.1 and Spring AI 2.0 AI for developers and Programmers java MCP Spring AI by devs5003 - July 1, 2026July 2, 20260 Build Your First MCP Server with Spring Boot and Spring AI 2.0 Your Spring Boot services already hold years of business logic. The Model Context Protocol (MCP) is the protocol that lets AI models like Claude, GPT-4, or GitHub Copilot reach into those services and use them as callable tools. This tutorial shows you exactly how to build an MCP server using Spring Boot 4.1 and the brand-new Spring AI 2.0 GA (released June 2026). No prior AI experience needed. If you know Spring Boot, you are already most of the way there. (Java 21 + Spring Boot 4.1 + Spring AI 2.0) Spring AI 2.0.0 went GA on June 12, 2026, a major release that introduces the @McpTool/@McpResource annotation API, deprecates SSE transport