# sudo-mcp

> sudo-mcp — 0xmh-sudo-mcp. Use this tool when you need to securely execute system commands with elevated privileges without exposing sensitive passwords to the model context. The sudo-mcp server solves the problem of securely running sudo commands by using a native OS password dialog, ensuring the password never enters the model context. It takes system commands as input and outputs the execution results, ideal for use cases like git operations that require elevated privileges.

Canonical page: https://skillsregistry.net/skills/0xmh-sudo-mcp  
JSON: https://api.skillsregistry.net/v1/skills/0xmh-sudo-mcp

## Description

MCP server that runs sudo via a native OS password dialog so the password never enters the model context.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **Category:** other
- **Updated:** 2026-09-21

## Source

- **Source listing:** [GitHub](https://github.com/0xMH/sudo-mcp)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "0xmh-sudo-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/0xmh-sudo-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/0xmh-sudo-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
