{"type":"mcp_client","name":"langchain-mcp-client","description":"This repository provides a LangChain client for the Model Context Protocol, enabling seamless connection to MCP servers. It converts MCP tools for use with LangChain, facilitating dynamic conversations.","category":"AI","language":"Python","stars":10,"forks":0,"owner":"datalayer","github_url":"https://github.com/datalayer/langchain-mcp-client","homepage":"https://datalayer.io","setup":"## Setup\n\nThe python version should be 3.11 or higher.\n\n```bash\npip install langchain_mcp_client\n```\n\nCreate a `.env` file containing all the necessary `API_KEYS` to access your LLM.\n\nConfigure the LLM, MCP servers, and prompt example in the `llm_mcp_config.json5` file:\n\n1. **LLM Configuration**: Set up your LLM parameters.\n2. **MCP Servers**: Specify the MCP servers to connect to.\n3. **Example Queries**: Define example queries that invoke MCP server tools. Press Enter to use these example queries when prompted.","tools":"## Available Tools\n\n1. Seamlessly connect to any MCP servers.\n2. Use any LangChain-compatible LLM for flexible model selection.\n3. Interact via CLI, enabling dynamic conversations.\n4. Conversion to LangChain Tools using `convert_mcp_to_langchain_tools()`.\n","faq":null,"created_at":"2025-02-12T06:44:53+00:00","updated_at":"2025-03-17T08:43:52+00:00","source_url":"https://model-context-protocol.com/clients/langchain-model-context-protocol-mcp-client","related_articles":[]}