Skip to main content
Glama

Code Sandbox MCP Server

by philschmid
Dockerfile.python660 B
FROM python:3.13-slim # Install system dependencies RUN apt-get update && apt-get install -y \ build-essential \ libpq-dev \ && rm -rf /var/lib/apt/lists/* \ && mkdir -p /tmp/sandbox_output /tmp/sandbox_plots /tmp/pip_cache # Pre-install Python packages RUN pip install --upgrade pip --cache-dir /tmp/pip_cache \ numpy \ pandas \ matplotlib \ scikit-learn \ requests # Install more specific libraries RUN pip install --upgrade pip --cache-dir /tmp/pip_cache \ google-genai # Create working directory WORKDIR /sandbox # Optional: Create directories for output RUN mkdir -p /tmp/sandbox_output /tmp/sandbox_plots

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/philschmid/code-sandbox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server