mcp-server-code-execution-mode
mcpmain@27d23b8e2c76An MCP server that executes Python code in isolated rootless containers with optional MCP server proxying. Implementation of Anthropic's and Cloudflare's ideas for reducing MCP tool definitions context bloat.
By elusznik | 3 findings | Scanned 10/15/2026 | tooltrust-scanner/v0.3.20 | 340
Repository health
Popularity and maintenance signals alongside the security grade.
340
current snapshot
33
current snapshot
2
public GitHub contributors
Dec 5, 2025
GitHub repository activity
Not collected
GitHub metadata pending
Not collected
Latest GitHub release
Stars trend
Daily star additions · History data pending
No observed star events yet.
Pull request activity
Weekly PR events · History data pending
No observed PR events yet.
Risk Summary
Needs ApprovalTool Drift plus Arbitrary Code Execution raises enough risk that this tool should not be auto-trusted.
Potential impact: This finding indicates the tool should be reviewed before it is trusted.
Recommended action: Keep this tool behind manual approval and avoid unattended runs until the risky capabilities are narrowed or removed.
Suggested policy: keep this tool behind manual approval, do not allow unattended runs, and re-scan after narrowing risky permissions.
Security Findings (3)
run-code:tool name or description implies arbitrary script/code execution (evaluate_script, execute javascript, etc.)
Fix: This tool can execute arbitrary code or shell commands on the host system. Remove it unless strictly required. If kept: (1) restrict access to trusted users/agents only, (2) require human approval before each invocation (Claude Desktop: set approval_required: true; other clients: enable equivalent confirmation), (3) use the most restrictive sandbox or read-only mode available, and (4) never expose this tool to untrusted input sources.
Tool set changed silently at vsha-27d23b8e2c76: 1 tool(s) added, 5 tool(s) removed without a version bump.
+ 1 added
run-code− 5 removed
CODEINTERPRETER_CREATE_SANDBOXCODEINTERPRETER_EXECUTE_CODECODEINTERPRETER_GET_FILE_CMDCODEINTERPRETER_RUN_TERMINAL_CMDCODEINTERPRETER_UPLOAD_FILE_CMDFix: The set of tools exposed by this server changed between scans of the same version — a sign the package was silently updated without a version bump. Audit the changelog and all tool definitions before trusting this server. Pin to a specific commit hash rather than a floating version tag.
run-code:Tool did not expose metadata.dependencies or repo_url, so supply-chain coverage is limited.
Fix: Review and remediate the identified issue.
Scan this tool yourself
Reproduce this audit locally, integrate into CI, or let your agent audit its own tools.
Install once, then scan any MCP server:
$ curl -sfL https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-scanner/main/install.sh | bash$ tooltrust-scanner scan --server "npx -y mcp-server-code-execution-mode"Adjust the package name if your npm registry name differs from the tool ID. View source
Add badge to your README
Copy this Markdown to show your ToolTrust grade on GitHub.
[](https://github.com/AgentSafe-AI/tooltrust-directory)