Generative AI Superpowers

Building and using Model Context Protocol in Java with Spring AI

Thursday, 11:00 AM MDT

In this example-driven session, you'll learn how to build an MCP server in Java using Spring AI, integrate it with clients such as Claude Code and Cursor, and even create your own MCP clients.

On their own, Large Language Models (LLMs) are only able to generate responses based on their training. While their training may be vast, it will not include any actual data from your organization's databases and systems. What's more, an LLM may be able to answer questions, they are unable to actually interact with your enterprise and take action.

Enter Model Context Protocol (MCP). MCP defines a standard with which you can collection a set of related tools, prompts, and resources and make those available to an LLM to make use of. With MCP, your LLMs will be able to interact with databases, APIs, and other components in your enterprise to get things done.

Building and using MCP in Java has never been easier than it is now with Spring AI. Spring AI introduced support for MCP in its 1.0 release and improved upon it tremendously in Spring AI 1.1.

About Craig Walls

Craig Walls

Craig Walls is a Principal Engineer, Java Champion, Alexa Champion, and the author of Spring AI in Action, Spring in Action, and Build Talking Apps. He's a zealous promoter of the Spring Framework, speaking frequently at local user groups and conferences and writing about Spring. When he's not slinging code, Craig is planning his next trip to Disney World or Disneyland and spending as much time as he can with his wife, two daughters, 1 bird and 2 dogs.

More About Craig »