From 88ee4befc4108f4a27c2ae5b9353237385bfcbdc Mon Sep 17 00:00:00 2001 From: Christian Tzolov Date: Tue, 25 Mar 2025 21:15:06 +0100 Subject: [PATCH] refactor: update Spring AI artifact IDs to new naming convention MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update Spring AI dependency artifact IDs in documentation to follow the new naming convention: - spring-ai-mcp-client-spring-boot-starter → spring-ai-starter-mcp-client - spring-ai-anthropic-spring-boot-starter → spring-ai-starter-model-anthropic - spring-ai-mcp-server-spring-boot-starter → spring-ai-starter-mcp-server This is to align the quckstart documentation with the changes to be released with Spring-AI 1.0.0-M7 Signed-off-by: Christian Tzolov --- quickstart/client.mdx | 6 +++--- quickstart/server.mdx | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/quickstart/client.mdx b/quickstart/client.mdx index 281fe1e..d8e87b4 100644 --- a/quickstart/client.mdx +++ b/quickstart/client.mdx @@ -859,11 +859,11 @@ The application integrates Spring AI with the Brave Search MCP server through se ```xml org.springframework.ai - spring-ai-mcp-client-spring-boot-starter + spring-ai-starter-mcp-client org.springframework.ai - spring-ai-anthropic-spring-boot-starter + spring-ai-starter-model-anthropic ``` @@ -885,7 +885,7 @@ spring: api-key: ${ANTHROPIC_API_KEY} ``` -This activates the `spring-ai-mcp-client-spring-boot-starter` to create one or more `McpClient`s based on the provided server configuration. +This activates the `spring-ai-starter-mcp-client` to create one or more `McpClient`s based on the provided server configuration. 3. MCP Server Configuration (`mcp-servers-config.json`): ```json diff --git a/quickstart/server.mdx b/quickstart/server.mdx index 94f86b9..e23919d 100644 --- a/quickstart/server.mdx +++ b/quickstart/server.mdx @@ -775,7 +775,7 @@ You will need to add the following dependencies: org.springframework.ai - spring-ai-mcp-server-spring-boot-starter + spring-ai-starter-mcp-server @@ -788,7 +788,7 @@ You will need to add the following dependencies: ```groovy dependencies { - implementation platform("org.springframework.ai:spring-ai-mcp-server-spring-boot-starter") + implementation platform("org.springframework.ai:spring-ai-starter-mcp-server") implementation platform("org.springframework:spring-web") } ``` @@ -1011,12 +1011,12 @@ mcpClient.closeGracefully(); ### Use MCP Client Boot Starter -Create a new boot starter applicaiton using the `spring-ai-mcp-client-spring-boot-starter` dependency: +Create a new boot starter applicaiton using the `spring-ai-starter-mcp-client` dependency: ```xml org.springframework.ai - spring-ai-mcp-client-spring-boot-starter + spring-ai-starter-mcp-client ```