Skip to content
LangChain

imali commander for LangChain

io.github.imali-defi/imali-commander

Safe, scoped folder access for AI assistants: one folder, no shell, audit log, read-only mode.

client:LangChain transport:stdio runtime:npm

Install imali commander in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "imali-commander": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "imali-commander"],
        }
})

tools = await client.get_tools()

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

imali commander in other clients