Войти
  • 51342Просмотров
  • 9 месяцев назадОпубликованоLangChain

Using MCP with LangGraph agents

Anthropic's Model Context Protocol (MCP) is an open source protocol to connect LLMs with context, tools, and prompts. It has a growing number of "servers" for connecting to various tools or data sources. Here, we show how to connect any MCP server to LangGraph agents, and use MCP tools. Repo: MCP servers: Timestamps: 00:00 - Introduction to Model Context Protocol 00:45 - Creating a Simple MCP Math Server 01:20 - Connecting MCP to LangGraph Agents 02:00 - Tool Execution and LangSmith Tracing 03:00 - Multi-Server Support and Model Flexibility 04:00 - MCP Architecture Overview 05:00 - Exploring the MCP Server Ecosystem