Hatchlight for LangChain
io.github.hatchlight/hatchlight
Make pictures and videos with the AI models on your own graphics card, or with your cloud keys.
client:LangChain
transport:stdio
runtime:npm
Install Hatchlight in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"hatchlight": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "hatchlight"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs