Skip to content
LangChain

deskcommand for LangChain

io.github.cloudcorprecords/deskcommand

Run terminal processes, edit files and search code on the local machine from an MCP client.

client:LangChain transport:stdio runtime:npm

Install deskcommand in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "deskcommand": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@reneturcios/deskcommand"],
        }
})

tools = await client.get_tools()

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

deskcommand in other clients