I kinda got bored of claude code’s sudo commands failing. I know it’s by design and honestly workarounds are all worse than the problem. so i asked claude to build this tiny sudo mcp. Now when the agent needs root, a popup shows up, I type my password into it, and the command runs. the agent gets back stdout, stderr, and the exit code…etc This is what I came up with: https://github.com/0xMH/sudo-mcp Any one got another idea how do it better? I don’t care about guardrails and that stuff I always run my sessions with –dangerously-skip-permissions anyways and if smt breaks I ask claude in another –dangerously-skip-permissions session to fix it. submitted by /u/OilTechnical3488
Originally posted by u/OilTechnical3488 on r/ClaudeCode
You must log in or # to comment.
