Langchain
Enables LangChain integration with Model Context Protocol for tool calling.
Langchain-mcp facilitates the integration of Model Context Protocol (MCP) with LangChain, providing seamless tool calling capabilities. By creating an `MCPToolkit` with an `mcp.ClientSession`, users can easily initialize the toolkit and retrieve a list of `langchain_core.tools.BaseTool` instances, enhancing LangChain's functionality with MCP-enabled tools. The included demo showcases how to use the tool with Groq's `llama-3.1-8b-instant` model, demonstrating its ability to interact with secure MCP Filesystem Servers.
Características Principales
01Includes a demo for using with Groq's `llama-3.1-8b-instant` model.
02157 GitHub stars
03Integrates LangChain with Model Context Protocol.
04Provides tool calling support within LangChain.
05Offers an `MCPToolkit` for easy initialization and tool retrieval.
06Supports secure interaction with MCP Filesystem Servers.
Casos de Uso
01Extending LangChain agents with MCP tools.
02Integrating secure file system access into LangChain workflows.
03Utilizing MCP tools within LangChain for tasks like summarizing files.