Skip to content
LangChain

2mw mcp for LangChain

io.github.f1tym1/2mw-mcp

Threat intel for AI agents: one call returns a CVE with its actors, techniques and detections.

client:LangChain transport:streamable-http runtime:npm tools:34

Install 2mw mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "2mw-mcp": {
            "transport": "streamable_http",
            "url": "https://2mw.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

All 34 tools →

2mw mcp in other clients