LangChain (TypeScript)

LangChain (TypeScript)

isaacwasserman

A TypeScript client that lets you use any MCP server tools directly within LangChain.js workflows and agents.

35652 views4Local (stdio)

What it does

  • Connect MCP servers to LangChain.js agents
  • Convert MCP tools to LangChain-compatible format
  • Execute MCP server operations from TypeScript
  • Handle long-running operations with progress updates
  • Sample from LLMs using MCP's sampling feature
  • Access and manipulate MCP resources

Best for

Building LangChain agents with MCP tool accessTypeScript developers integrating MCP serversCreating AI workflows that need diverse tool capabilities
Works with any MCP serverNative LangChain.js integration10+ example tools included

Tools (11)

echo

Echoes back the input

add

Adds two numbers

longRunningOperation

Demonstrates a long running operation with progress updates

printEnv

Prints all environment variables, helpful for debugging MCP server configuration

sampleLLM

Samples from an LLM using MCP's sampling feature

Alternatives