IntegrationsYour own code
Docker
Run Artiwright as a container, either the MCP server over HTTP or a Python image for ADK and LangGraph agents.
Two images, for the two ways agents use Artiwright. Both are on GitHub’s container registry, tagged with each
version and latest:
| Image | What it is | Use it for |
|---|---|---|
ghcr.io/bvenu17/artiwright-mcp |
Node.js 26 and Artiwright, running the MCP server over HTTP on port 8765, sessions in the /data volume, as a non-root user |
A service your agents connect to by URL |
ghcr.io/bvenu17/artiwright-python |
Python 3.12 with artiwright[adk,langgraph], its JavaScript side installed at build time |
A base for ADK or LangGraph agents that start Artiwright over stdio; works without network at run time |
Run the MCP server
Section titled “Run the MCP server”-
Start it, with a token and a volume for sessions:
docker run -d --name artiwright -p 8765:8765 \-e ARTIWRIGHT_MCP_TOKEN=choose-a-long-random-token \-v artiwright-data:/data \ghcr.io/bvenu17/artiwright-mcp -
Check it’s running:
docker logs artiwrightThe log shows where it listens and that a token is required.
-
Connect your agents to
http://localhost:8765/mcpwithAuthorization: Bearer <token>(see HTTP server).
Build an agent image on the Python base
Section titled “Build an agent image on the Python base”FROM ghcr.io/bvenu17/artiwright-pythonCOPY . /appWORKDIR /appRUN pip install -r requirements.txtCMD ["python", "main.py"]Your agent uses artiwright.adk or artiwright.langgraph as usual. Artiwright’s dependencies are already installed,
so the container can run with no network if your agent doesn’t need it.
Security
Section titled “Security”Inside the container, agent code still runs in Artiwright’s sandbox; the container adds process and file isolation from the host. For untrusted users or several tenants, lock the container down too:
docker run -d --name artiwright -p 8765:8765 \ --read-only --tmpfs /tmp \ --cap-drop ALL --security-opt no-new-privileges \ -e ARTIWRIGHT_MCP_TOKEN=choose-a-long-random-token \ -v artiwright-data:/data \ ghcr.io/bvenu17/artiwright-mcpThe image already runs as a non-root user, and only the sessions volume and /tmp are writable.