ironclaw for LangChain
io.github.ironsecco/ironclaw
Sandboxed shell exec for MCP clients: run untrusted agent commands in a gVisor container.
client:LangChain
transport:stdio
runtime:oci
Install ironclaw in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"ironclaw": {
"transport": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "ghcr.io/ironsecco/ironclaw-mcp:v0.1.530"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs