Spring-AI-MCP-Example

aakhalilian/Spring-AI-MCP-Example

3.2

If you are the rightful owner of Spring-AI-MCP-Example and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

This document provides a structured overview of a Model Context Protocol (MCP) server implementation using Spring AI, showcasing its architecture, features, and usage.

Tools

Functions exposed to the LLM to take actions

getWeather

Get current weather information for a city.

getTravelTips

Get travel recommendations and tips for a destination.

shouldPackUmbrella

Check if you should pack an umbrella based on weather.

compareWeather

Compare weather between two cities.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources