Skip to main content
Glama
ohvenkat

hostinger-ssh-mcp

by ohvenkat

# hostinger-ssh-mcp

一个通过 SSH 将 Claude Code 连接到 Hostinger VPS 的 MCP(Model Context Protocol)服务器。您可以直接在 VS Code 的 Claude Code 聊天界面中,在 VPS 上运行 shell 命令。

## 前提条件

- 已安装 [Claude Code](https://docs.anthropic.com/en/docs/claude-code/overview)

- 一台可通过 SSH 访问的 Hostinger VPS(或任何 Linux VPS)

- Node.js v18 或更高版本

## 安装

### 1. 安装软件包


npm install -g hostinger-ssh-mcp

### 2. 创建 .env 文件

在软件包目录中创建一个包含您的 VPS 凭据的 .env 文件:


VPS\_HOST=your\_vps\_ip\_address

VPS\_USER=your\_vps\_username

VPS\_PASS=your\_vps\_password

### 3. 注册到 Claude Code


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

### 4. 验证连接


claude mcp list

您应该会看到 hostinger-vps: ✓ Connected

## 使用方法

现在,您可以在 VS Code 的 Claude Code 聊天面板中自然地运行 VPS 上的命令:

- *"使用 run_command 检查 VPS 上的磁盘空间"*

- *"使用 run_command 显示正在运行的 Python 进程"*

- *"使用 run_command 查看 ~/mybot/bot.log 的最后 50 行"*

## 安全说明

- 切勿将您的 .env 文件提交到版本控制

- 在生产环境中,建议设置 SSH 密钥认证而不是使用密码

- 此软件包中包含的 .gitignore 会自动排除 .env

## 许可证

MIT

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables SSH remote access to servers through Claude, allowing users to execute commands, transfer files via SFTP, and manage multiple remote connections using natural language.
    12
    8
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables 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
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables Claude Code to control remote servers via SSH for automated deployment, testing, and operations, including command execution and file transfer.
    4

View all related MCP servers

Related MCP Connectors

  • Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.

  • Persistent context for Claude. Your AI always knows your projects and next actions across sessions.

  • Live SEO workflow tools for Claude Code, Codex, and AI agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ohvenkat/hostinger-ssh-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server