Skip to content
LangChain

Macbeth for LangChain

io.github.wende/macbeth

Open-source computer use for macOS agents.

client:LangChain transport:stdio runtime:npm

Install Macbeth in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Macbeth in other clients