Skip to main content
Glama

GIF Creator MCP

by ananddtyagi
MIT License
2

GIF Creator MCP

An MCP (Model Context Protocol) server that converts video files to GIF animations. gif-creator-demo

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

npm install npm run build

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:

node /path/to/gif-creator-mcp/dist/index.js

I'd also increase the time out to 1000.

For other MCP clients, you can use the following command to start the server:

{ "mcpServers": { "gif-creator": { "command": "node", "args": ["/path/to/gif-creator-mcp/dist/index.js"] } } }

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

{ "video_path": "/path/to/video.mp4" }

Custom settings

{ "video_path": "/path/to/video.mp4", "fps": 15, "width": 480, "start_time": 5, "duration": 10 }

Extract a specific portion

{ "video_path": "/path/to/long-video.mov", "start_time": 30, "duration": 5, "fps": 20 }

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

-
security - not tested
A
license - permissive license
-
quality - not tested

Converts video files to GIF animations with customizable settings like FPS, dimensions, and duration.

  1. Features
    1. Installation
      1. Usage
        1. Tools
          1. convert_video_to_gif
        2. Examples
          1. Basic conversion
          2. Custom settings
          3. Extract a specific portion
        3. Requirements
          1. Notes
            1. License

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                Enables video editing using natural language commands powered by FFmpeg, supporting operations like trimming, merging, format conversion, and more with real-time progress tracking and error handling.
                Last updated -
                17
                Python
                • Apple
                • Linux
              • -
                security
                F
                license
                -
                quality
                A Node.js server that enables video manipulation through natural language requests, including resizing videos to different resolutions (360p to 1080p) and extracting audio in various formats (MP3, AAC, WAV, OGG).
                Last updated -
                34
                2
                TypeScript
                • Apple
                • Linux
              • -
                security
                A
                license
                -
                quality
                Enables AI models to search, retrieve, and utilize GIFs from Giphy with features like content filtering, multiple search methods, and comprehensive metadata.
                Last updated -
                63
                8
                TypeScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                A TypeScript-based server that converts static images into animated videos with Ghibli-style aesthetics, accessible through Claude Desktop.
                Last updated -
                2
                3
                TypeScript
                MIT License
                • Apple

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/ananddtyagi/gif-creator-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server