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
Basic information
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
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"langchain-mcp-examples": {
"command": "python",
"args": [
"-m",
"venv",
".venv"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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.

Connect Atwork to Claude, ChatGPT, Cursor or any MCP client and work with your real data: ask what is overdue, total a sheet by any field, add tasks, update rows, post comments and draft pages. The assistant acts as you
NetFoundry MCP Gateway enables secure, isolated access to Model Context Protocol (MCP) tools across distributed systems without exposing public endpoints. Zero trust gateway for MCP servers. Aggregate, filter, and secure

Build and edit landing pages and websites from your AI assistant, and pull how they are performing.

Amazon Seller Central MCP server. Connect Seller Central, Vendor Central and Amazon Ads to Claude, ChatGPT, Gemini or Cursor, and ask for net profit per SKU with your own COGS, VAT and FBM shipping costs, PPC down to the
BERGHAIN MCP server — sovereign AI stress-testing mcp / ai / multi-agent / adversarial / stress-test / claude
Comments