Skip to main content
Glama
ohvenkat

hostinger-ssh-mcp

by ohvenkat
README.md
\# 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

```bash

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

```bash

claude mcp add hostinger-vps --scope user -- npx hostinger-ssh-mcp

```



\### 4. Verify the connection

```bash

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

TDQS

A3.7/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap. The single tool's purpose is clearly distinct by virtue of being the only option.

Naming Consistency5/5

The tool name 'run_command' follows a clear verb_noun pattern. Even without other tools to compare against, the naming is descriptive and consistent with common conventions.

Tool Count3/5

A single tool is borderline for a server named 'hostinger-ssh-mcp'. While it covers the core action of running SSH commands, the scope feels thin compared to typical SSH-related MCP servers that often include file transfer or session management tools.

Completeness4/5

The run_command tool can execute arbitrary shell commands, making it functionally versatile and capable of covering most typical operations (e.g., file manipulation, process management). However, it lacks specialized features like secure file upload/download or interactive session handling, which are minor gaps for an SSH-focused server.

Maintenance

ActivityInactive
ResponsivenessNo issues