What are the runtime requirements?
Python 3.x and an OpenAI API key are required. Dependencies include `langchain-core`, `langchain-openai`, `langchain-mcp-adapters`, `langgraph`, `python-dotenv`, and `mcp`.
@Ayyappa054
基本信息
A practical demonstration of integrating LangChain with Model Control Protocol (MCP) featuring both single and multi-server implementations. Includes examples of mathematical computations and weather queries using async operations, React agents, and OpenAI integration. Perfect fo
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"langchain-mcp-examples": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
A demonstration project showcasing integration of LangChain with Model Context Protocol (MCP) adapters. It implements a system that handles mathematical calculations and weather queries through separate MCP servers. Designed for developers learning MCP and LangChain.
Clone the repository, create a Python virtual environment, install dependencies from requirements.txt, and add your OpenAI API key to a .env file. Then run python main.py for the single‑server example or python langchain_client.py for the multi‑server example.
MultiServerMCPClient usagePython 3.x and an OpenAI API key are required. Dependencies include `langchain-core`, `langchain-openai`, `langchain-mcp-adapters`, `langgraph`, `python-dotenv`, and `mcp`.
`main.py` uses a stdio client to connect to a single math server. `langchain_client.py` uses `MultiServerMCPClient` to manage both a math server and a weather server, allowing the agent to choose the appropriate tool.
Yes. The LangChain agent uses OpenAI’s API, so a valid `OPENAI_API_KEY` must be set in the `.env` file.
The single‑server example uses stdio client communication. The multi‑server example uses MCP’s `MultiServerMCPClient`, though the exact transport is not explicitly stated.

The Unstructured Transform MCP Server connects your ADK agent to Unstructured, a document processing platform that turns raw files into structured, AI-ready data. This integration gives your agent the ability to parse PD

Magic Hour MCP lets AI agents create and edit images, videos, and audio using Magic Hour’s hosted generation tools.

AI growth agent for software businesses. Ranla ships pages that rank on Google, gets your product named in AI answers, replies on Reddit and sends lifecycle email. Ask how growth is going, have Ranla draft the work and a
MCP-native LLM councils for debates, juries, blind panels, voting, refinement, and custom multi-model deliberation.

localscreenshot is a Website screenshot MCP server and API available at https://localscreenshot.com/api. Localscreenshot screenshot api turns any public web page into an image or a PDF. Take the capture from one of 227 c
评论