Skip to content
LangChain

Mitigant for LangChain

io.github.mitigant/mitigant-mcp

Run real, auto-recovered cloud attacks on AWS, Azure and GCP to test your defenses.

client:LangChain transport:streamable-http tools:14

Install Mitigant in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mitigant-mcp": {
            "transport": "streamable_http",
            "url": "https://mcp.mitigant.io/mcp",
        }
})

tools = await client.get_tools()

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

What LangChain can do once it is connected

Mitigant in other clients