MCOP (Model Context Protocol Operations) is a Terminal User Interface application designed to monitor, manage, and visualize MCP (Model Context Protocol) servers and connections in real-time. Inspired by top and htop, MCOP provides a system-monitor-like interface for MCP operations.
┌─────────────────── MCOP - MCP Operations Monitor ───────────────────┐
│ Uptime: 2h 34m │ Active Servers: 4 │ Total Connections: 12 │
├─────────────────────────────────────────────────────────────────────┤
│ │
│ PID NAME STATUS CPU% MEM% CONNS UPTIME │
│ ──────────────────────────────────────────────────────────────── │
│ 1234 qwen-mcp-server ●Running 12.3 156M 5 2h 30m │
│ 1235 filesystem-mcp ●Running 3.1 45M 3 2h 28m │
│ 1236 sqlite-mcp ●Running 1.2 32M 2 2h 15m │
│ 1237 brave-search ●Running 0.8 28M 2 1h 45m │
│ │
├─────────────────────────────────────────────────────────────────────┤
│ Selected: qwen-mcp-server │
│ ┌───────────────────────────────────────────────────────────────┐ │
│ │ Server Details: │ │
│ │ • Model: Qwen2.5-Coder │ │
│ │ • Protocol: stdio │ │
│ │ • Response Time: 234ms avg │ │
│ │ • Requests/min: 45 │ │
│ │ • Last Activity: 3s ago │ │
│ └───────────────────────────────────────────────────────────────┘ │
│ │
│ [s]tart/stop [r]efresh [c]onfig [d]isconnect [q]uit [?]help │
└──────────────────────────────────────────────────────────────────────┘
What it shows:
- 📊 Real-time monitoring of all MCP server processes
- 🔍 Resource usage (CPU, memory) for each server
- 📈 Connection tracking and performance metrics
- 🎯 Interactive management (start, stop, configure)
- ⚡ Response times and health status
- 🔄 Live updates like top/htop
- Real-time Monitoring: Monitor active MCP server connections and resource usage
- Process-like View: View MCP servers similar to how top/htop shows system processes
- Interactive Management: Start, stop, and configure MCP servers from the TUI
- Connection Tracking: Track active connections and their status
- Performance Metrics: Monitor response times, throughput, and health of MCP servers
- Configuration Management: Edit and manage MCP server configurations
- Server Discovery: Browse and connect to available MCP servers
# Clone the repository
git clone https://github.com/your-username/mcop.git
cd mcop
# Build the application
go build -o mcop ./cmd/mcop
# Run the application
./mcop# Install dependencies
go mod tidy
# Build for development
go build -o mcop ./cmd/mcop
# Run directly
go run ./cmd/mcop# Launch MCOP TUI
./mcop
# Connect to specific server
./mcop --connect <server-url>
# Connect with config file
./mcop --config /path/to/config.jsonqorCtrl+C: Quit the application↑/↓: Navigate between MCP processes/connectionsEnter: View detailed information about selected connections: Start/stop selected MCP serverr: Refresh the MCP connection listc: Open configuration editord: Disconnect selected connection?: Show help
MCOP provides a system-process-style monitoring interface for Model Context Protocol operations, giving developers and operators a familiar interface for managing MCP infrastructure similar to how system administrators use top/htop to monitor system resources.