VOOZH about

URL: https://glama.ai/mcp/servers/Jacobcdsmith/MCP-Commander-Console?locale=zh-CN

⇱ 增强型 MCP 服务器 by Jacobcdsmith | Glama


👁 Starfleet Command — LCARS Bridge Interface

👁 Node.js
👁 MCP SDK
👁 Express
👁 Docker
👁 License

一个生产就绪的 Model Context Protocol 服务器,封装在星际迷航 LCARS 指挥界面中。
星历:活跃。所有系统正常。


◈ 任务简报

“计算机是人类发明过的最民主的工具。它的目的是执行用户要求的任何事情。”
星际舰队指挥部指令

MCPStarfleetCommand 是一个增强型的 Model Context Protocol (MCP) 服务器,具有完全交互式的 LCARS 风格 Web 仪表板 — 这正是星际飞船 企业号 所采用的著名美学。它将 Claude Code AI 集成(通过 MCP stdio)与美观的浏览器命令控制台连接起来,让您可以通过一个统一的界面获得开发工具、文件系统操作、系统监控和 Docker 规模的可观测性。


Related MCP server: API Weaver

◈ 战术概览

┌─────────────────────────────────────────────────────────────────────────────┐
│ ◈ 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 │
└─────────────────────────────────────────────────────────────────────────────┘

◈ 飞船系统 — 功能

🖖 命令界面

功能

状态

MCP stdio 协议

✅ 活跃

HTTP REST API

✅ 活跃

LCARS Web 仪表板

✅ 在线

交互式终端

✅ 实时

响应式设计

✅ 所有屏幕

🛠️ 开发操作

工具

描述

git_status

仓库状态

git_log

完整提交历史

git_diff

文件级差异

git_branch

分支列表

search_files

递归代码搜索

💻 系统操作

工具

描述

list_files

目录浏览

read_file

文件内容查看器

write_file

文件写入器

create_directory

目录创建

run_command

Shell 执行

system_info

实时系统指标

📊 数据处理

工具

描述

parse_json

JSON 验证

format_json

JSON 格式化


◈ 曲速部署

🚀 选项 A — 本地启动 (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

🐳 选项 B — Docker 舰队 (所有服务)

# 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

📖 完整部署指南 → DOCKER-README.md · 快速入门 → QUICKSTART.md


◈ 飞船架构

 ┌──────────────────────────┐
 │ 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 │
 └──────────────────────────────────────────────────────────────────┘

服务

端口

用途

MCP 服务器

:3001

核心服务器 · LCARS 仪表板 · REST API

Grafana

:3000

可视化分析 · 警报 · 仪表板

分析

:3002

实时事件跟踪

Prometheus

:9090

时序指标数据库

cAdvisor

:8080

容器资源监控

Redis

:6379

缓存层

NGINX

:80/:443

反向代理 · SSL


◈ LCARS 命令控制台 — 仪表板预览

╔══════════════════════════════════════════════════════════════════╗
║ ████ 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

仪表板功能包括:

  • ⚡ 交互式终端 — 带有颜色编码输出的实时命令执行

  • 📡 系统监控 — 实时 CPU、内存、磁盘和运行时间仪表

  • 🗂️ 工具面板 — 每个 MCP 工具都可作为一键式 LCARS 按钮使用

  • 🔐 文件操作 — 直接在浏览器中读取、写入、浏览文件

  • 📊 Git 集成 — 一目了然的状态、日志、差异、分支


◈ REST API — 通信阵列

# ─── 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 协议 — 服务器通过 stdio 使用完整的 MCP 协议。将 Claude Code 指向它,它就会成为您开发环境的扩展。


◈ 飞船计算机 — 配置

变量

默认值

描述

PORT

3001

HTTP 服务器端口

DEBUG

(未设置)

设置 DEBUG=1 以启用详细日志记录

NODE_ENV

production

环境模式

在启动前复制 .env.example.env 并进行调整。


◈ 安全协议

◈ 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

◈ 技术清单 — 构建技术栈

组件

技术

运行时

Node.js 18+

MCP 协议

@modelcontextprotocol/sdk ^1.17

HTTP 服务器

Express.js 5.x

仪表板 UI

原生 HTML · CSS (LCARS) · JS

分析

自定义指标引擎

监控

Prometheus + Grafana

缓存

Redis

代理

NGINX

容器

Docker + Docker Compose

Linting

ESLint + Prettier


◈ 船员名单 — 开发

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

完整操作参考 → CHEATSHEET.md · 架构深度解析 → ARCHITECTURE.md


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

“勇敢地交付前人未曾交付的代码。”

⭐ 如果此仓库帮助您达到了曲速,请给它加星!

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jacobcdsmith/MCP-Commander-Console'

If you have feedback or need assistance with the MCP directory API, please join our Discord server