Spring MCP Server
About
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.
Details
- Author
- ranjeet-floyd
- Downloads
- 318
- Categories
- Other, AI
Jump to
- 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
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.
Spring MCP Server
Basic MCP service using Spring-AI.RUN
Run main java application and check run port. default is 8080. Then Run ``
# MCP service Inspector
npx @modelcontextprotocol/inspector node build/index.js
1. Select Transport type - SSE
2. URL : http://localhost:8080/sse
3. Click Connect
You will see under Tools option, method
scheduleAppointment
You can send
Hospital name as param and recieve return result.``Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




