About hostinger-ssh-mcp
hostinger-ssh-mcp connects Claude Code to a Hostinger VPS or other Linux VPS. It lets users run VPS shell commands through SSH from the Claude Code chat interface in VS Code.
Key features
- 01Connect to a VPS over SSH
- 02Run shell commands from Claude Code
- 03Configure VPS credentials with environment variables
Use cases
- 01Check VPS disk space
- 02Inspect running processes
- 03View log files on a VPS
MCP support
It gives Claude Code the ability to run VPS commands by connecting to the VPS over SSH.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y hostinger-ssh-mcpVPS_HOSTYour Hostinger VPS IP addressVPS_USERYour VPS SSH username (usually root)VPS_PASSSecretYour VPS SSH passwordLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
1Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| command | string | Yes | The shell command to run |
Details
From the project README# 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
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.