Skip to content
LangChain

SelfHeal MCP for LangChain

io.github.carsonroell-debug/selfheal-mcp

Self-healing proxy for MCP servers with retry, circuit breaker, and observability

client:LangChain transport:stdio runtime:npm

Install SelfHeal MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

SelfHeal MCP in other clients