This repository demonstrates Spring AI's integration with the Model Context Protocol (MCP) using Spring Boot, showcasing both server and client implementations for services like geocoding and timezone retrieval, enabling LLM interaction.
This project demonstrates the integration of Spring AI's Model Context Protocol (MCP) support within Spring Boot applications, showcasing both server and client implementations.
MCP standardizes contextual interaction management in AI models, enabling consistent integration with external data sources. Spring AI MCP extends the MCP Java SDK, providing Spring Boot starters for clients and servers. The MCP client manages communication with MCP servers. This project builds MCP servers using Spring AI, exposing their capabilities to LLMs, specifically Llama3.2
via Ollama
, which supports TOOLS.
This project includes three modules:
oalles/spring-ai-mcp-test
March 18, 2025
March 25, 2025
Java