Spring MCP Server logo

Spring MCP Server

by ranjeet-floyd

A basic MCP service built using Spring-AI. It allows scheduling appointments by providing a hospital name as a parameter.

View on GitHub

Last updated: N/A

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.