Skip to content
LangChain

zentric protocol mcp for LangChain

io.github.zentricprotocol/zentric-protocol-mcp

Prompt injection + PII detection for LLM apps and agent pipelines. Deterministic, sub-25ms.

client:LangChain transport:stdio runtime:npm

Install zentric protocol mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "zentric-protocol-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "zentric-protocol-mcp"],
        }
})

tools = await client.get_tools()

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

zentric protocol mcp in other clients