Code Mode

Sandboxed Python code execution with DSpy-powered reasoning that orchestrates external tools through generated code, featuring con

hoangnb24 23
Claude CodeClaude DesktopGeneric
View source ↗

Provides sandboxed Python code execution capabilities where AI agents can write and execute Python scripts that orchestrate multiple MCP tool operations. Features a DSpy-powered reasoning system that generates code to accomplish tasks, with configurable sandbox options for network access, environment variables, and file system permissions. Includes policy enforcement for code safety with character and line limits, allowlisted imports, timeout handling, and a local HTTP bridge that allows sandboxed code to securely call external MCP tools.

Source

Repository: https://github.com/hoangnb24/mcp-code-mode

Maintain Code Mode?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Code Mode on getagentictools](https://getagentictools.com/mcp/hoangnb24-mcp-code-mode?ref=badge)