We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/IBM/mcp-context-forge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
build-sandbox.sh•899 B
#!/bin/bash
# Build script for Python sandbox container
set -euo pipefail
# Build the sandbox container
echo "Building Python sandbox container..."
docker build -t python-sandbox:latest -f Dockerfile.sandbox .
echo "Sandbox container built successfully!"
echo "To test the container:"
echo " echo 'print(\"Hello from sandbox!\")' > test.py"
echo " docker run --rm -v \$(pwd)/test.py:/tmp/code.py:ro python-sandbox:latest"
# Optional: Test with gVisor if available
if docker info 2>/dev/null | grep -q "runsc"; then
echo ""
echo "gVisor runtime detected. Testing with gVisor:"
echo " docker run --rm --runtime=runsc -v \$(pwd)/test.py:/tmp/code.py:ro python-sandbox:latest"
else
echo ""
echo "gVisor runtime not detected. Container will run with default runtime."
echo "For maximum security, consider installing gVisor: https://gvisor.dev/docs/user_guide/install/"
fi