文章目录 1. 前言 2. 环境 3. 步骤 3.1 使用Spring Initalizer搭建项目 3.2 添加sse支持(依赖) 3.3 编写工具类 3.4 编写mcp 服务类 3.5 编写mcp 配置类...