Skip to content
LangChain

TrigGuard for LangChain

io.github.trigguard-ai/trigguard

Deterministic execution authorization for AI agents and automated systems.

client:LangChain transport:stdio runtime:npm

Install TrigGuard in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

TrigGuard in other clients