feat: 新增mcp server

This commit is contained in:
2026-08-18 00:00:46 +08:00
parent 202926180a
commit 964f516ade
21 changed files with 688 additions and 14 deletions
+14
View File
@@ -25,6 +25,8 @@
<httpclient.version>4.5.14</httpclient.version>
<!-- 拼多多 POP SDK(项目内 libs/repo,非 Maven Central) -->
<pop-sdk.version>1.25.34</pop-sdk.version>
<!-- Spring AI 1.x(Boot 3.5);MCP Server 用,暂不上 2.x/Boot4 -->
<spring-ai.version>1.1.8</spring-ai.version>
</properties>
<!-- 本地第三方 jar 仓库(拼多多等未上架中央仓库的 SDK) -->
@@ -43,6 +45,13 @@
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-bom</artifactId>
<version>${spring-ai.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
@@ -64,6 +73,11 @@
<artifactId>spring-boot-properties-migrator</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Agent 能力面:MCP Server(WebMVC / STREAMABLE) -->
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-starter-mcp-server-webmvc</artifactId>
</dependency>
<!--MySQL数据库连接器-->
<dependency>
<groupId>com.mysql</groupId>