STB MCP Server
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., "@STB MCP ServerCheck system info and list Docker containers"
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.
STB MCP Server
mcp-name: io.github.lightnet19/stb-mcp-server
MCP Server untuk kontrol penuh server STB (Amlogic S9xx / Armbian) โ SSH via Cloudflare Tunnel + CasaOS + AdGuard Home.
Dibuat untuk Hermes Agent oleh Fuad Al Fajri.
Tools
# | Tool | Fungsi |
1 |
| ๐ง Jalankan perintah shell |
2 |
| ๐ Baca file |
3 |
| โ๏ธ Tulis file |
4 |
| ๐ Info sistem (OS, CPU, RAM, disk, uptime, suhu) |
5 |
| ๐ณ Daftar container running |
6 |
| ๐ Log container (tail N baris) |
7 |
| ๐ Restart container |
8 |
| ๐ Resource CPU/RAM container |
9 |
| ๐ก๏ธ Parameter utama AdGuard Home |
10 |
| ๐ Full file YAML AdGuard |
11 |
| ๐ Statistik DNS AdGuard |
12 |
| ๐งน Bersihkan root filesystem |
13 |
| ๐ Status CasaOS |
Related MCP server: interminal
Instalasi
Prasyarat
Python 3.10+
SSH key dengan akses ke server target
cloudflareddi PATH (untuk tunnel proxy)
Instalasi dari PyPI (Recommended)
pip install stb-mcp-serverSetup dari Source
git clone https://github.com/lightnet19/stb-mcp-server
cd stb-mcp-server
python3 -m venv venv
source venv/bin/activate
pip install -e .
# Register ke Hermes Agent
hermes mcp add stb --command "$(pwd)/run.sh"Konfigurasi SSH
Server membaca environment variables saat start. Default aman untuk publik (placeholder) โ override per instance via env:
Variabel | Default | Keterangan |
|
| Hostname/IP server target |
|
| User SSH |
|
| Path private key |
| nilai | Host untuk tunnel proxy ( |
Multi-Host (beberapa STB)
Satu codebase bisa melayani banyak STB sekaligus โ daftarkan instance MCP terpisah, masing-masing dengan wrapper + file env sendiri:
# .stb1.env (STB1 โ via Cloudflare Tunnel)
STB_HOST=stb1.your-domain.example.com
STB_USER=root
STB_KEY=/home/user/.ssh/stb1_key
STB_PROXY_HOST=stb1.your-domain.example.com# .stb2.env (STB2 โ via OVPN/LAN, tanpa proxy)
STB_HOST=10.0.0.5
STB_USER=root
STB_KEY=/home/user/.ssh/stb2_key
STB_PROXY_HOST=# run-stb2.sh (wrapper instance kedua)
#!/bin/bash
cd /path/to/stb-mcp-server
export PYTHONUNBUFFERED=1
set -a; source /path/to/stb-mcp-server/.stb2.env; set +a
exec /path/to/stb-mcp-server/venv/bin/python3 -m stb_mcp_server# Register instance kedua ke Hermes Agent
hermes mcp add stb2 --command "/path/to/stb-mcp-server/run-stb2.sh"โ ๏ธ File
.envberisi kredensial โ sudah ada.env*di.gitignore, JANGAN pernah di-commit ke repo publik.
Cara Kerja
[Hermes Agent] โ MCP stdio โ [stb-mcp-server] โ SSH โ [Server STB]Semua tool dieksekusi via SSH ke server target. SSH key + Cloudflare Tunnel digunakan untuk koneksi aman tanpa port terbuka.
Struktur Project
stb-mcp-server/
โโโ pyproject.toml # Package metadata
โโโ README.md # Dokumentasi
โโโ CONTRIBUTING.md # Panduan kontribusi
โโโ LICENSE # MIT License
โโโ run.sh # Wrapper script (Hermes entry point)
โโโ stb_mcp_server/
โโโ __init__.py
โโโ __main__.py # python3 -m entry point
โโโ server.py # Tools MCP (FastMCP)Publikasi
GitHub: lightnet19/stb-mcp-server
Lisensi: MIT
Kontribusi
Silakan lihat CONTRIBUTING.md untuk panduan kontribusi.
This server cannot be deployed
Maintenance
Related MCP Connectors
Remote MCP server for Web3TV creators โ manage your account over MCP.
Remote MCP server to read and manage your Atako AI agents, messages, files, and integrations.
MCP server for Hostinger API
Related MCP Servers
- AlicenseBqualityCmaintenanceMCP server for full Home Assistant control, enabling AI agents to manage dashboards, automations, files, apps, entities, and more via REST API, WebSocket, and SSH.6686 npmMIT
- AlicenseAqualityAmaintenanceMCP server for SSH and local terminal access. Supports interactive commands, long-running processes, and TUI apps like tmux/zellij63MIT
- AlicenseAqualityDmaintenanceMCP server for monitoring and controlling WiFi routers (OpenWrt) via SSH, enabling device listing, status checks, WiFi configuration, rebooting, and more.74 npmMIT
- AlicenseNot gradedqualityCmaintenanceSSH-based MCP server that enables remote execution of SSH commands, file transfers, and secure server management via the MCP protocol.ISC