Skip to content
LangChain

shellquote mcp for LangChain

io.github.mukundakatta/shellquote-mcp

Safe shell argument escaping for bash, cmd.exe, and PowerShell.

client:LangChain transport:stdio runtime:npm

Install shellquote mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

shellquote mcp in other clients