Spring MCP服务器
使用Spring AI的基本MCP服务。
跑
运行主java应用程序并检查运行端口。默认为8080。
然后运行```
MCP service Inspector
npx @modelcontextprotocol/inspector node build/index.js
```
1. Select Transport type - SSE
2. URL : http://localhost:8080/sse
3. Click Connect
您将在“工具”选项下看到方法 scheduleAppointment
您可以发送 Hospital name as param and recieve return result.
