MCP-Use is an open-source Python library that enables developers to connect any LLM to any MCP (Model Context Protocol) server and build custom agents with tool access. The library supports multiple LLM providers through LangChain, offers HTTP connections, multi-server support, tool access control, and sandboxed execution. It provides a simple 6-line setup for basic agents and includes features like streaming output, dynamic server selection, and debugging capabilities. The project includes examples for web browsing with Playwright, Airbnb search, and Blender 3D creation.

15m read timeFrom github.com
Post cover image
Table of contents
Connect any LLM to any MCP serverQuick startExample Use CasesConfiguration File SupportMulti-Server SupportTool Access ControlSandboxed ExecutionBuild a Custom Agent:DebuggingContributingRequirementsLicenseCitation

Sort: