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β¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Linux server administration over OAuth MCP: shell, Docker, systemd, files and monitoring.
Remote MCP server for Web3TV creators β manage your account over MCP.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
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.66182 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