Menu

Post image 1
Post image 2
Post image 3
Post image 4
1 / 4
0

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

DEV Community·Vadym Kazulkin·21 days ago
#wZeJui31
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 . We can use spring-ai-starter-mcp-client to develop a synchronous one. SpringAIConferenceLocalMCPClient class is the main entry point to our application.…

Continue reading — create a free account

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

Read More