Menu

1 / 2

Building AI Agents with Spring AI and Amazon Bedrock AgentCore - Part 3 Develop local MCP client for Conference application

DEV Community·Vadym Kazulkin·6 months ago
#wZeJui31
#aws#java#springai#bedrockagentcore#client
Reading 0:00
15s threshold

Introduction

In part 2 , we explained how to deploy and run our conference search application on the Amazon Bedrock AgentCore Runtime as the MCP server. In this article, we'll develop the (MCP-) client, capable of talking to our application running on AgentCore Runtime.

Develop local MCP client for Conference application

You can find the source code of the MCP client in my spring-ai-1.1-conference-app-agent-local repository.

Let's go step-by-step through it.

First, in pom.xml , we include, among others, those dependencies:

spring-ai-bom - to include the general Spring AI functionality.

spring-boot-starter-web - as we develop the MCP client as a web application.

spring-ai-starter-model-bedrock-converse -as we use foundational models on Amazon Bedrock.

spring-ai-starter-mcp-client-webflux - to develop an asynchronous Spring AI MCP Client .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.