mcp-server-demo

oneinstepGO/mcp-server-demo

3.2

If you are the rightful owner of mcp-server-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This project demonstrates how to build a simple Model Context Protocol (MCP) server using Java, Spring Boot, and Spring AI, with communication via Server-Sent Events (SSE).

Tools

Functions exposed to the LLM to take actions

WeatherTool

Provides weather forecasts and alerts.

SimpleTool

Offers echo, simple math, and timestamp functionalities.

JsonTool

Converts JSON strings to Java class code and outputs example JSON strings.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources