- Open Source MCP CLient Library
Open Source MCP CLient Library
What is MCP-Use?
MCP-Use is an open-source library that allows developers to connect any Large Language Model (LLM) to MCP tools, enabling the creation of custom agents with tool access without relying on closed-source applications.
How to use MCP-Use?
To use MCP-Use, install it via pip and set up your environment with the necessary API keys for your chosen LLM provider. You can create an agent with just a few lines of code and run queries using the agent.
Key features of MCP-Use?
- Ease of use: Create an MCP capable agent with only 6 lines of code.
- LLM Flexibility: Compatible with any LangChain supported LLM that supports tool calling.
- HTTP Support: Connect directly to MCP servers running on specific HTTP ports.
- Multi-Server Support: Use multiple MCP servers simultaneously in a single agent.
- Tool Restrictions: Control access to potentially dangerous tools like file system or network access.
Use cases of MCP-Use?
- Web browsing with Playwright.
- Searching for accommodations on Airbnb.
- Creating 3D models using Blender.
- Running complex queries that require multiple tools from different servers.
FAQ from MCP-Use?
-
Can MCP-Use connect to any LLM?
Yes, it works with any LLM that supports tool calling through LangChain. -
Is MCP-Use free to use?
Yes, MCP-Use is open-source and free for everyone. -
What are the requirements for using MCP-Use?
You need Python 3.11+, an MCP implementation, and the appropriate LangChain model libraries.