Skip to main content
Glama

Starfleet Command — LCARS Bridge Interface

Node.js MCP SDK Express Docker License

Ein produktionsreifer Model Context Protocol-Server, verpackt in eine Star Trek LCARS-Befehlsschnittstelle.
Sternzeit: aktiv. Alle Systeme nominal.


◈ MISSIONS-BRIEFING

"Der Computer ist das demokratischste Werkzeug, das je erfunden wurde. Sein Zweck ist es, alles zu tun, was sein Benutzer verlangt."
— Sternenflotten-Kommando-Direktive

MCPStarfleetCommand ist ein erweiterter Model Context Protocol (MCP)-Server mit einem vollständig interaktiven LCARS-gestylten Web-Dashboard — derselben Ästhetik, die durch das Raumschiff Enterprise berühmt wurde. Er verbindet die Claude Code KI-Integration (via MCP stdio) mit einer wunderschönen browserbasierten Befehlskonsole und bietet Ihnen Entwickler-Tools, Dateisystem-Operationen, Systemüberwachung und Observability auf Docker-Ebene über eine einzige, einheitliche Schnittstelle.


Related MCP server: Gitea MCP Proxy Agent

◈ TAKTISCHER ÜBERBLICK

┌─────────────────────────────────────────────────────────────────────────────┐
│  ◈ DUAL-INTERFACE DESIGN                                                    │
│                                                                             │
│   [ Claude Code / AI ]                  [ Browser ]                        │
│         │  stdio MCP                        │  HTTP :3001                  │
│         ▼                                   ▼                              │
│   ┌─────────────────────────────────────────────────┐                      │
│   │          ENHANCED MCP SERVER CORE               │                      │
│   │  ┌──────────────┐    ┌──────────────────────┐   │                      │
│   │  │  MCP Engine  │    │   Express HTTP API   │   │                      │
│   │  │  (13 Tools)  │◄──►│   REST Endpoints     │   │                      │
│   │  └──────────────┘    └──────────────────────┘   │                      │
│   └─────────────────────────────────────────────────┘                      │
│         │                                   │                              │
│         ▼                                   ▼                              │
│   [ AI responds with ]           [ LCARS Dashboard UI ]                    │
│     tool results                   Interactive terminal                    │
│                                    System monitoring                       │
│                                    One-click tool execution                │
└─────────────────────────────────────────────────────────────────────────────┘

◈ SCHIFFSSYSTEME — FUNKTIONEN

🖖 Befehlsschnittstelle

Funktion

Status

MCP stdio Protokoll

✅ Aktiv

HTTP REST API

✅ Aktiv

LCARS Web-Dashboard

✅ Online

Interaktives Terminal

✅ Live

Responsives Design

✅ Alle Bildschirme

🛠️ Entwickler-Operationen

Tool

Beschreibung

git_status

Repository-Status

git_log

Vollständiger Commit-Verlauf

git_diff

Datei-Diffs

git_branch

Branch-Auflistung

search_files

Rekursive Codesuche

💻 System-Operationen

Tool

Beschreibung

list_files

Verzeichnis-Browsing

read_file

Dateiinhaltsanzeige

write_file

Dateischreiber

create_directory

Verzeichniserstellung

run_command

Shell-Ausführung

system_info

Live-Systemmetriken

📊 Datenverarbeitung

Tool

Beschreibung

parse_json

JSON-Validierung

format_json

JSON-Pretty-Print


◈ WARP-GESCHWINDIGKEITS-DEPLOYMENT

🚀 Option A — Lokaler Start (Node.js)

# 1. Install crew
npm install

# 2. Engage engines
npm start                # Production warp
npm run dev              # Debug mode (verbose logs)

# 3. Open LCARS console
open http://localhost:3001

🐳 Option B — Docker-Flotte (Alle Dienste)

# Launch the full starship
docker-compose up -d

