
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
vps-guardian-mcp
Advanced tools
Secure MCP server for Linux VPS observability, guarded administration, and AI-agent collaboration.
VPS Guardian is a secure Model Context Protocol server for AI agents that work with Linux VPSs. It replaces an unrestricted “run this command and paste the result” loop with named, structured and safety-checked operations.
An agent can inspect a workload, collect bounded diagnostics, preview the impact of a change, and request an exact confirmation for a mutation. The server never exposes a general-purpose shell tool.
Explore the project: capabilities · agent workflows · security model · tool catalogue · release notes
VPS Guardian has two parts:
Run once on the VPS. This installs the published, pinned release:
sudo mkdir -p /opt/vps-guardian-mcp
sudo chown "$USER" /opt/vps-guardian-mcp
python3 -m venv /opt/vps-guardian-mcp/.venv
/opt/vps-guardian-mcp/.venv/bin/pip install --upgrade pip
/opt/vps-guardian-mcp/.venv/bin/pip install vps-guardian-mcp==0.22.0
For development from source instead:
git clone --branch v0.22.0 https://github.com/murzirius/VPS-Guardian-MCP.git /opt/vps-guardian-mcp
cd /opt/vps-guardian-mcp
python3 -m venv .venv
.venv/bin/pip install -e .
If the server runs as a non-root user, grant only the required read access. Docker and journal features gracefully report as unavailable when that access is absent.
sudo usermod -aG docker <MCP_USER>
sudo usermod -aG systemd-journal <MCP_USER>
Log out and back in after changing groups.
| Mode | Use it when | Result |
|---|---|---|
read-only | Inspecting or diagnosing | Default. Every mutation is blocked. |
controlled | Assisted administration | Recommended. Each exact change needs a short-lived, single-use confirmation token. |
unrestricted | A separately protected automation environment | Changes run immediately. Avoid on a general-purpose agent. |
Start with read-only; use controlled once the connection is verified.
First verify the VPS fingerprint independently and make a normal SSH connection once. That stores the host key in ~/.ssh/known_hosts (or %USERPROFILE%\.ssh\known_hosts on Windows). The launcher requires host-key verification by default.
Use this configuration for JSON-based MCP clients:
{
"mcpServers": {
"vps-guardian": {
"command": "npx",
"args": [
"-y",
"@murzirius/vps-guardian-mcp@0.22.0",
"--host", "<VPS_IP_OR_HOSTNAME>",
"--user", "root",
"--key", "~/.ssh/id_ed25519",
"--mode", "controlled"
]
}
}
}
Every item in args is a separate argument. Do not join --host with its value or paste the entire command into one form field.
Open Settings → MCP servers → Add server, choose STDIO, then enter:
| Field | Value |
|---|---|
| Name | vps-guardian |
| Command | npx |
| Environment variables | Leave empty |
| Working directory | Leave empty/default |
Add these arguments as separate rows, in order:
-y
@murzirius/vps-guardian-mcp@0.22.0
--host
<VPS_IP_OR_HOSTNAME>
--user
root
--key
C:\Users\<WindowsUser>\.ssh\id_ed25519
--mode
controlled
Save, restart the client, then use /mcp to confirm that vps-guardian is connected.
Claude Code
claude mcp add vps-guardian -- npx -y @murzirius/vps-guardian-mcp@0.22.0 --host <VPS_IP_OR_HOSTNAME> --user root --key ~/.ssh/id_ed25519 --mode controlled
A non-root SSH user — replace root after --user. Do not add passwordless sudo just for the MCP; grant the minimum group permissions needed.
A non-standard port — add separate arguments:
--port
2222
A different server location — add:
--remote-path
/srv/vps-guardian/.venv/bin/vps-guardian-mcp
Host key verification failed — do not disable verification. Check the VPS fingerprint through a trusted channel and correct known_hosts. Use --known-hosts <path> for a dedicated file. --accept-new-host-key is only for an intentional first-time bootstrap.
Ask the agent: “Check CPU and RAM load on my server.” A correct setup returns structured VPS data rather than a shell command for you to run.
To upgrade the VPS server, install the matching version and restart the client connection:
/opt/vps-guardian-mcp/.venv/bin/pip install --upgrade vps-guardian-mcp==X.Y.Z
Then replace @0.20.1 with @X.Y.Z in the client configuration. For source installations, fetch the tag, inspect local changes, check out the tag, and reinstall with .venv/bin/pip install -e ..
VPS Guardian is built around a few workflows instead of a long, unstructured command list:
Examples of native MCP tools:
| Request | Example tool | Result |
|---|---|---|
| “Why is the API slow?” | diagnose_workload | Bounded health, logs, OOM and kernel evidence. |
| “What will a restart affect?” | get_change_impact | A read-only dependency and impact report. |
| “Hand this incident to another agent.” | handoff_agent_session | Secret-redacted context and outcome tracking. |
| “Deploy this Nginx change safely.” | plan_config_deployment | Validated diff, backup, confirmation and rollback path. |
See the complete capability guide and full tool catalogue on the project site.
controlled mode uses parameter-bound, single-use confirmation tokens.Details: security model · agent operating guide
@murzirius/vps-guardian-mcpvps-guardian-mcpio.github.murzirius/vps-guardian-mcppython -m unittest discover -s tests -v
npm test
Please report security issues privately rather than publishing exploit details in a public issue.
MIT © 2026 murzirius.
FAQs
Secure MCP server for Linux VPS observability, guarded administration, and AI-agent collaboration.
We found that vps-guardian-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.