Skip to main content

Video Aspect Ratio MCP

A Model Context Protocol (MCP) server for adjusting video aspect ratio.

Features

  • Aspect Ratio Adjustment: Change video aspect ratios with padding or cropping
  • Support for common ratios: 16:9, 4:3, 1:1, 9:16, etc.
  • Padding mode with customizable colors
  • Crop mode for center cropping

Installation

Install via uvx (recommended):

uvx video-aspect-ratio-mcp

Or install via pip:

pip install video-aspect-ratio-mcp

Usage

Run the MCP server:

video-aspect-ratio-mcp

Requirements

  • Python >=3.12
  • FFmpeg installed on your system

Tool

change_aspect_ratio

Adjust video aspect ratio with options:

  • video_path: Input video file path
  • output_video_path: Output video file path
  • target_aspect_ratio: Target ratio (e.g., '16:9', '4:3', '1:1')
  • resize_mode: 'pad' (scale and add borders) or 'crop' (center crop)
  • padding_color: Border color when using pad mode (e.g., 'black', 'white', '#RRGGBB')

License

MIT License

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_aspect_ratio_mcp-0.1.6.tar.gz (5.9 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_aspect_ratio_mcp-0.1.6-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file mcpcn_video_aspect_ratio_mcp-0.1.6.tar.gz.

File metadata

File hashes

Hashes for mcpcn_video_aspect_ratio_mcp-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f6f14f89ee18e5d3c1069ff07cb1424531a8cb63b6da53d6e76d498c21f2e863
MD5 367ca2b5fa1575460bdd3bf4a1978038
BLAKE2b-256 c4b49a8ae18082cdbd5514b74dbb6064e3c7c9a78dbfdff8bfe6158cec84cc71

See more details on using hashes here.

File details

Details for the file mcpcn_video_aspect_ratio_mcp-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for mcpcn_video_aspect_ratio_mcp-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8749b4c72d03a81484046a1eea660342d15ac7e0e38d4ebe97049a75054b0929
MD5 b2ac7290722a82893eaa649bd5cd50c9
BLAKE2b-256 d10a549c0d7a70e7414b71dce1e01404319f80a07fd2862efcf57701046cd293

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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