Skip to content
LangChain

mothermachine for LangChain

io.github.ramp-jet/mothermachine

Search a directory of software an agent can adapt or operate, by need, license or interface.

client:LangChain transport:stdio runtime:npm

Install mothermachine in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

mothermachine in other clients