Skip to content
LangChain

Agent Workspace MCP for LangChain

io.github.hrrodan/agent-workspace-mcp

A sandboxed, agentic workspace providing secure filesystem, bash, and uv-powered Python execution.

client:LangChain transport:stdio runtime:oci

Install Agent Workspace MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "agent-workspace-mcp": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/hrrodan/agent-workspace-mcp:1.4.105"],
        }
})

tools = await client.get_tools()

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

Agent Workspace MCP in other clients