mcp-sudo
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-sudoupdate all system packages"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-sudo
MCP server for running sudo commands with encrypted password storage.
Exposes 4 tools to persist a sudo password (encrypted with a machine-bound key) and invoke privileged commands without re-entering credentials. Designed for single-user Linux workstations.
Tools
Tool | Purpose |
Store sudo password (encrypted, one-time) | |
Run shell command with sudo | |
Check if password is stored | |
Remove stored password |
Related MCP server: AgentsID Guard
Security model
Password is encrypted with Fernet (AES-128-CBC + HMAC-SHA256).
Encryption key is derived from
machine-id+USER— never stored on disk.Decryption only succeeds on the same machine with the same user.
Encrypted blob lives at
~/.config/claude-sudo-mcp/credential.enc(chmod 600).
This is not a secrets manager. Treat this as "remember my sudo password for this session on this box." If your machine-id is copied to another box or another user reads the MCP process, the password can be recovered.
Install
cd /path/to/mcp-sudo
uv venv --python 3.12 .venv
uv pip install --python .venv/bin/python mcp cryptography
claude mcp add sudo -s user -- \
/path/to/mcp-sudo/.venv/bin/python /path/to/mcp-sudo/server.pyOn first use, call store_password once to cache credentials.
Support the project ❤
Ko-fi: https://ko-fi.com/kamaru
Contact
Portfolio / general: k.kamarux@gmail.com
Commercial / licensing: contact@likezara.com
Copyright © 2026 likezara™. All rights reserved. Developed by Kamaru (pen name).
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that enables secure execution of shell commands across Windows, macOS, and Linux with built-in whitelisting and approval mechanisms for enhanced security.Last updated915619MIT

AgentsID Guardofficial
Alicense-qualityDmaintenanceMCP server that protects shell, file, database, git, and HTTP operations with per-agent permission rulesLast updated4MIT- AlicenseAqualityAmaintenanceA cross-platform MCP server providing secure, user-approved privilege escalation for Cursor agents, with tools for running commands as admin on Windows and root on Linux.Last updated2MIT
- Flicense-qualityCmaintenanceCross-platform MCP server for policy-controlled command execution on Linux and Windows, with no SSH dependency.Last updated
Related MCP Connectors
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
A paid remote MCP for hosted MCP server, built to return verdicts, receipts, usage logs, and audit-r
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/KamaruSama/mcp-sudo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server