基本能力
产品定位
Spring AI MCP server 是一个用于访问 Spring 项目信息的 MCP 服务器,主要服务于开发者和团队,帮助他们快速获取 Spring 项目的版本和支持信息。
核心功能
- 提供 Spring 项目的发布版本信息。
- 提供 Spring 项目的支持代际信息。
- 支持通过 MCP 协议查询 Spring 项目的版本和支持状态。
适用场景
- 开发者需要查询 Spring 项目的发布版本信息。
- 团队需要了解 Spring 项目的支持状态,以便制定升级计划。
- 自动化工具需要集成 Spring 项目的版本信息。
工具列表
- MCP 客户端:用于连接和查询 MCP 服务器的工具,支持通过命令行或集成开发环境(如 VSCode)使用。
常见问题解答
- 如何配置 MCP 客户端?
在 MCP 客户端配置中添加如下配置:
json
"spring-project-information": {
"command": "java",
"args": [
"-Dtransport.mode=stdio",
"-Dspring.main.web-application-type=none",
"-Dlogging.file.name=/spring-io-api-mcp.log",
"-jar",
"<path-to-project>/target/spring-io-api-mcp-0.0.1-SNAPSHOT.jar"
]
}
使用教程
使用依赖
- 确保已安装 Java 运行环境。
安装教程
- 克隆项目代码。
- 使用以下命令构建项目:
bash
./mwnw clean package
调试方式
- 启动 MCP 服务器后,可以通过 MCP 客户端发送查询请求,例如:
Which versions of the spring-boot project got released?
What is the latest version of the spring-boot project that got released?
Until when is the latest version of spring-boot supported in the open-source?
Until when is spring-boot 2.7.x supported in the open-source?
Can you tell me if spring-data-core will have an updated release within the next 90 days