Skip to content

Jacobcdsmith/MCP-Commander-Console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

53 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Node.js MCP SDK Express Docker License

A production-ready Model Context Protocol platform with a cinematic operations interface.
Mission Time: active. All systems nominal.


β—ˆ MISSION BRIEFING

"The computer is the most democratic tool ever invented. Its purpose is to do whatever its user requests."
β€” Platform Directive

MCP Command Center is an enhanced Model Context Protocol (MCP) server with a fully interactive operations web dashboard. It bridges Claude Code AI integration (via MCP stdio) with a polished browser-based command console, giving you developer tools, file-system ops, system monitoring, and Docker-scale observability from a single unified interface.


β—ˆ TACTICAL OVERVIEW

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  β—ˆ 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 ]           [ Operations Dashboard UI ]                    β”‚
β”‚     tool results                   Interactive terminal                    β”‚
β”‚                                    System monitoring                       β”‚
β”‚                                    One-click tool execution                β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

β—ˆ SHIP'S SYSTEMS β€” FEATURES

πŸ–– Command Interface

Capability Status
MCP stdio protocol βœ… Active
HTTP REST API βœ… Active
Operations Web Dashboard βœ… Online
Interactive terminal βœ… Live
Responsive design βœ… All screens

πŸ› οΈ Developer Operations

Tool Description
git_status Repository status
git_log Full commit history
git_diff File-level diffs
git_branch Branch listing
search_files Recursive code search

πŸ’» System Operations

Tool Description
list_files Directory browsing
read_file File content viewer
write_file File writer
create_directory Directory creation
run_command Shell execution
system_info Live system metrics

πŸ“Š Data Processing

Tool Description
parse_json JSON validation
format_json Pretty-print JSON

β—ˆ WARP SPEED DEPLOYMENT

πŸš€ Option A β€” Local Launch (Node.js)

# 1. Install crew
npm install

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

# 3. Open MCP Command Center
open http://localhost:3001

🐳 Option B β€” Docker Fleet (All Services)

# Launch the full starship
docker-compose up -d

# Services come online:
#   http://localhost:3001  ← MCP Server + Operations 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

πŸ“– Full deployment guide β†’ DOCKER-README.md Β· Quick start β†’ QUICKSTART.md


β—ˆ STARSHIP ARCHITECTURE

                      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                      β”‚   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       β”‚
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Service Port Purpose
MCP Server :3001 Core server Β· command center dashboard Β· REST API
Grafana :3000 Visual analytics Β· alerts Β· dashboards
Analytics :3002 Real-time event tracking
Prometheus :9090 Time-series metrics database
cAdvisor :8080 Container resource monitoring
Redis :6379 Cache layer
NGINX :80/:443 Reverse proxy Β· SSL

β—ˆ OPERATIONS CONSOLE β€” DASHBOARD PREVIEW

╔══════════════════════════════════════════════════════════════════╗
β•‘ β–ˆβ–ˆβ–ˆβ–ˆ MCP COMMAND CENTER β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ 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]   β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•©β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

MCP Command Center β€” Dashboard Preview

The dashboard features:

  • ⚑ Interactive Terminal β€” Real-time command execution with color-coded output
  • πŸ“‘ System Monitoring β€” Live CPU, memory, disk, and uptime gauges
  • πŸ—‚οΈ Tool Panel β€” Every MCP tool available as a one-click command center control
  • πŸ” File Operations β€” Read, write, browse files directly in browser
  • πŸ“Š Git Integration β€” Status, log, diff, branches at a glance

β—ˆ REST API β€” COMMUNICATIONS 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 Protocol β€” The server speaks full MCP over stdio. Point Claude Code at it and it becomes an extension of your dev environment.


β—ˆ SHIP'S COMPUTER β€” CONFIGURATION

Variable Default Description
PORT 3001 HTTP server port
DEBUG (unset) Set DEBUG=1 to enable verbose logging
NODE_ENV production Environment mode

Copy .env.example β†’ .env and adjust before launch.


β—ˆ SECURITY PROTOCOLS

β—ˆ  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

β—ˆ TECH MANIFEST β€” BUILT WITH

Component Technology
Runtime Node.js 18+
MCP Protocol @modelcontextprotocol/sdk ^1.17
HTTP Server Express.js 5.x
Dashboard UI Vanilla HTML Β· CSS (Command Center theme) Β· JS
Analytics Custom metrics engine
Monitoring Prometheus + Grafana
Cache Redis
Proxy NGINX
Containers Docker + Docker Compose
Linting ESLint + Prettier

β—ˆ CREW MANIFEST β€” DEVELOPMENT

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

Full ops reference β†’ CHEATSHEET.md Β· Architecture deep-dive β†’ ARCHITECTURE.md


╔═══════════════════════════════════════════════════════════╗
β•‘  β—ˆ  MCP COMMAND CENTER Β· ALL SYSTEMS NOMINAL Β· READY  β—ˆ  β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

"To boldly ship what no dev has shipped before."

⭐ Star this repo if it helped you reach warp speed!

About

An advanced Model Context Protocol (MCP) orchestration hub and command interface designed to route, filter, and manage complex LLM context streams and tool deployments across distributed system nodes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors