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

概覽

AI 產生的概覽

一個本機 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 檔案中。
安裝前請注意
此伺服器持有 SSH 憑證(包括機密 VPS_PASS),並會在 VPS 上執行任意 shell 指令,可能修改或刪除資料,執行前應先確認。請勿將 .env 檔案提交到版本控制;README 建議正式環境改用 SSH 金鑰驗證而非密碼。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Hostinger Ssh Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

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

來源:README.md,提交 f4615da

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.2最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。