Running commands in isolated environments? #38
Replies: 5 comments 3 replies
-
Its not immediate feature but having option to restrict MCP to work inside of disposable container for security is something that is on my radar. What kind of dev containers are you using? |
Beta Was this translation helpful? Give feedback.
-
Personally, for Linux, I set up an "ai" user on my machine and then added myself to the :ai group. I'd be curious about how to run this in a container, though I suspect there's a fancy docker command you could use to do it if node is installed inside the container.
And in sudoers I added: |
Beta Was this translation helpful? Give feedback.
-
I've been using devcontainers: https://github.com/mikegehard/devcontainers-for-isolation I wrote up some thoughts here about the why: https://github.com/mikegehard/ai-assisted-agile-development/blob/main/playbooks/ai-generated-code-execution.md |
Beta Was this translation helpful? Give feedback.
-
Does file commander supports wsl2 in windows |
Beta Was this translation helpful? Give feedback.
-
This project looks promising, but unfortunately it doesn't yet support Linux and Windows. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any plan to support running commands in an isolated environment for added security?
Running generated code and/or running terminal commands can open up the host machine to security problems.
I’ve started to use dev containers to help mitigate that. Is there any plan to support that in this mcp server?
Beta Was this translation helpful? Give feedback.
All reactions