MCP Desktop DVR

by Randroids-Dojo

4 stars
192 downloads
Not rated
GitHub

About

MCP server for desktop video capture and analysis on macOS

Details

Author
Randroids-Dojo
GitHub stars
4
Downloads
192
Categories
Productivity

- 30-minute rolling buffer of desktop activity
- AI-powered visual analysis with OpenAI GPT-4o or local Tarsier2-7B
- Intelligent analyzer fallback from OpenAI → Tarsier → OCR
- Window-specific capture by application
- Precise extraction of time segments
- Production-ready with comprehensive testing

Install and build the server with npm install && npm run build, then add it to your Claude Desktop configuration as an MCP server (command: node, args pointing to the built index.js). Optionally set the ANALYZER_PREFERENCE environment variable to control which analyzer is used. Ask Claude to start recording, analyze recent activity, or check capture status using the server’s tools.

MCP Desktop DVR

PRODUCTION READY

MCP server for desktop video capture and analysis on macOS. Enables Claude to analyze screen activity through a 30-minute rolling buffer.

Features

- 30-minute rolling buffer of desktop activity
- AI-powered visual analysis with OpenAI GPT-4o (cloud) or Tarsier2-7B (local)
- Intelligent fallback from OpenAI → Tarsier → OCR
- Window-specific capture by application
- Precise extraction of time segments
- Production-ready with comprehensive testing

Requirements

- macOS 10.15+
- Node.js 18+
- Screen Recording permission

Quick Setup

npm install && npm run build

Add to Claude Desktop config:

{
"mcpServers": {
"desktop-dvr": {
"command": "node",
"args": ["/path/to/mcp-desktop-dvr/dist/index.js"],
"env": {
"ANALYZER_PREFERENCE": "auto" // Auto-select best available analyzer
}
}
}
}

Tools

- start-continuous-capture - Begin recording
- analyze-desktop-now - Extract and analyze recent activity
- get-capture-status - Check recording status
- stop-capture - Stop recording
- configure-capture - Update settings

Usage

Ask Claude:
- "Start desktop recording"
- "Analyze the last 30 seconds"
- "What errors are on my screen?"

Video Analysis Options

The analyze-desktop-now tool supports multiple analyzers with different strengths:

☁️ OpenAI GPT-4o Vision (Primary - Cloud)

- Most accurate analysis using GPT-4o via Responses API - Automatic GIF segmentation - creates 10-second segments from videos - Smart file management - preserves all GIF files locally alongside MP4 - Efficient uploads - sends only first segment to OpenAI for analysis - Comprehensive understanding of complex workflows - Requires OpenAI API key and internet connection - Fast processing (~3-5 seconds)

🤖 Tarsier2-7B (Fallback - Local AI)

- Runs locally on your Mac using Metal Performance Shaders - No API keys required - completely private - Excellent visual understanding of UIs, games, and graphics - Moderate processing time (~5-15 seconds for 30-second clips)

📝 OCR Text Extraction (Final Fallback)

- Basic text extraction from screenshots - Limited effectiveness with modern UIs - Always available as final fallback

Configuration

Set environment variables in your MCP config:

"env": {
  "ANALYZER_PREFERENCE": "auto",       // Options: "auto", "openai", "tarsier", "ocr"
  "OPENAI_API_KEY": "sk-...",          // For OpenAI (recommended)
  "OPENAI_MODEL": "gpt-4o"             // OpenAI model (default: gpt-4o)
}

Analyzer Selection Logic

- "auto" (default) - Uses OpenAI if API key set, otherwise Tarsier, then OCR
- "openai" - Forces OpenAI GPT-4o Vision (requires API key)
- "tarsier" - Forces Tarsier2-7B local AI
- "ocr" - Forces basic OCR text extraction

Documentation

- User Guide - Setup and usage instructions
- CLAUDE.md - Development info

License

ISC

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.