GIF Creator MCP
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
An MCP (Model Context Protocol) server that converts video files to GIF animations.
Features
- Convert any video file to GIF format
- Customize output settings (FPS, dimensions, duration)
- Extract specific portions of videos
- High-quality GIF generation with optimized palette
Installation
Usage
Right now, Claude Desktop does not support video input. I'd recommend using a different client like Goose and adding it as an extension.
In Goose, you can use the Gif Creator tool by going to Advanced Settings > Extension > + Add Custom Extension > and in the command pasting:
I'd also increase the time out to 1000.
For other MCP clients, you can use the following command to start the server:
Tools
convert_video_to_gif
Converts a video file to a GIF file, saving it in the same directory as the source video.
**Parameters:**
- video_path (required): Path to the video file to convert
- fps (optional): Frames per second for the GIF (1-30, default: 10)
- width (optional): Width of the output GIF (maintains aspect ratio if height not specified)
- height (optional): Height of the output GIF (maintains aspect ratio if width not specified)
- start_time (optional): Start time in seconds (default: 0)
- duration (optional): Duration in seconds (default: entire video)
Examples
Basic conversion
Custom settings
Extract a specific portion
Requirements
- Node.js
- FFmpeg (automatically installed via @ffmpeg-installer/ffmpeg)
Notes
- The output GIF is saved in the same directory as the input video
- The filename is the same as the video file but with a .gif extension
- Large videos may take some time to process
- The tool uses optimized palette generation for better quality GIFs
License
MIT