Skip to content
LangChain

dlp mcp for LangChain

io.github.cx-anand-nandeshwar/dlp-mcp

The DLP MCP provides the compliance violation in the one drive, google drive documents.

client:LangChain transport:streamable-http

Install dlp mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "dlp-mcp": {
            "transport": "streamable_http",
            "url": "https://{api_host}/api/dlp/mcp/{tenant_id}",
        }
})

tools = await client.get_tools()

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

dlp mcp in other clients