Command Palette

Search for a command to run...

UnylyUnyly
Browse all

LangChain (TypeScript)

FreeNot checked

Enable LangChain workflows for your MCP client.

GitHubEmbed

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 });

from github.com/isaacwasserman/mcp-langchain-ts-client

Install LangChain (TypeScript) in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install langchain-typescript

Installs 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-client

Step-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

Compare 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