LangChain TypeScript Client icon

LangChain TypeScript Client

Createdhideya

Enables LangChain ReAct Agents to interact with Model Context Protocol (MCP) servers using TypeScript.

About

This client allows LangChain agents built with TypeScript to leverage the capabilities of Model Context Protocol (MCP) servers. It utilizes the `@h1deya/langchain-mcp-tools` package to convert MCP server tools into LangChain-compatible tools, supporting LLMs from Anthropic, OpenAI, and Groq. Configuration is managed via a JSON5 file, allowing for easy customization and environment variable integration. This setup simplifies the process of integrating external tools and services into LangChain-powered applications.

Key Features

  • Configurable via JSON5 with environment variable support.
  • Supports LLMs from Anthropic, OpenAI, and Groq.
  • Demonstrates MCP server tool usage with LangChain ReAct Agent.
  • Converts MCP server tools to LangChain-compatible tools.
  • 7 GitHub stars

Use Cases

  • Automating tasks using MCP server tool invocations.
  • Integrating external tools into LangChain applications.
  • Connecting LangChain agents to MCP-enabled services.
Craft Better Prompts with AnyPrompt