mcpField
H
hostinger-ssh-mcp

hostinger-ssh-mcp

Local
github.com/ohvenkatCloud & Infra0Updated 30w ago

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

  1. 01Connect to a VPS over SSH
  2. 02Run shell commands from Claude Code
  3. 03Configure VPS credentials with environment variables

Use cases

  1. 01Check VPS disk space
  2. 02Inspect running processes
  3. 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.

mcp.json · Universal config
{
"mcpServers": {
"ohvenkat-hostinger-ssh": {
"command": "npx",
"args": [
"-y",
"hostinger-ssh-mcp"
],
"env": {
"VPS_HOST": "<VPS_HOST>",
"VPS_USER": "<VPS_USER>",
"VPS_PASS": "<VPS_PASS>"
}
}
}
}
Run commandnpx -y hostinger-ssh-mcp
Environment variables to set
VPS_HOSTYour Hostinger VPS IP address
VPS_USERYour VPS SSH username (usually root)
VPS_PASSSecretYour VPS SSH password

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmhostinger-ssh-mcp1.0.2

Tools

1

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
commandstringYesThe 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

Markdown supported

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.