Skip to content
LangChain

shellward for LangChain

io.github.jnmetacode/shellward

AI agent security: 7 MCP tools for injection detection, PII scanning, command safety, DLP.

client:LangChain transport:stdio runtime:npm

Install shellward in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

shellward in other clients