loading…
Search for a command to run...
loading…
Provides sandboxed code execution for AI agents with support for Python, JavaScript, and shell commands. Includes comprehensive safety features like destructive
Provides sandboxed code execution for AI agents with support for Python, JavaScript, and shell commands. Includes comprehensive safety features like destructive pattern blocking, timeout protection, and restricted file access for secure production use.
By MEOK AI Labs — Sandboxed code execution for Python, JavaScript, and shell commands with safety guards
pip install code-executor-mcp
python server.py
execute_codeExecute code in a sandboxed environment with safety checks. Dangerous patterns (os.system, eval, exec) are blocked.
Parameters:
code (str): Code to executelanguage (str): Language — 'python' or 'javascript' (default 'python')timeout (int): Timeout in seconds (max 60, default 30)run_commandExecute a shell command with safety filters. Destructive commands are blocked.
Parameters:
command (str): Shell commandtimeout (int): Timeout in seconds (max 60)run_testsRun a test suite and return results with pass/fail summary.
Parameters:
test_command (str): Test command (default 'python -m pytest')working_dir (str): Working directorytimeout (int): Timeout in seconds (default 60)read_fileRead file contents from allowed directories (Desktop, Documents, Downloads, /tmp, sandbox).
Parameters:
path (str): File pathlimit (int): Max lines to read (default 200)list_sandbox_filesList files in the sandbox working directory.
get_safety_rulesGet current safety rules and blocked patterns.
execute_code_dockerExecute code inside a temporary Docker container for full isolation.
Parameters:
code (str): Code to executelanguage (str): Language — 'python', 'node', 'bash'timeout_sec (int): Timeout in seconds (default 30)Free tier: 50 calls/day. Upgrade at meok.ai/pricing for unlimited access.
MIT — MEOK AI Labs
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"code-executor-mcp-server": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.