Show HN: Mcp-use – Connect any LLM to any MCP
9 months ago
- #Open-Source
- #LLM
- #MCP
- MCP-Use is an open-source library for connecting any LLM to MCP servers to build custom agents with tool access.
- Supports various LLMs like OpenAI, Anthropic, Groq, and LLama through LangChain.
- Features include ease of use (6 lines of code for first agent), HTTP support, dynamic server selection, and multi-server support.
- Includes tool restrictions for security, custom agent creation, and asynchronous streaming for real-time feedback.
- Install via pip or source, requires Python 3.11+ and appropriate LangChain provider packages.
- Examples provided for different use cases like web browsing, Airbnb searches, and 3D modeling with Blender.
- Supports sandboxed execution via E2B for running MCP servers without local dependencies.
- Debug mode available for troubleshooting, with different verbosity levels.
- Encourages contributions and provides guidelines in CONTRIBUTING.md.
- MIT licensed, with citation information provided for research use.