STB MCP Server
MCP server for full control of STB (Amlogic S9xx / Armbian) via SSH, enabling shell commands, file management, Docker operations, AdGuard Home configuration, and system monitoring.
README
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 | stb_execute |
๐ง Jalankan perintah shell |
| 2 | stb_read_file |
๐ Baca file |
| 3 | stb_write_file |
โ๏ธ Tulis file |
| 4 | stb_system_info |
๐ Info sistem (OS, CPU, RAM, disk, uptime, suhu) |
| 5 | stb_docker_list |
๐ณ Daftar container running |
| 6 | stb_docker_logs |
๐ Log container (tail N baris) |
| 7 | stb_docker_restart |
๐ Restart container |
| 8 | stb_docker_stats |
๐ Resource CPU/RAM container |
| 9 | stb_adguard_config |
๐ก๏ธ Parameter utama AdGuard Home |
| 10 | stb_adguard_full_config |
๐ Full file YAML AdGuard |
| 11 | stb_adguard_stats |
๐ Statistik DNS AdGuard |
| 12 | stb_cleanup_root |
๐งน Bersihkan root filesystem |
| 13 | stb_casaos_status |
๐ Status CasaOS |
Instalasi
Prasyarat
- Python 3.10+
- SSH key dengan akses ke server target
cloudflareddi PATH (untuk tunnel proxy)
Setup
git clone https://github.com/lightnet19/stb-mcp-server
cd stb-mcp-server
python3 -m venv venv
source venv/bin/activate
pip install fastmcp httpx paramiko
# Register ke Hermes Agent
hermes mcp add stb --command "$(pwd)/run.sh"
Konfigurasi SSH
Edit stb_mcp_server/server.py atau set environment:
| Variabel | Default | Keterangan |
|---|---|---|
SSH_HOST |
sshstb.alfajrihomelab.my.id |
Hostname SSH |
SSH_USER |
root |
User SSH |
SSH_KEY |
~/.ssh/stb_alfajri |
Path private key |
SSH_PROXY |
cloudflared access ssh --hostname %s |
Proxy command |
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
E2B
Using MCP to run code via e2b.