1. Conduid
  2. AI
  3. Mcpadapt
MCP server · AI

Mcpadapt

Unlock 650+ MCP servers tools in your favorite agentic framework.

72Good

Scored 6 hours ago · breakdown

About Mcpadapt

Mcpadapt is an MCP server published by grll in the AI category: unlock 650+ MCP servers tools in your favorite agentic framework.

The repository has 425 stars and 58 forks, with the last commit 11 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/grll/mcpadapt

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Mcpadapt

Powered by Claude · Grounded in docs

I know everything about Mcpadapt. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.1.20Release 0.1.20 · 24 Oct 2025What's Changed fix: Remove redundant $defs from outputSchema in SmolAgentsAdapter by @Edison-A-N in https://github.com/grll/mcpadapt/pull/77 Full Changelog**: https://github.com/grll/mcpadapt/compare/v0.1.19...v0.1.20
v0.1.19Release 0.1.19 · 16 Oct 2025Full Changelog**: https://github.com/grll/mcpadapt/compare/v0.1.18...v0.1.19
v0.1.17Release 0.1.17 · 9 Oct 2025What's Changed [FEAT] Add websocket transport support by @ILJICH in https://github.com/grll/mcpadapt/pull/73 New Contributors @ILJICH made their first contribution in https://github.com/grll/mcpadapt/pull/73 Full Changelog**:…
v0.1.16Release 0.1.16 · 17 Sep 2025What's Changed Grll/issue71 by @grll in https://github.com/grll/mcpadapt/pull/72 Full Changelog**: https://github.com/grll/mcpadapt/compare/v0.1.15...v0.1.16
v0.1.15Release 0.1.15 · 17 Sep 2025What's Changed [MINOR] Handle multiple responses are returned from MCP by @navinpai in https://github.com/grll/mcpadapt/pull/69 New Contributors @navinpai made their first contribution in https://github.com/grll/mcpadapt/pull/69 Full…

README

MCPAdapt

PyPI version Python versions Tests License PyPI downloads GitHub Repo stars

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.

Smolagents

Since mcpadapt is part of smolagents simple use tool collection from smolagents like:

from mcp import StdioServerParameters
from smolagents.tools import ToolCollection

serverparams = StdioServerParameters(command="uv", args=["run", "src/echo.py"])

with ToolCollection.from_mcp(serverparams) as tool_collection:
    ... # enjoy your tools!

Other Frameworks

MCPAdapt adapt any MCP servers into tools that you can use right in your agentic workflow:

from mcp import StdioServerParameters
from mcpadapt.core import MCPAdapt
from mcpadapt.smolagents_adapter import SmolAgentsAdapter

with MCPAdapt(
    # specify the command to run your favorite MCP server (support also smithery and co.)
    StdioServerParameters(command="uv", args=["run", "src/echo.py"]),
    # or a dict of sse server parameters e.g. {"url": http://localhost:8000, "headers": ...}

    # specify the adapter you want to use to adapt MCP into your tool in this case smolagents.
    SmolAgentsAdapter(),
) as tools:
    # enjoy your smolagents tools as if you wrote them yourself
    ...

MCP Adapt supports Smolagents, Langchain, CrewAI, google-genai [pydantic.dev, Llammaindex and more...]*. *coming soon.

Note: you can also specify multiple mcp servers as in:

from mcp import StdioServerParameters
from mcpadapt.core import MCPAdapt
from mcpadapt.smolagents_adapter import SmolAgentsAdapter

with MCPAdapt(
    [
        StdioServerParameters(command="uv", args=["run", "src/echo1.py"]),
        StdioServerParameters(command="uv", args=["run", "src/echo2.py"]),
    ],
    SmolAgentsAdapter(),
) as tools:
    # tools is now a flattened list of tools from the 2 MCP servers.
    ...

We also support async if the underlying agentic framework supports it.

See our examples for more details on how to use.

Contribute

If your favorite agentic framework is missing no problem add it yourself it's quite easy:

  1. create a new module in src/mcpadapt/{name_of_your_framework}_adapter.py:
class YourFrameworkAdapter(ToolAdapter):
    def adapt(
        self,
        func: Callable[[dict | None], mcp.types.CallToolResult],
        mcp_tool: mcp.types.Tool,
    ) -> YourFramework.Tool:
        # HERE implement how the adapter should convert a simple function and mcp_tool (JSON Schema)
        # into your framework tool. see smolagents_adapter.py for an example
    
    def async_adapt(
        self,
        afunc: Callable[[dict | None], Coroutine[Any, Any, mcp.types.CallToolResult]],
        mcp_tool: mcp.types.Tool,
    ) -> YourFramework.Tool:
        # if your framework supports async function even better use async_adapt.
  1. and that's it, test that your adapter is working and send us a PR to share it with the world.

Roadmap

  • initial framework for anyone to start creating adapters
  • support for smolagents
  • support for pydantic-ai
  • support for langchain
  • support for llamaindex
  • support for swarm
  • support for crewAI
  • support for google genai
  • support for remote MCP Servers via SSE
  • support for jupyter notebook
  • add tests

Contributors

We acknowledge the work and thanks every contributors and maintainers for their contributions.

Core Maintainers:

Contributors:

README fetched from the repository 6 hours ago. The original is authoritative.

Questions

About Mcpadapt

How do I install Mcpadapt?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Mcpadapt safe to use with an AI agent?

Its trust score is 72 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mcpadapt still maintained?

The last commit was 11 months ago and 37 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.