# Services come online:
#   http://localhost:3001  ← MCP Server + LCARS Dashboard
#   http://localhost:3000  ← Grafana Analytics  (change default creds in .env!)
#   http://localhost:3002  ← Real-time Analytics Engine
#   http://localhost:9090  ← Prometheus Metrics
#   http://localhost:8080  ← cAdvisor Container Monitor

# Hail all stations
docker-compose logs -f

# Stand down
docker-compose down

📖 Vollständige Deployment-Anleitung → DOCKER-README.md · Schnellstart → QUICKSTART.md


◈ RAUMSCHIFF-ARCHITEKTUR

                      ┌──────────────────────────┐
                      │   Internet / NGINX Proxy  │
                      │  Load Balancing · SSL · Rate Limiting │
                      └────────────┬─────────────┘
                                   │
            ┌──────────────────────┼──────────────────────┐
            │                      │                      │
  ┌─────────▼──────────┐  ┌────────▼────────┐  ┌─────────▼──────────┐
  │    MCP SERVER      │  │    GRAFANA      │  │    ANALYTICS       │
  │    Port  3001      │  │    Port  3000   │  │    Port  3002      │
  │  HTTP + MCP/stdio  │  │  Dashboards     │  │  Metrics / Events  │
  └─────────┬──────────┘  └────────┬────────┘  └─────────┬──────────┘
            │                      │                      │
  ┌─────────▼──────────────────────▼──────────────────────▼──────────┐
  │                           DATA LAYER                             │
  │         Redis (cache)  ·  Prometheus (metrics)  ·  Volumes       │
  └──────────────────────────────────────────────────────────────────┘

Dienst

Port

Zweck

MCP-Server

:3001

Kernserver · LCARS-Dashboard · REST API

Grafana

:3000

Visuelle Analytik · Alarme · Dashboards

Analytik

:3002

Echtzeit-Ereignisverfolgung

Prometheus

:9090

Zeitreihen-Metrikdatenbank

cAdvisor

:8080

Container-Ressourcenüberwachung

Redis

:6379

Cache-Ebene

NGINX

:80/:443

Reverse Proxy · SSL


◈ LCARS-BEFEHLSKONSOLE — DASHBOARD-VORSCHAU

╔══════════════════════════════════════════════════════════════════╗
║ ████ STARFLEET MCP ████████████████████████████████ 47.2 GHz ████║
╠════════════╦═══════════════════════════════════════════════════╣
║ NAV        ║  ┌──────────────────────────────────────────┐    ║
║ ▶ TERMINAL ║  │ > system_info                            │    ║
║   FILES    ║  │ ✔ CPU: 12%  MEM: 4.2GB  UPTIME: 99.9%   │    ║
║   GIT      ║  │ > git_status                             │    ║
║   SYSTEM   ║  │ ✔ Branch: main  Modified: 2  Clean       │    ║
║   TOOLS    ║  └──────────────────────────────────────────┘    ║
║            ║                                                   ║
║ ▓▓▓▓▓▓▓▓▓▓ ║  [⚡ GIT STATUS] [📁 LIST FILES] [💻 SYS INFO]   ║
╚════════════╩═══════════════════════════════════════════════════╝

Starfleet Command — Dashboard Preview

Das Dashboard bietet:

  • ⚡ Interaktives Terminal — Befehlsausführung in Echtzeit mit farbcodierter Ausgabe

  • 📡 Systemüberwachung — Live-Anzeigen für CPU, Arbeitsspeicher, Festplatte und Betriebszeit

  • 🗂️ Tool-Panel — Jedes MCP-Tool als LCARS-Button mit einem Klick verfügbar

  • 🔐 Datei-Operationen — Dateien direkt im Browser lesen, schreiben und durchsuchen

  • 📊 Git-Integration — Status, Log, Diff, Branches auf einen Blick


◈ REST API — KOMMUNIKATIONS-ARRAY

# ─── Status check ───────────────────────────────────────────────
curl http://localhost:3001/api/status

# ── List all 13 available tools ─────────────────────────────────
curl http://localhost:3001/api/tools

