mcp-langchain-ts-client
@isaacwasserman
About mcp-langchain-ts-client
LangChain.js client for Model Context Protocol.
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is mcp-langchain-ts-client?
It is a LangChain.js client for the Model Context Protocol (MCP), ported from the Python library rectalogic/langchain-mcp to the JavaScript/TypeScript ecosystem.
How to use mcp-langchain-ts-client?
Install via npm install mcp-langchain-ts-client. Create an MCPToolkit instance with server parameters (command and args), call await toolkit.initialize(), then access toolkit.tools to retrieve LangChain.js‑compatible tools. The tools can be passed directly to LangChain agents, for example using createReactAgent from @langchain/langgraph/prebuilt.
Key features of mcp-langchain-ts-client
- LangChain.js integration for Model Context Protocol tools.
MCPToolkitclass to spawn and manage MCP servers.- Extracts MCP tools as LangChain.js
StructuredToolinstances. - Supports any MCP server runnable via command line.
- Simple initialization and tool retrieval workflow.
Use cases of mcp-langchain-ts-client
- Connect a LangChain agent to MCP‑compatible tools (e.g.,
@modelcontextprotocol/server-everything). - Build LangGraph workflows that leverage MCP server resources.
- Port Python‑based MCP‑LangChain integrations to JavaScript/TypeScript projects.
FAQ from mcp-langchain-ts-client
What is the relationship to rectalogic/langchain-mcp?
This package is a port of the Python library rectalogic/langchain-mcp to the JavaScript/TypeScript LangChain and MCP APIs.
What runtime does it require?
It requires Node.js (implied by npm installation and use of npx to launch MCP servers).
How do I obtain LangChain‑compatible tools from an MCP server?
Create an MCPToolkit instance with the server’s command and arguments, call initialize(), then access the tools property.
Does it work with any MCP server?
It works with any MCP server that can be launched as a subprocess using a command and args (e.g., @modelcontextprotocol/server-everything).
Frequently asked questions
What is the relationship to rectalogic/langchain-mcp?
This package is a port of the Python library `rectalogic/langchain-mcp` to the JavaScript/TypeScript LangChain and MCP APIs.
What runtime does it require?
It requires Node.js (implied by npm installation and use of `npx` to launch MCP servers).
How do I obtain LangChain‑compatible tools from an MCP server?
Create an `MCPToolkit` instance with the server’s command and arguments, call `initialize()`, then access the `tools` property.
Does it work with any MCP server?
It works with any MCP server that can be launched as a subprocess using a `command` and `args` (e.g., `@modelcontextprotocol/server-everything`).
Basic information
More AI & Agents MCP servers
Perplexity Ask MCP Server
ppl-aiThe official MCP server implementation for the Perplexity API Platform
MCP Claude Code
SDGLBLMCP implementation of Claude Code capabilities and more

Competitor Tracker & Co.
Competitor Tracker & Co.Competitor Tracker & Co. watches your competitors' websites and tells you what changed. Every week it crawls their pricing, product, messaging and corporate pages, detects the changes that matter, and files a tagged, ran
Shell and Coding agent for Claude and other mcp clients
rusiaamanShell and coding agent on mcp clients
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
Comments