mcp-sandbox
Execute Julia scripts in an isolated sandbox container
Execute LaTeX (pdflatex) documents in an isolated sandbox container
Execute GNU Octave scripts in an isolated sandbox container
Execute Python scripts with scientific libraries (numpy, matplotlib, scipy, pandas, sympy, scikit-learn) in an isolated sandbox container
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-sandboxPlot a sine wave using Python and matplotlib"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-sandbox
MCP server for isolated scientific script execution. Run R, Python, GMT, LaTeX, Octave, Julia, and more in disposable containers — fully stateless, no host filesystem access.
Tools
Tool | Description |
| Execute a script in an isolated sandbox container |
| List available scientific runtimes |
Related MCP server: Node.js Sandbox MCP Server
Supported Runtimes
Runtime | Tools |
| R + ggplot2, dplyr, tidyr, jsonlite |
| Python 3 + numpy, matplotlib, scipy, pandas, sympy, scikit-learn |
| Generic Mapping Tools |
| pdflatex (texlive) |
| GNU Octave |
| Julia |
| Gnuplot |
| Bash scripts |
Design
Each run spawns a fresh container — fully stateless, no reuse
Container deleted after execution (
--rm)Network access enabled
Memory limit: 2GB, CPU limit: 2 cores
Input files injected at
/sandbox/input/(base64)Output files collected from
/sandbox/output/(base64)
Build the sandbox image
podman build -t mcp-sandbox:latest -f Containerfile .Install
useradd -r -m -d /var/lib/mcp-sandbox sandbox
echo "sandbox:100000:65536" >> /etc/subuid
echo "sandbox:100000:65536" >> /etc/subgid
python3 -m venv venv
venv/bin/pip install -e .Configuration
HOST=127.0.0.1
PORT=8815
SANDBOX_IMAGE=mcp-sandbox:latest
DEFAULT_TIMEOUT=60
MAX_TIMEOUT=300License
Apache-2.0
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lemenkov/mcp-sandbox'
If you have feedback or need assistance with the MCP directory API, please join our Discord server