MCP Tools Usage From LangChain / Example in TypeScript This simple Model Context Protocol (MCP) client demonstrates the use of MCP server tools by LangChain ReAct Agent. It leverages a utility function from . This function handles parallel initialization of specified multiple MCP servers and converts their available tools into an array of LangChain-compatible tools (). It also performs LLM provider-specific schema transformations to prevent schema compatibility issues OpenAI's is used as the LLM. For convenience, code for OpenAI's and Anthropic's LLMs are also included and commented out.
| Stars | 11 |
| Forks | 3 |
| Language | TypeScript |
| Category | MCP 服务器 |
| License | MIT |
| Quality Score | 45.45/100 |
| Last Updated | 2026-03-28 |
| Created | 2025-01-06 |
| Platforms | cli, mcp, node |
| Est. Tokens | ~11k |
Explore other popular mcp 服务器 tools:
langchain-mcp-tools-ts-usage is MCP Tools Usage From LangChain ReAct Agent / Example in TypeScript. It is categorized as a MCP 服务器 with 11 GitHub stars.
langchain-mcp-tools-ts-usage is primarily written in TypeScript. It covers topics such as langchain, langchain-typescript, mcp.
You can find installation instructions and usage details in the langchain-mcp-tools-ts-usage GitHub repository at github.com/hideya/langchain-mcp-tools-ts-usage. The project has 11 stars and 3 forks, indicating an active community.
langchain-mcp-tools-ts-usage is released under the MIT license, making it free to use and modify according to the license terms.