spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

用SpringAI实现一个MCP Server,怎么接收客户端传递过来的env

Open baigod opened this issue 5 months ago • 11 comments
trafficstars

我用cursor的settings配置了一个mcp.json,配置如下:

Image

我的本地服务,使用SrpingAI的@Tool来注册工具,那么我这个工具怎么获取到cursor中配置的env参数PM-ID呢?

baigod avatar May 26 '25 09:05 baigod