STB MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
Related MCP Connectors
Linux server administration over OAuth MCP: shell, Docker, systemd, files and monitoring.
Remote MCP access to user-authorized Linux, Windows and Intel Mac devices for AI assistants.
Remote MCP server for Web3TV creators โ manage your account over MCP.
SSH client, server management and one remote MCP URL for your machines, with human approvals.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server for full Home Assistant control, enabling AI agents to manage dashboards, automations, files, apps, entities, and more via REST API, WebSocket, and SSH.66173 npmMIT
- AlicenseAqualityCmaintenanceMCP server for SSH and local terminal access. Supports interactive commands, long-running processes, and TUI apps like tmux/zellij64MIT
- AlicenseAqualityDmaintenanceMCP server for monitoring and controlling WiFi routers (OpenWrt) via SSH, enabling device listing, status checks, WiFi configuration, rebooting, and more.717 npmMIT
- AlicenseNot gradedqualityDmaintenanceSSH-based MCP server that enables remote execution of SSH commands, file transfers, and secure server management via the MCP protocol.ISC