pom.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>space.anyi</groupId>
  8. <artifactId>SpringAiAlibaba-learn</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <artifactId>mcp-server</artifactId>
  12. <description>
  13. 自定义的MCP Server,对外提供一个通过时区获取当前时间的tool
  14. </description>
  15. <properties>
  16. <maven.compiler.source>21</maven.compiler.source>
  17. <maven.compiler.target>21</maven.compiler.target>
  18. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  19. </properties>
  20. <dependencies>
  21. <!-- Source: https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-starter-mcp-server-webflux -->
  22. <dependency>
  23. <groupId>org.springframework.ai</groupId>
  24. <artifactId>spring-ai-starter-mcp-server-webflux</artifactId>
  25. <version>${spring.ai.version}</version>
  26. </dependency>
  27. <!-- Source: https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-web -->
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-webflux</artifactId>
  31. <version>${spring.boot.version}</version>
  32. </dependency>
  33. </dependencies>
  34. </project>