

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.
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.
Featured AI Tools

Pseudoeditor
PseudoEditor is a free online pseudocode editor. It features syntax highlighting and auto-completion, making it easier for you to write pseudocode. You can also use our pseudocode compiler feature to test your code. No download is required, start using it immediately.
Development & Tools
3.8M

Coze
Coze is a next-generation AI chatbot building platform that enables the rapid creation, debugging, and optimization of AI chatbot applications. Users can quickly build bots without writing code and deploy them across multiple platforms. Coze also offers a rich set of plugins that can extend the capabilities of bots, allowing them to interact with data, turn ideas into bot skills, equip bots with long-term memory, and enable bots to initiate conversations.
Development & Tools
3.8M