LangChain MCP Server
Installation
Use the upstream install or setup path that matches your environment:
- You can use npm, pnpm, or yarn to install LangChain.js
- npm install -S langchain or pnpm install langchain or yarn add langchain
Requirements and caveats from upstream:
- For an equivalent Python library, check out LangChain.
- Node.js (ESM and CommonJS) - 20.x, 22.x, 24.x
Basic usage or getting-started notes:
Just getting started? Check out Deep Agents — a higher-level package built on LangChain for agents that have built-in capabilites for common usage patterns s...
Getting started: Installation, setting up the environment, simple examples
Extracted from upstream docs: https://raw.githubusercontent.com/langchain-ai/langchainjs/HEAD/README.md