# ── Execute any tool ────────────────────────────────────────────
curl -X POST http://localhost:3001/api/tools/execute \
  -H "Content-Type: application/json" \
  -d '{"tool": "system_info", "args": {}}'

curl -X POST http://localhost:3001/api/tools/execute \
  -H "Content-Type: application/json" \
  -d '{"tool": "git_status", "args": {"repoPath": "."}}'

curl -X POST http://localhost:3001/api/tools/execute \
  -H "Content-Type: application/json" \
  -d '{"tool": "search_files", "args": {"query": "TODO", "searchDir": "."}}'

MCP-Protokoll — Der Server spricht vollständiges MCP über stdio. Verbinden Sie Claude Code damit und es wird zu einer Erweiterung Ihrer Entwicklungsumgebung.


◈ SCHIFFSCOMPUTER — KONFIGURATION

Variable

Standard

Beschreibung

PORT

3001

HTTP-Server-Port

DEBUG

(nicht gesetzt)

Setzen Sie DEBUG=1 für ausführliche Protokollierung

NODE_ENV

production

Umgebungsmodus

Kopieren Sie .env.example → .env und passen Sie diese vor dem Start an.


◈ SICHERHEITSPROTOKOLE

◈  Input validation on all tool parameters
◈  Path normalization — prevents directory traversal attacks
◈  Command execution sandboxed with 10 MB output buffer
◈  Error messages sanitized before client delivery
◈  NGINX rate limiting in production Docker stack
◈  Non-root container execution in Dockerfile

◈ TECHNISCHES MANIFEST — ERSTELLT MIT

Komponente

Technologie

Laufzeit

Node.js 18+

MCP-Protokoll

@modelcontextprotocol/sdk ^1.17

HTTP-Server

Express.js 5.x

Dashboard-UI

Vanilla HTML · CSS (LCARS) · JS

Analytik

Benutzerdefinierte Metrik-Engine

Überwachung

Prometheus + Grafana

Cache

Redis

Proxy

NGINX

Container

Docker + Docker Compose

Linting

ESLint + Prettier


◈ CREW-MANIFEST — ENTWICKLUNG

npm run dev          # Engage debug warp (DEBUG=1)
npm run lint         # ESLint sweep
npm run lint:fix     # Auto-fix lint violations
npm run format       # Prettier formatting
npm run format:check # Verify formatting
npm run audit:fix    # Fix known vulnerabilities

Vollständige Ops-Referenz → CHEATSHEET.md · Architektur-Deep-Dive → ARCHITECTURE.md


╔═══════════════════════════════════════════════════════════╗
║  ◈  STARFLEET MCP · ALL SYSTEMS NOMINAL · WARP READY  ◈  ║
╚═══════════════════════════════════════════════════════════╝

"Mutig dorthin zu versenden, wo noch kein Entwickler zuvor versendet hat."

⭐ Geben Sie diesem Repo einen Stern, wenn es Ihnen geholfen hat, Warp-Geschwindigkeit zu erreichen!

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A unified MCP server with composable tools for GitHub operations, file management, shell execution, kanban boards, Discord messaging, and package management. Features role-based security, HTTP/stdio transports, and a web-based development UI.
    -
  • F
    license
    Not graded
    quality
    Not graded
    maintenance
    A comprehensive MCP server suite that enables AI interaction with Gitea for repository management, secure command execution, and Docker monitoring. It provides additional tools for long-term memory, filesystem access, and web searching to support full development cycles.
    -
  • A
    license
    A
    quality
    D
    maintenance
    A comprehensive MCP server that enables AI models to perform local file operations, command execution, and task management across multiple platforms. It features advanced capabilities like row-level file editing, directory searching, and system monitoring with built-in security filters.
    13
    22 npm
    Mulan Permissive Software , Version 2
  • F
    license
    Not graded
    quality
    F
    maintenance
    MCP server for infrastructure discovery and remote management, enabling SSH command execution, file transfer, log tailing, and machine/service inventory with a companion web dashboard.
    2
    -