Skip to content
LangChain

dissectmac mcp for LangChain

io.github.nocodegeeks/dissectmac-mcp

Find what is eating your Mac's disk and move it to the Trash after you confirm. Read-only otherwise.

client:LangChain transport:stdio runtime:npm

Install dissectmac mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

dissectmac mcp in other clients