MCP Hub
Back to servers

Code Executor MCP Server

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.

glama
Updated
Apr 14, 2026

Code Executor MCP Server

By MEOK AI Labs — Sovereign AI tools for everyone.

Sandboxed code execution for AI agents. Run Python, JavaScript, and shell commands with safety guards, output capture, timeout protection, and file access restrictions.

MCPize MIT License MEOK AI Labs

Tools

ToolDescription
execute_codeExecute code in a sandboxed environment with safety checks
run_commandExecute a shell command and return stdout/stderr/exit_code
run_testsRun a test suite and return results
read_fileRead file contents (restricted to allowed directories)
list_sandbox_filesList files in the sandbox working directory
get_safety_rulesGet current safety rules and blocked patterns

Quick Start

pip install mcp
git clone https://github.com/CSOAI-ORG/code-executor-mcp.git
cd code-executor-mcp
python server.py

Claude Desktop Config

{
  "mcpServers": {
    "code-executor": {
      "command": "python",
      "args": ["server.py"],
      "cwd": "/path/to/code-executor-mcp"
    }
  }
}

Pricing

PlanPriceRequests
Free$0/mo50 executions/day, 30s timeout
Pro$9/moUnlimited, 120s timeout, Docker isolation
EnterpriseContact usCustom + network access + GPU execution

Get on MCPize

Part of MEOK AI Labs

This is one of 255+ MCP servers by MEOK AI Labs. Browse all at meok.ai or GitHub.


MEOK AI Labs | meok.ai | nicholas@meok.ai | United Kingdom

Reviews

No reviews yet

Sign in to write a review