Back to Home
zerolagtime icon

mcp-server-python

Verified Safe

by zerolagtime

Overview

A Minimal Compute Platform (MCP) tool for the continue.dev VSCode plugin to execute, lint, type-check, and security-scan Python code in an isolated Docker environment.

Installation

Run Command
docker run --rm -i -v "${workspaceFolder}:/workspace" python-mcp

Security Notes

The server implements robust sandboxing mechanisms, including running in an isolated Docker container as a non-root user, dynamically blocking dangerous Python imports/builtins (like 'eval', 'exec', 'compile', network modules, and system execution modules) from user code, and using isolated temporary directories for each session. This significantly reduces the risk of malicious code execution or data exfiltration. Execution also includes a 30-second timeout. While no sandbox is perfectly impenetrable, these measures provide a high level of security for untrusted code execution.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Stars0
Forks0
Last Update2025-11-25

Tags

PythonDockerCode AnalysisAI Agent ToolSecurity Scanning