Setup

In Cursor, open Settings → MCP → Add new server, or edit ~/.cursor/mcp.json directly:

{
  "mcpServers": {
    "video-enhancement": {
      "command": "npx",
      "args": ["-y", "@avclabs.ai/media-mcp@latest"],
      "env": { "API_KEY": "your-api-key" }
    }
  }
}

CLI equivalent for the Command palette: env API_KEY=your-api-key npx -y @avclabs.ai/media-mcp. Requires Node.js ≥ 18; grab a key from the dashboard.

Available tools

ToolWhat it does
create_taskAsync video enhancement — upscaling to 1080p, quality enhancement
get_task_statusPoll task progress and fetch the result URL
enhance_video_syncSynchronous mode for short clips (truncates at 50s)
sam3_predictText-prompt segmentation via SAM3 — masks, boxes, scores

Example prompts

  • "Upscale promo-final.mp4 to 1080p and ping me when it finishes"
  • "Segment the background objects in ./screenshots/home.png"
  • "Batch-enhance every mp4 in ./footage and report status"

Tips

  • For videos longer than ~50 seconds, let Cursor use create_task + get_task_status (async) — sync calls truncate.
  • Dragging an attachment into Cursor doesn't always pass a file path to the MCP server; typing the absolute path is more reliable.