
Hostinger Ssh Mcp
io.github.ohvenkat由 GitHub 账号 ohvenkat 发布v1.0.2更新于 Oct 24, 2026
MCP server for connecting Claude Code to a Hostinger VPS via SSH
概览
一个本地 MCP 服务器,让 Claude Code 通过 SSH 在 Hostinger 或其他 Linux VPS 上执行 shell 命令。
- 可以做什么
- 通过 SSH 从聊天界面在远程 VPS 上执行 shell 命令,例如查看磁盘空间、列出运行中的进程或查看日志文件末尾。
- 适用场景
- 适合希望直接在 Claude Code 中查看或操作 Hostinger 或其他 Linux VPS、而不必另开终端会话的场景。
- 运行要求
- 需要 Node.js v18 或更高版本、Claude Code,以及可通过 SSH 访问的 Linux VPS。凭据通过环境变量 VPS_HOST、VPS_USER 和 VPS_PASS 提供,通常写在包目录下的 .env 文件中。
安装
在 SourceWeft 中
- 打开 控制台中的 Hostinger Ssh Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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
### 2. Create a .env file
Create a .env file in the package directory with your VPS credentials:
### 3. Register with Claude Code
### 4. Verify the connection
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
来源:README.md,提交 f4615da
工具
0版本历史
1- v1.0.2最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。