Skip to content
LangChain

Computer Use for LangChain

io.github.hightemp/go-computer-use-mcp-server

Local MCP server for desktop automation: mouse, keyboard, screen, windows, and processes.

client:LangChain transport:stdio runtime:npm

Install Computer Use in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "go-computer-use-mcp-server": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "go-computer-use-mcp-server"],
        }
})

tools = await client.get_tools()

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

Computer Use in other clients