サーバー
Spring MCP Server
@ranjeet-floyd
MCP server using Spring-AI
概要
What is Spring MCP Server?
A basic MCP (Model Context Protocol) server built with Spring-AI that exposes a single tool (scheduleAppointment) via SSE transport, aimed at developers integrating appointment scheduling into MCP‑compatible applications.
How to use Spring MCP Server?
Run the main Java application (default port 8080). Then launch the MCP inspector: npx @modelcontextprotocol/inspector node build/index.js. In the inspector, select SSE transport, enter http://localhost:8080/sse, connect, and use the scheduleAppointment tool with a hospital name parameter.
Key features of Spring MCP Server
- Built with Spring-AI for MCP integration
- Exposes a single tool:
scheduleAppointment - Uses SSE (Server‑Sent Events) transport
- Default port 8080
- Accepts hospital name as input parameter
Use cases of Spring MCP Server
- Schedule an appointment at a specified hospital
- Integration test of an MCP server using the inspector tool
FAQ from Spring MCP Server
—