Skip to content
LangChain

Korzen Bot Protection for LangChain

dev.korzen/bot-protection

Ask why Korzen Bot Protection blocked a request, what attacked your site and which AIs read it.

client:LangChain transport:streamable-http

Install Korzen Bot Protection in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "bot-protection": {
            "transport": "streamable_http",
            "url": "https://korzen.dev/bot-protection/mcp",
        }
})

tools = await client.get_tools()

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

Korzen Bot Protection in other clients