mcp-code-sandbox

mcp-code-sandbox

11

The MCP Code Sandbox Server is designed to provide secure and isolated environments for executing Python code. Its extensible architecture allows integration with various code execution backends, and it includes tools for sandbox administration, code execution, and file management.

MCP Code Sandbox Server

An extensible MCP server providing secure code execution in isolated sandbox environments, compatible with Claude for Desktop and other MCP clients.

Features

  • Isolated sandbox environments
  • Python code execution
  • File operations
  • Python package installation
  • Extensible architecture
  • Modular design

Usage

  • Run the server from the command line

Available Tools

  • Sandbox administration
  • Code execution
  • File operations

Extending with New Interpreters

  • Implement new interpreters by creating directories under src/sandbox/

Security Considerations

  • Execute code in sandboxed environments for safety