vps-mcp
by HarjjotSinghh
Overview
Enables an AI agent to connect to and control a Virtual Private Server (VPS) via SSH for remote command execution and file system operations.
Installation
npx -y vps-mcpSecurity Notes
The server's primary function is to execute arbitrary shell commands (`execute_command`) and perform powerful file system operations like recursive deletion (`delete_item` using `rm -rf`) on a connected VPS. While the server's code itself does not appear to have internal vulnerabilities like 'eval' or hardcoded secrets (SSH credentials are passed as arguments to tools), the capabilities it exposes are inherently high-risk. If a malicious or unconstrained AI agent interacts with this server, it could lead to complete compromise, data loss, or unauthorized access on the target VPS. The server wraps commands with the current working directory, but an agent can bypass this by explicitly providing absolute paths or changing the directory first. The method of passing raw private key content as a string via tool arguments is also a security concern for handling sensitive credentials.
Similar Servers
ssh-mcp-server
Bridging AI assistants to remote SSH server operations for command execution, file transfer, and server status retrieval via the Model Context Protocol (MCP).
mcp-ssh-orchestrator
Provides secure, policy-driven SSH orchestration for AI agents to manage server infrastructure with audit logging, enforcing zero-trust principles.
PowerShell.MCP
Enables AI assistants to execute arbitrary PowerShell commands and CLI tools for system automation, development tasks, and data analysis in a persistent, shared console environment.
mcp-ssh-manager
Manages remote SSH servers via the Model Context Protocol (MCP), enabling AI assistants like Claude Code and OpenAI Codex to execute commands, transfer files, monitor health, and automate DevOps tasks.