Skip to main content

MCP server for adding cover image/first frame and fade transitions to videos

Project description

Video Cover MCP

A Model Context Protocol (MCP) server for adding cover images (real first frames) and fade transitions to videos.

Features

  • Add Cover Image: Prepend a static image as real first frames (re-encodes video stream)
  • Fade Transitions: Add fade-in and fade-out effects to videos

Installation

Install via uvx (recommended):

uvx video-cover-mcp

Or install via pip:

pip install video-cover-mcp

Usage

Run the MCP server:

video-cover-mcp

Requirements

  • Python >=3.12
  • FFmpeg installed on your system

Tools Available

add_cover_image

Prepend a cover image as real first frames at the beginning of the video.

Parameters:

  • video_path: Input video file path
  • cover_image_path: Cover image file path (supports PNG, JPG, etc.)
  • output_video_path: Output video file path
  • cover_duration: Duration to display the cover image in seconds (default: 3.0)
  • fade_duration: Deprecated (kept for compatibility)

Note: If output_video_path is not provided, output defaults to an .mp4 file for better compatibility.

Example:

add_cover_image(
    video_path="/path/to/input.mp4",
    cover_image_path="/path/to/cover.jpg",
    output_video_path="/path/to/output.mp4",
    cover_duration=5.0,
    fade_duration=1.0
)

add_basic_transitions

Add fade-in or fade-out transition effects to a video.

Parameters:

  • video_path: Input video file path
  • output_video_path: Output video file path
  • transition_type: Transition type - 'fade_in' or 'fade_out'
  • duration_seconds: Transition duration in seconds (must be positive)

Example:

add_basic_transitions(
    video_path="/path/to/input.mp4",
    output_video_path="/path/to/output.mp4",
    transition_type="fade_in",
    duration_seconds=2.0
)

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcpcn_video_cover_mcp-0.2.2.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcpcn_video_cover_mcp-0.2.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file mcpcn_video_cover_mcp-0.2.2.tar.gz.

File metadata

  • Download URL: mcpcn_video_cover_mcp-0.2.2.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mcpcn_video_cover_mcp-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c48b707cceb8711765a9d685dfb7d4faec068b6900a13fba6d23406e03ce7c0c
MD5 b3a8878964abaf98f2ac6925520c748c
BLAKE2b-256 d2f3726323bb8adcf82a54f6a60a81ede373257386df570abde641c910c7a713

See more details on using hashes here.

File details

Details for the file mcpcn_video_cover_mcp-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mcpcn_video_cover_mcp-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db81cafe6b1676c20b47db08bfcae622631d7f6ca3941be6bba44b29c23be5f2
MD5 d35dff686b2c37b196f04dbf9702b7c3
BLAKE2b-256 a2bd1b401276f5f0f993ebdb2f68c7458d198bf818a95bc17465220e2750ff61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page