Remote MCP Hub
Enables Notion AI to connect to a remote Linux server via MCP, allowing it to execute shell commands, retrieve system information, and perform server administration tasks through natural language prompts.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Remote MCP Hubcheck my Linux server's uptime and disk space"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🐧 Instructions for Installing and Running Remote MCP Hub on Linux VDS / VPS
A guide for quickly deploying Remote MCP Hub on a remote Linux server (Ubuntu, Debian, CentOS, AlmaLinux, Rocky, Alpine, etc.) to connect AI models (Notion AI, Claude, Cursor) in 24/7 mode. No VPN required — Cloudflare Tunnel works on VDS directly without restrictions.
📋 System Requirements
Any Linux VDS / VPS server
CPU architecture: x86_64 (amd64) or ARM64
SSH access (root or sudo privileges)
Related MCP server: ssh-mcp-server
⚡ Quick Start in 2 Minutes (3 Simple Steps)
Step 1. Connect to your VDS via SSH
ssh root@<IP_ВАШЕГО_СЕРВЕРА>Step 2. Download the project and run the installation
Run a single command in the server terminal:
git clone https://github.com/etern1ty-crypto/remote-mcp-hub-linux.git && cd remote-mcp-hub-linux && chmod +x *.sh && ./install.shThe script will automatically:
Check and install Node.js (version 20 LTS if not installed).
Install all required dependencies (
npm install).Download the official Cloudflare Tunnel module (
cloudflared).Generate a personal access key (Bearer Token).
Step 3. Start the server
Choose the option that suits you:
Option A: Run in 24/7 background mode (Recommended)
The server will keep running continuously in the background, even if you close the SSH terminal:
sudo ./service.sh installOption B: Run in the current console
For a quick start right in the current window:
./start.sh🔑 Getting the connection details
On startup (in the console or in the service logs), a ready-made block with the link and token will be displayed immediately:
=============================================================================
🟢 Cloudflare Tunnel успешно активен!
📡 MCP Server URL для подключения нейросети (Notion AI / Claude / Cursor):
👉 https://xxxxxxxx.trycloudflare.com/sse
🔑 Bearer Token:
👉 mcp_xxxxxxxxxxxxxxxxxxxxxxxxxxxx
=============================================================================🔄 Restart the server with a single command
If you need to restart the server and get a new tunnel:
./restart.sh(The script will detect the launch method on its own, properly reload the server, and immediately show the updated URL).
🔌 Connecting in Notion AI
In Notion settings, go to the Custom MCP Server section.
Fill in the fields:
MCP server URL: paste the copied address (
https://...trycloudflare.com/sse)Name: enter any name (e.g.,
My-Linux-VDS)Authentication: select the
BearertypeToken: paste your secret key (starts with
mcp_...)
Click the «Connect» / «Save» button.
🧪 Test request
Send a test message in Notion AI:
Привет! Проверь подключение к моему VDS: выполни команду "uname -a && uptime && free -h && df -h" и выведи результат.The AI will execute commands on the server and provide the system status.
🛠️ Useful management commands
./restart.sh # 🔄 Перезапуск сервера в одну команду
sudo ./service.sh logs # 📜 Просмотр логов и URL туннеля в реальном времени (Ctrl+C для выхода)
sudo ./service.sh status # 📊 Проверить состояние фоновой службы
sudo ./service.sh stop # ⏹️ Остановить службу
sudo ./service.sh uninstall # ❌ Полностью удалить службу из системы🔒 Security
No white-listed IPs or open ports needed: thanks to Cloudflare Tunnel, the server is accessible to the AI without opening any ports to the outside (the firewall is completely closed).
End-to-end HTTPS encryption.
Cryptographic Bearer authorization.
This server cannot be deployed
Maintenance
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Secure tunneling, reverse proxy and remote access for local applications.
- emisarOAuthdev.emisar
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
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.108 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to securely execute commands, transfer files, and manage port forwarding on remote servers via SSH.122 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-