Simplifies the integration of Model Context Protocol (MCP) server tools with LangChain in TypeScript projects.
This package provides a utility function, `convertMcpToLangchainTools()`, that simplifies the process of utilizing Model Context Protocol (MCP) server tools within LangChain projects using TypeScript. By initializing multiple MCP servers in parallel, it converts their available tools into an array of LangChain-compatible tools, enabling seamless integration with over 1500 functional components available as MCP servers. The utility also includes a cleanup function to properly close MCP server sessions after use, enhancing the functionality and scope of LangChain applications by leveraging external tools and resources.