Post

Integrating Model Context Protocol (MCP) Tools with Strands Agents (How-to)

Learn more about Strands Agents:

Integrating Model Context Protocol (MCP) Tools with Strands Agents (How-to)

Hello, welcome back to this series on Strand’s agents. In the previous videos, which you’ll find linked in the description below, we’ve been introduced to how to get started and we’ve also taken a deep dive into tools. In this video, we’re going to take a look at MCP. That’s model context protocol. It’s all the rage. It’s how people are building agentic systems today. Now, if you’re not familiar with MCP, there is a link in the description below to a video that I put together which introduces the concept. But in this video, it’s all about strands. Strands agents.

Chapters

  • 00:00 - Introduction
  • 00:38 - Importing MCPClient and Configuring Local Server
  • 01:19 - Exploring the Local MCP Server Code
  • 02:43 - Passing MCP Tools to Strands Agent
  • 03:03 - Interactive Dice Rolling with Local MCP Server
  • 05:09 - Cloud-Hosted MCP Server on AWS Lambda
  • 06:02 - Connecting Strands Agent to Cloud MCP Server
  • 06:31 - Interactive Dice Rolling with Cloud MCP Server
  • 07:00 - Securing MCP Servers with Authorizer and Session Store
  • 07:57 - Closing Remarks and Additional Resources
This post is licensed under CC BY 4.0 by the author.