Skip to content
LangChain

Governed Warehouse for LangChain

io.github.tongliutl/governed-warehouse-mcp

Governed MCP server for warehouse data: semantic layer, scoped access, PII controls and SQL guard.

client:LangChain transport:stdio runtime:oci

Install Governed Warehouse in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "governed-warehouse-mcp": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/tongliutl/governed-warehouse-mcp:0.2.1"],
        }
})

tools = await client.get_tools()

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

Governed Warehouse in other clients