spring-mcp-demo
0
The Spring MCP Server is a basic implementation of a Model Context Protocol server using Spring-AI, designed to run on a default port of 8080. It features a service inspector to connect via SSE and test specific functionalities like scheduling appointments.
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.