Skip to content
LangChain

Strac MCP DLP for LangChain

io.github.strac-io/strac-mcp-dlp

Detect and redact PII, PHI, PCI and secrets in text and files before an AI agent sees them.

client:LangChain transport:stdio runtime:pypi

Install Strac MCP DLP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "strac-mcp-dlp": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["strac-mcp-dlp"],
        }
})

tools = await client.get_tools()

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

Strac MCP DLP in other clients