Installation
Python package
Install ipybox using pip:
or uv:
MCP server
ipybox can also be run as an MCP server using uvx:
See the MCP server documentation for configuration details.
sandbox-runtime
To use ipybox's sandboxing features, you need to install Anthropic's sandbox-runtime separately. This provides the srt command for IPython kernel and MCP server isolation.
Install via npm:
Mac OS
On Mac OS, sandbox-runtime requires ripgrep. Install it using Homebrew:
No other dependencies are needed on Mac OS, as sandbox-runtime uses the native sandbox-exec command for sandboxing.
Linux
On Linux, install the required system packages:
Info
Sandboxing with srt currently doesn't work with ipybox on Linux, a fix is work in progress. You can still use ipybox on Linux with sandbox=False, or run the ipybox MCP server as a Docker container.