MCP server for VPS management via SSH
npm install vps-mcpAn MCP server that enables an AI agent to connect to and control a VPS (Virtual Private Server) via SSH.
connect_vps: Establish SSH connection (Host, Port, User, Password/Key).disconnect_vps: Close the session.list_directory: List files/folders in a path (supports relative paths to CWD).create_directory: Create a new directory.read_file: Read file contents.write_file: Create or overwrite a file with content.delete_item: Recursively delete a file or directory.change_directory: Change the current working directory for subsequent commands.get_current_directory: Get the current tracked working directory.execute_command: Run shell commands. cd . change_directory instead of running cd here.Add the following configuration to your MCP client (e.g., Claude Desktop config file):
``json``
{
"mcpServers": {
"vps": {
"command": "npx",
"args": ["-y", "vps-mcp"]
}
}
}
If you find this project useful, consider supporting me on Patreon:
 or click here to donate.