Remote MCP Hub
🐧 Linux VDS / VPS での Remote MCP Hub のインストールと起動手順
リモート Linux サーバー (Ubuntu、Debian、CentOS、AlmaLinux、Rocky、Alpine など) に Remote MCP Hub をすばやくデプロイし、ニューラルネットワーク (Notion AI、Claude、Cursor) を 24/7 モードで接続するためのガイドです。 VPN は不要です — Cloudflare Tunnel は VDS 上でブロックなしで直接動作します。
📋 システム要件
任意の Linux VDS / VPS サーバー
CPU アーキテクチャ: x86_64 (amd64) または ARM64
SSH アクセス (root または sudo 権限)
Related MCP server: ssh-mcp-server
⚡ 2分でできるクイックスタート (3つの簡単なステップ)
ステップ 1. SSH で VDS に接続します
ssh root@<IP_ВАШЕГО_СЕРВЕРА>ステップ 2. プロジェクトをダウンロードしてインストールを実行します
サーバーのターミナルで次の 1 つのコマンドを実行します:
git clone https://github.com/etern1ty-crypto/remote-mcp-hub-linux.git && cd remote-mcp-hub-linux && chmod +x *.sh && ./install.shスクリプトは自動的に:
Node.js (未インストールの場合はバージョン 20 LTS) を確認してインストールします。
必要な依存関係をすべてインストールします (
npm install)。公式の Cloudflare Tunnel モジュール (
cloudflared) をダウンロードします。個人用アクセスキー (Bearer Token) を生成します。
ステップ 3. サーバーの起動
適切なオプションを選択してください:
オプション A: バックグラウンドで 24/7 モードで起動 (推奨)
SSH ターミナルを閉じても、サーバーはバックグラウンドで継続的に動作します:
sudo ./service.sh installオプション B: 現在のコンソールで起動
現在のウィンドウですばやく起動する場合:
./start.sh🔑 接続データの取得
起動時 (コンソールまたはサービスログ) に、リンクとトークンを含む準備済みのブロックがすぐに表示されます:
=============================================================================
🟢 Cloudflare Tunnel успешно активен!
📡 MCP Server URL для подключения нейросети (Notion AI / Claude / Cursor):
👉 https://xxxxxxxx.trycloudflare.com/sse
🔑 Bearer Token:
👉 mcp_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
=============================================================================🔄 1つのコマンドでサーバーを再起動
サーバーを再起動して新しいトンネルを取得する必要がある場合:
./restart.sh(スクリプトが起動方法を自動的に判別し、サーバーを正しく再起動して、更新された URL をすぐに表示します)。
🔌 Notion AI での接続
Notion の設定で Custom MCP Server セクションに移動します。
フィールドに入力します:
MCP server URL: コピーしたアドレスを貼り付けます (
https://...trycloudflare.com/sse)Name: 任意の名前を指定します (例:
My-Linux-VDS)Authentication: タイプ
Bearerを選択しますToken: シークレットキーを貼り付けます (
mcp_...で始まります)
「Connect」 / 「Save」 ボタンをクリックします。
🧪 テストリクエスト
Notion AI にテストメッセージを送信します:
Привет! Проверь подключение к моему VDS: выполни команду "uname -a && uptime && free -h && df -h" и выведи результат.ニューラルネットワークがサーバー上でコマンドを実行し、システムステータスを提供します。
🛠️ 便利な管理コマンド
./restart.sh # 🔄 Перезапуск сервера в одну команду
sudo ./service.sh logs # 📜 Просмотр логов и URL туннеля в реальном времени (Ctrl+C для выхода)
sudo ./service.sh status # 📊 Проверить состояние фоновой службы
sudo ./service.sh stop # ⏹️ Остановить службу
sudo ./service.sh uninstall # ❌ Полностью удалить службу из системы🔒 セキュリティ
ホワイト IP やオープンポートは不要です: Cloudflare Tunnel により、サーバーはポートを外部に開放することなく (ファイアウォールは完全に閉じた状態で) ニューラルネットワークからアクセス可能です。
エンドツーエンドの HTTPS 暗号化。
暗号化された Bearer 認証。
This server cannot be deployed
Maintenance
Related MCP Connectors
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Termalin's hosted MCP server. Claude, ChatGPT or any MCP client runs commands, moves files over SFTP, queries databases and reads server metrics and monitoring alerts on your servers, keylessly through Termalin Connectors: no SSH key is handed over and no inbound port is opened. Per-host command policy and an audit log. Needs a termal.in Pro or Team account (new accounts start with a 14-day Pro trial).
Connect AI assistants to explicitly paired computers, servers, and VMs for permitted remote actions.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to securely execute shell commands on local machines through an SSH interface with session management, command execution, and sudo support.1-
- AlicenseAqualityCmaintenanceEnables AI assistants to securely execute remote SSH commands, perform file transfers, and monitor system status through a standardized interface. It features robust security controls including command whitelisting, blacklisting, and credential isolation to prevent unauthorized operations.1021 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to securely execute commands, transfer files, and manage port forwarding on remote servers via SSH.133 npm37Apache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables external AI (ChatGPT, Claude) to securely access a local workspace via Cloudflare Tunnel, providing file operations, shell commands, Git operations, and more with bearer token authentication and sandbox isolation.1-