STB MCP Server

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.

Category
Visit Server

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
  • cloudflared di 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

Kontribusi

Silakan lihat CONTRIBUTING.md untuk panduan kontribusi.

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured