I developed an open-source Python implementation of Anthropic/Cloudflare idea of calling MCPs by code execution
reddit.com·8h·
Discuss: r/ClaudeAI
Flag this post

After seeing the Anthropic post and Cloudflare Code Mode, I decided to develop a Python implementation of it. My approach is a containerized solution that runs any Python code in a containerized sandbox. It automatically discovers current servers which are in your Claude Code config and wraps them in the Python tool calling wrapper.

Here is the GitHub link: https://github.com/elusznik/mcp-server-code-execution-mode

I wanted it to be secure as possible:

Total Network Isolation: Uses –network none. The code has no internet or local network access.

Strict Privilege Reduction: Drops all Linux capabilities (…

Similar Posts

Loading similar posts...