MCP-WASMPython-Runner

MCP-WASMPython-Runner

3.3

MCP-WASMPython-Runner is a safe MCP Python Runner with a Docker Image.

MCP-WASMPython-Runner is a model context protocol server designed to safely execute Python scripts within a Docker environment. It leverages the power of Docker to ensure that Python code is run in a secure and isolated manner, making it ideal for environments where security and resource management are critical. The server is easy to set up and manage, with a focus on providing a seamless experience for developers and users alike. By using Docker, MCP-WASMPython-Runner ensures that the execution environment is consistent across different platforms, reducing the likelihood of environment-specific issues. The server is particularly useful for applications that require the execution of Python scripts in response to events or requests, such as in machine learning or data processing pipelines.

Features

  • Docker Integration: Utilizes Docker to provide a secure and isolated environment for running Python scripts.
  • Easy Setup: Quick start with docker-compose, allowing for rapid deployment and testing.
  • Hot Reload: Supports development mode with hot reload for efficient testing and iteration.
  • Consistent Environment: Ensures a consistent execution environment across different platforms.
  • Secure Execution: Provides a safe environment for running potentially untrusted Python code.

Usage with Different Platforms

docker_compose_start

bash
git clone https://github.com/OrbitZore/MCP-WASMPython-Runner.git
cd 'MCP-WASMPython-Runner'
make start

docker_compose_stop

bash
make stop

development_mode

bash
make dev

build_docker_image

bash
make