hostinger-ssh-mcp
# hostinger-ssh-mcp
Un servidor MCP (Model Context Protocol) que conecta Claude Code a un VPS de Hostinger mediante SSH. Ejecuta comandos de shell en tu VPS directamente desde la interfaz de chat de Claude Code en VS Code.
## Requisitos previos
- [Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview) instalado
- Un VPS de Hostinger (o cualquier VPS Linux) con acceso SSH
- Node.js v18 o superior
## Instalación
### 1. Instala el paquete
npm install -g hostinger-ssh-mcp
### 2. Crea un archivo .env
Crea un archivo .env en el directorio del paquete con las credenciales de tu VPS:
VPS\_HOST=your\_vps\_ip\_address
VPS\_USER=your\_vps\_username
VPS\_PASS=your\_vps\_password
### 3. Registra con Claude Code
claude mcp add hostinger-vps --scope user -- npx hostinger-ssh-mcp
### 4. Verifica la conexión
claude mcp list
Deberías ver hostinger-vps: ✓ Connected.
## Uso
En el panel de chat de Claude Code en VS Code, ahora puedes ejecutar comandos en tu VPS de forma natural:
- *"Usa run_command para comprobar el espacio en disco del VPS"*
- *"Usa run_command para mostrar los procesos de Python en ejecución"*
- *"Usa run_command para ver las últimas 50 líneas de ~/mybot/bot.log"*
## Notas de seguridad
- Nunca hagas commit de tu archivo .env al control de versiones
- Considera configurar la autenticación con clave SSH en lugar de contraseña para uso en producción
- El .gitignore incluido en este paquete excluye .env automáticamente
## Licencia
MIT
Available Tools
1 toolrun_commandA
Run a shell command on the Hostinger VPS via SSH
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | The shell command to run |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It only states that it runs a command, but does not disclose potential side effects (destructive commands), permission requirements, user context, or failure modes. For an operation that executes arbitrary shell code, this is a significant transparency gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that is front-loaded with the core action and target. There is zero redundancy, and every word contributes to understanding the tool's purpose. It is appropriately sized for a simple one-parameter tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple command-execution tool with a fully documented parameter and no output schema, the description is minimally adequate. However, it does not mention whether output is returned, how errors are handled, or any security considerations (e.g., requiring sudo or being non-interactive). Given that it executes arbitrary shell commands, these details would materially improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, and the single parameter's description ('The shell command to run') already explains its meaning. The tool description adds no additional context beyond the schema, so it meets the baseline of 3 but does not exceed it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Run a shell command') and the specific target environment ('on the Hostinger VPS via SSH'), providing a specific verb and resource. Even without siblings, the purpose is unambiguous and immediately distinguishable from any other tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when a shell command needs to be executed on the VPS, but it provides no explicit context about when to use it versus alternatives (though none are listed as siblings). There is no mention of prerequisites, limitations, or scenarios where this tool might not be appropriate, leaving usage guidance solely to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v1.0.0- First observed
run_command
TDQS
Scored across 1 tool
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.
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.
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.
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
Related MCP Connectors
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
I run shell commands on your private cloud environment (bash, sh, zsh)
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables SSH remote access to servers through Claude, allowing users to execute commands, transfer files via SFTP, and manage multiple remote connections using natural language.129MIT
- FlicenseNot gradedqualityDmaintenanceEnables managing Ubuntu/Linux servers through natural language by establishing SSH connections and executing remote commands. Supports real-time command execution and output through Claude Desktop or Cursor IDE.14-
- AlicenseAqualityCmaintenanceEnables Claude to connect to servers via SSH, execute commands, transfer files, and manage connections through natural language.92 npm1MIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables Claude Code to control remote servers via SSH for automated deployment, testing, and operations, including command execution and file transfer.4-