🚀 mcp-use is a TypeScript library that makes it easy to connect LangChain.js-compatible LLMs with MCP servers. Build powerful, flexible AI agents with dynamic tool access and multi-server support.
Overview
What is Unified MCP Client Library?
The Unified MCP Client Library is a TypeScript library designed to facilitate the connection between LangChain.js-compatible LLMs and MCP servers, enabling the creation of powerful AI agents with dynamic tool access and multi-server support.
How to use Unified MCP Client Library?
To use the library, install it via npm, configure your MCP servers, and create an agent that can run queries using the connected LLM.
Key features of Unified MCP Client Library?
- Ease of use: Create an MCP-capable agent in just a few lines of TypeScript.
- LLM Flexibility: Compatible with any LangChain.js-supported LLM that supports tool calling.
- HTTP Support: Direct SSE/HTTP connection to MCP servers.
- Dynamic Server Selection: Agents can select the appropriate MCP server from a pool dynamically.
- Multi-Server Support: Utilize multiple MCP servers within a single agent.
- Tool Restrictions: Control access to unsafe tools like filesystem or network.
- Custom Agents: Build custom agents with LangChain.js adapter or implement new adapters.
Use cases of Unified MCP Client Library?
- Building custom AI agents for various applications.
- Connecting multiple LLMs to different MCP servers for enhanced functionality.
- Implementing dynamic tool access for AI-driven tasks.
FAQ from Unified MCP Client Library?
- What is the minimum requirement to use this library?
Node.js 22.0.0 or higher is required.
- Is there a license for this library?
Yes, it is licensed under the MIT license.
- Can I use this library for commercial purposes?
Yes, the MIT license allows for commercial use.