
LangChain MCP Sample
題材
LangGraph
のチュートリアルで扱われているReAct Agentをベースに、MCPを使用してTool Callingを行う例。
- How to create a ReAct agent from scratch
- Prebuilt ReAct Agent
-
langchain-mcp-adapters
-
Multiple MCP Servers
- MCPサーバーが複数ある場合
-
Multiple MCP Servers
パッケージインストール
pip install -qU langgraph langchain-openai langchain-mcp-adapters python-dotenv langsmith tavily-python
実装
相关推荐
Reviews
4.5
(2)

user_a3W7gXCK
2025-04-24
LangChain_MCP by mochizuki875 is a fantastic tool for anyone looking to streamline their workflow with its seamless integration features. As a loyal user, I appreciate the intuitive interface and the robust performance that it delivers. Highly recommended for anyone in need of a reliable solution!

user_4dpv2cZa
2025-04-24
I recently started using LangChain_MCP by mochizuki875, and I am thoroughly impressed! This tool significantly simplifies my workflow and enhances productivity. The seamless integration and user-friendly interface make it a pleasure to use. Highly recommend it to anyone looking for an efficient MCP application!