Skip to content
LangChain

ContrastAPI for LangChain

com.contrastcyber/api

55 tools, 7 Resources, Sigma rules, email SPF/DMARC, MITRE, CVE/KEV, risk_score. No key.

client:LangChain transport:streamable-http tools:55

Install ContrastAPI in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "api": {
            "transport": "streamable_http",
            "url": "https://api.contrastcyber.com/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 55 tools →

ContrastAPI in other clients