News for hackers. Stuff that matters.
Re:MCP Run Python by simonw on Friday April 18, 2025 @03:12AM (#43725761)
Yeah, I got excited about that option a while back but was put off by the fact that Apple's (minimal) documentation say sandbox-exec is deprecated.
Re:MCP Run Python by fzzzy on Friday April 18, 2025 @08:15AM (#43727342)
OpenAI's Codex CLI uses it on macOS. It's in typescript but maybe I'll take a look at what they do and port it to python.
Re:MCP Run Python by fzzzy on Friday April 18, 2025 @09:53AM (#43728116)
I cleaned up the output of asking Gemini 2.5 Pro to rewrite it in python, and it seems to work well:

https://gist.github.com/fzzzy/319d6cbbdfff9c340d0e9c362247ae...