LangChain (TypeScript)
FreeNot checkedEnable LangChain workflows for your MCP client.
About
Enable LangChain workflows for your MCP client.
README
A LangChain.js client for Model Context Protocol.
This is a port of rectalogic/langchain-mcp to the JS/TS LangChain and MCP APIs.
Installation
npm install mcp-langchain-ts-client
Usage
const serverParams = {
command: "npx",
args: [
"-y",
"@modelcontextprotocol/server-everything"
]
}
// Initialize the toolkit
const toolkit = new MCPToolkit(serverParams);
await toolkit.initialize();
// Extract LangChain.js compatible tools
const tools = toolkit.tools;
// Use the tools
import { createReactAgent } from "@langchain/langgraph/prebuilt";
import { ChatAnthropic } from "@langchain/anthropic";
const llm = new ChatAnthropic({ model: 'claude-3-5-sonnet-20241022' });
const agent = createReactAgent({ llm, tools });
Install LangChain (TypeScript) in Claude Desktop, Claude Code & Cursor
unyly install langchain-typescriptInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add langchain-typescript -- npx -y mcp-langchain-ts-clientStep-by-step: how to install LangChain (TypeScript)
FAQ
Is LangChain (TypeScript) MCP free?
Yes, LangChain (TypeScript) MCP is free — one-click install via Unyly at no cost.
Does LangChain (TypeScript) need an API key?
No, LangChain (TypeScript) runs without API keys or environment variables.
Is LangChain (TypeScript) hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install LangChain (TypeScript) in Claude Desktop, Claude Code or Cursor?
Open LangChain (TypeScript) on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare LangChain (TypeScript) with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
