ComfyUI Light MCP for LangChain
io.github.yuchen-ya/comfyui-light-mcp
Workflow-first, Batch-native, Context-light.
client:LangChain
transport:stdio
runtime:npm
Install ComfyUI Light MCP in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"comfyui-light-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "comfyui-light-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs