Brick Work for LangChain
io.github.ulef1005/brick-work
Ask an assistant about your brick collection through your own Brick Work install.
client:LangChain
transport:stdio
runtime:oci
Install Brick Work in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"brick-work": {
"transport": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/ulef1005/brick-work:1.2.0"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs