# 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