Skip to content
LangChain

axiom gate for LangChain

io.github.impius-lab/axiom-gate

Fail-closed MCP tool firewall in Rust with Wasm sandbox, <2k LoC proof checker, and host-only keys.

client:LangChain transport:stdio runtime:npm

Install axiom gate in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

axiom gate in other clients