Skip to content
LangChain

mlua swarm for LangChain

io.github.ynishi/mlua-swarm

MCP server for mlua-swarm: engine that compiles flow.ir Blueprints and dispatches agent steps.

client:LangChain transport:stdio runtime:oci

Install mlua swarm in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mlua-swarm": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/ynishi/mse:0.29.0"],
        }
})

tools = await client.get_tools()

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

mlua swarm in other clients