←back to thread

MCP Run Python

(github.com)
173 points xrd | 1 comments | | HN request time: 0.406s | source
Show context
behnamoh ◴[] No.43718268[source]
So their method of sandboxing Python code is to spin up a JS runtime (deno), run Pyodide on it, and then run the Python code in Pyodide.

Seems a lot of work to me. Is this really the best way to create and run Python sandboxes?

replies(11): >>43718335 #>>43718770 #>>43718841 #>>43719300 #>>43719370 #>>43719672 #>>43719881 #>>43721408 #>>43722369 #>>43723869 #>>43726452 #
kissgyorgy ◴[] No.43718335[source]
Not at all.
replies(1): >>43718720 #
jononor ◴[] No.43718720[source]
What is the best way? Or at least, a better way?
replies(3): >>43719590 #>>43720219 #>>43721566 #
1. kissgyorgy ◴[] No.43720219[source]
Landlock, cgroups on Linux