io.github.ohvenkat/hostinger-ssh-mcp
MCP server for connecting Claude Code to a Hostinger VPS via SSH
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
hostinger-ssh-mcpclaude mcp add hostinger-ssh-mcp -e 'VPS_HOST=<VPS_HOST>' -e 'VPS_USER=<VPS_USER>' -e 'VPS_PASS=<your vps_pass>' -- npx -y hostinger-ssh-mcp@1.0.2
{
"mcpServers": {
"hostinger-ssh-mcp": {
"command": "npx",
"args": [
"-y",
"hostinger-ssh-mcp@1.0.2"
],
"env": {
"VPS_HOST": "<VPS_HOST>",
"VPS_USER": "<VPS_USER>",
"VPS_PASS": "<your vps_pass>"
}
}
}
}
متغيرات البيئة
VPS_HOSTإلزامي Your Hostinger VPS IP addressVPS_USERإلزامي Your VPS SSH username (usually root)VPS_PASSإلزامي سري Your VPS SSH password
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
\# 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 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
الأسئلة الشائعة
ما هو io.github.ohvenkat/hostinger-ssh-mcp؟
MCP server for connecting Claude Code to a Hostinger VPS via SSH
كيف أثبّت io.github.ohvenkat/hostinger-ssh-mcp؟
يعمل على جهازك. في Claude Code: claude mcp add hostinger-ssh-mcp -e 'VPS_HOST=<VPS_HOST>' -e 'VPS_USER=<VPS_USER>' -e 'VPS_PASS=<your vps_pass>' -- npx -y hostinger-ssh-mcp@1.0.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.ohvenkat/hostinger-ssh-mcp إلى مفتاح API؟
نعم. يتطلب VPS_HOST, VPS_USER, VPS_PASS، وتضبطها في إعداداته.
هل io.github.ohvenkat/hostinger-ssh-mcp مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.ohvenkat/hostinger-ssh-mcp؟
ينشره ohvenkat. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.