mcp-use
M
MCP Use
Overview :
mcp-use is an open-source MCP client library designed to help developers connect any large language model (LLM) to MCP tools, building custom agents with tool access capabilities without using closed-source or application clients. This product provides a simple and easy-to-use API and powerful features applicable to multiple domains.
Target Users :
This product is suitable for developers and researchers who want to create intelligent agents capable of interacting with multiple online tools. mcp-use simplifies integration with MCP tools, making the development of custom agents more efficient and suitable for scenarios requiring complex task handling.
Total Visits: 485.5M
Top Region: US(19.34%)
Website Views : 37.8K
Use Cases
Use Playwright to browse web pages and search for the best restaurants in San Francisco.
Find accommodation options in Barcelona via Airbnb.
Create 3D models in Blender and generate complex graphics.
Features
Ease of Use: Create your first MCP-enabled agent with only 6 lines of code.
LLM Flexibility: Supports any LangChain LLM that supports tool calls (such as OpenAI, Anthropic, etc.).
HTTP Support: Directly connect to MCP servers running on a specific HTTP port.
Multi-Server Support: Use multiple MCP servers simultaneously within a single agent.
Tool Restriction: Restrict potentially dangerous tools, such as file system or network access.
How to Use
Install the mcp-use library and the required LLM provider.
Set environment variables and add API keys.
Create an MCPClient configuration, defining the required MCP server.
Instantiate the LLM and MCPAgent.
Call the agent's run method to execute the query and obtain the results.
AIbase
Empowering the Future, Your AI Solution Knowledge Base
© 2025AIbase