Connects Claude to your Hostinger VPS over SSH so you can run shell commands directly from the VS Code chat interface. Uses password authentication via environment variables, though the docs recommend switching to SSH keys for production. You get a single run_command tool that lets you do things like check disk space, tail logs, or inspect running processes without leaving your editor. Good fit if you're managing a Hostinger VPS and want quick terminal access without context switching. Installation is straightforward with npx, and it registers as a user-scoped MCP server through Claude's CLI.
# hostinger-ssh-mcp
An MCP (Model Context Protocol) server that connects Claude Code to a Hostinger VPS via SSH. Run shell commands on your VPS directly from the Claude Code chat interface in VS Code.
## Prerequisites
- [Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview) installed
- A Hostinger VPS (or any Linux VPS) with SSH access
- Node.js v18 or higher
## Installation
### 1. Install the package
npm install -g hostinger-ssh-mcp
### 2. Create a .env file
Create a .env file in the package directory with your VPS credentials:
VPS\_HOST=your\_vps\_ip\_address
VPS\_USER=your\_vps\_username
VPS\_PASS=your\_vps\_password
### 3. Register with Claude Code
claude mcp add hostinger-vps --scope user -- npx hostinger-ssh-mcp
### 4. Verify the connection
claude mcp list
You should see hostinger-vps: ✓ Connected.
## Usage
In the Claude Code chat panel in VS Code, you can now run commands on your VPS naturally:
- *"Use run_command to check disk space on the VPS"*
- *"Use run_command to show running Python processes"*
- *"Use run_command to tail the last 50 lines of ~/mybot/bot.log"*
## Security Notes
- Never commit your .env file to version control
- Consider setting up SSH key authentication instead of password for production use
- The .gitignore included in this package excludes .env automatically
## License
MIT
VPS_HOST*Your Hostinger VPS IP address
VPS_USER*Your VPS SSH username (usually root)
VPS_PASS*secretYour VPS SSH password