Skip to content
LangChain

undo mcp for LangChain

net.agentutil/undo-mcp

Reversibility intelligence — check if actions can be undone before executing them.

client:LangChain transport:stdio runtime:npm

Install undo mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "undo-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@agentutil/undo-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

undo mcp in other clients