MCP.so
登录

LangChain MCP Client

@datalayer

基本信息

分类

AI 与智能体

许可证

NOASSERTION

传输方式

stdio

作者

datalayer

关于 LangChain MCP Client

🦜🔗 LangChain Model Context Protocol (MCP) Client

LangChain MCP Client 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

LangChain MCP Client 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is 🦜 🔗 LangChain MCP Client?

A simple model context protocol client that demonstrates the use of MCP server tools by a LangChain ReAct agent. It seamlessly connects to any MCP servers, supports any LangChain-compatible LLM for flexible model selection, and offers a CLI for dynamic interactions.

How to use 🦜 🔗 LangChain MCP Client?

Install with pip install langchain_mcp_client (Python 3.11+). Create a .env file with API keys for your LLM and configure llm_mcp_config.json5 with your LLM parameters, MCP servers, and optional example queries. Then launch the CLI (e.g., make cli or the appropriate command for your operating system).

Key features of 🦜 🔗 LangChain MCP Client

  • Converts MCP tools into LangChain-compatible List[BaseTool].
  • Supports parallel initialization of multiple MCP servers.
  • Works with any LangChain-compatible LLM.
  • CLI-based dynamic conversation interface.
  • Example queries can be provided in the config file.

Use cases of 🦜 🔗 LangChain MCP Client

  • Letting a LangChain agent use tools from external MCP servers.
  • Querying a Jupyter MCP server to create notebooks and visualizations.
  • Combining multiple MCP services through natural language prompts.

常见问题

1

What Python version is required?

Python 3.11 or higher.

2

How do I configure the client?

Create a `.env` file with your LLM API keys and a `llm_mcp_config.json5` file that specifies the LLM, MCP servers, and optional example queries.

3

Can I use any LLM with this client?

Yes, any LangChain-compatible LLM can be used.

4

How do I run the client after configuration?

Launch the CLI — the README shows examples using `make cli` (commands may vary by OS).

评论

AI 与智能体 分类下的更多 MCP 服务器