Adapt MCP servers to many agentic framework.
Low maintenance activity. Last release 13 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install mcpadaptMCPAdapt
For more context, guides and API references visit our new documentation.
Unlock 650+ MCP servers tools in your favorite agentic framework.
Model Context Protocol is an open-source protocol introduced by Anthropic which allows anyone to simply and quickly make tools and resources available as "MCP Servers".
Since its release more than 650 MCP servers have been created giving access to many data & tools to supported "MCP Client".
This project makes calling any MCP servers tools seemless from any agentic framework. Virtually providing your agentic worfklow access to 650+ MCP servers tools.
Look at glama.ai or smithery.ai to give you an idea of what your agent could access.
Installation Instructions
Smolagents
Smolagents 1.4.1 and above directly ships with mcpadapt integrated in their tool collections object. It means you can directly use it from smolagents:
uv add smolagents[mcp]
Other Frameworks
Each agent framework has its own set of optional dependencies to not clutter with useless dependencies. You choose the flavor you want by adding your framework in brackets in the installation command.
# with uv
uv add mcpadapt[langchain]
# or with pip
pip install mcpadapt[langchain]
Framework supported at the moment: smolagents, langchain, crewAI, google-genai.
You can also add multiple framework comma separated if needed.
Usage
⚠️ Security Warning: When using MCP servers, especially over SSE (Server-Sent Events), be extremely cautious and only connect to trusted and verified servers. Always verify the source and security of any MCP server before connecting.