gifmate
Integrates with the GIPHY API to search trending GIFs or search by query, then lets users and agents select, send, and view GIFs in supported coding-agent chats.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gifmate send a celebratory GIF, we finally fixed that bug"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
gifmate
Trade GIFs with your coding agent, like with a teammate, and let it get to know you.
You → agent: pick a GIF from a GIPHY tray right in the chat. The agent reads it the way a teammate would, as a message ("let's go!", "this is fine"), not as a picture to describe.
Agent → you: at the moments that earn one (a bug hunted for days finally fixed, a long task done), the agent sends you a GIF that plays in the chat.
It learns you: a small local diary records how GIFs land with you. Your own GIFs teach it what its messages make you feel, so the next time it is the one in tune.
Agents too: when one agent hands a job to another (Claude to Codex, to a subagent), the handoff comes with a GIF, so you see at a glance who passed what to whom.
It watches GIFs: share a screen recording of a bug and the agent sees it frame by frame (agents otherwise read only the first frame of an animated GIF).
Works with Claude Code, Codex, Claude Desktop, Antigravity, Gemini CLI, Cursor, VS Code and any MCP client.
Quick start
You need Node 20+ (Windows, macOS, Linux).
npx -y gifmate initinit asks for a free GIPHY key if you have none (get one in a minute:
Create an App, choose API), finds the agents and editors on your machine and wires gifmate into each,
asking before every change. Then restart or reconnect your agent and type /gif (Claude Code), or just chat.
Prefer doing it by hand? See Manual install.
Related MCP server: giphy
What works where
Claude Code | Codex (CLI, IDE, app) | Claude Desktop, Antigravity, Gemini CLI, Cursor, VS Code | |
Agent watches a GIF (file or URL) | ✓ | ✓ | ✓ |
Agent sends GIFs at the right moments | ✓ plays inline | ✓ as a local image in the chat | ✓ where the chat draws local images, else a link |
You send a GIF |
| GIF panel beside the chat (VS Code-family editors; other chats by Ctrl+V) |
|
Agent-to-agent handoffs with a GIF | ✓ plays inline | ✓ | ✓ where local images are drawn |
Reaction diary, calibrate / quiet modes | ✓ | ✓ | ✓ |
Claude Code's tray and inline GIFs use Claude Code mods (plugin hooks), an early-access feature it asks once to turn on; without them the tools still work. Tested on Windows (Claude Code, Codex, Antigravity, Gemini CLI); macOS and Linux are not tested yet, reports welcome.
Use
In Claude Code
/gifopens the tray with what is trending; type to search, results follow as you type.➤ Send sends a GIF now. 📎 Attach keeps it for your next message: write, press Enter, both go together.
deploy done /gif lets go:/gifanywhere in a sentence keeps your words and opens the tray on the rest.Paste a GIF (Ctrl+V) and send: it plays in your message and reaches the agent as a GIF, not as a still frame.
In VS Code, Cursor or Antigravity: the GIF icon in the activity bar opens the panel. Choose where GIFs go (Send to): Codex gets it pasted for you; for any other chat (Antigravity's agent, Claude...) the GIF is copied and you press Ctrl+V. Search, click a GIF: it arrives animated. (Codex shows the model one frame of a pasted GIF, so the panel puts the GIF's middle frame first: the model sees the moment, you see the animation.)
Anywhere: "What happens in this GIF? ~/Downloads/bug.gif" and the agent watches it frame by frame.
It gets to know you
Every GIF you trade goes into a reaction diary on your machine: the moment, the GIF's title, how it landed.
In tune. A GIF you send is how the agent's last message made you feel. When that kind of moment comes again, it sends you that feeling first. Only positive or playful GIFs count as examples: a bitter "this is fine" is your mood, and keeps the agent's GIFs away for an hour.
The situation decides, not the label. A bug hunted for days (hard-won) is not a quick one (ordinary). Three brakes stop any GIF: a slip of the agent's own, you under stress, a sensitive context (security, data, money, a client, production).
Calibrate, then quiet. At first the agent asks, now and then, if a GIF fit (👍/👎). Once it has enough clear signal (5 GIFs over 3 days and 2 kinds of moment, 3 clear reactions, no recent "no") it says so once and only watches.
The pace is enforced by gifmate, not left to the agent: 30 minutes between its GIFs, 4 a day. A GIF you asked for, or a reply to your playful one, always goes through.
Command | What it does |
| switch modes at any time |
| the agent tells you what it learned |
| erases the diary |
Between agents
When an agent hands a job to another one, or reports a result back, gif_handoff wraps the message in a GIF
("on it", "your turn", "done"): you see the GIF and → Codex: review the diff in the chat. The agent sends
the returned message through its own channel (a subagent, another session, codex exec); gifmate shows the
handoff, it does not deliver it. The written request is always the command: an agent receiving a GIF acts on
the words, never on the GIF alone.
Tools (MCP API)
Tool | For | What it does |
| agent | Frames of a GIF (file or URL), evenly spaced in time, with timestamps ( |
| agent | Searches GIPHY ( |
| agent | Sends a GIF. Takes |
| agent | Writes to the diary: |
| agent | Reads the diary back (mode, pace, what worked, in-tune examples); sets the mode or forgets. |
| agent | Wraps a handoff to another agent in a GIF ( |
| the tray | Prepares a GIF the user picked. Agents do not call it. |
The etiquette (when to send a GIF, how to read one) travels with the server as MCP instructions and in the tool descriptions, so every client gets it.
Manual install
Claude Code
/plugin marketplace add AntonioNoOne/gifmate
/plugin install gifmate@gifmateCodex: codex plugin marketplace add AntonioNoOne/gifmate then codex plugin add gifmate@gifmate, or
codex mcp add gifmate -- npx -y gifmate. To let its tools run without asking, in ~/.codex/config.toml:
[mcp_servers.gifmate]
default_tools_approval_mode = "approve"Gemini CLI: gemini extensions install https://github.com/AntonioNoOne/gifmate
Antigravity's agent: add the server to ~/.gemini/config/mcp_config.json (as for Claude Desktop below) and
copy agent-skills/gif/ to ~/.gemini/config/skills/gif/ for the /gif command. gifmate init does both.
Claude Desktop, Cursor, VS Code and other MCP clients: run the server with npx -y gifmate.
Claude Desktop,
claude_desktop_config.json:{ "mcpServers": { "gifmate": { "command": "npx", "args": ["-y", "gifmate"] } } }Cursor,
~/.cursor/mcp.json: same as Claude Desktop.VS Code, user
mcp.json:{ "servers": { "gifmate": { "type": "stdio", "command": "npx", "args": ["-y", "gifmate"] } } }
GIF panel for VS Code, Cursor, Antigravity: gifmate init installs it; by hand, download
gifmate-panel-*.vsix from the latest release and run
code --install-extension <file> (or cursor, antigravity-ide).
GIPHY key: npx -y gifmate init, or a GIPHY_API_KEY environment variable (it wins). The key is saved
in %APPDATA%\gifmate\config.json (Windows) or ~/.config/gifmate/config.json (macOS, Linux).
A free key allows 100 searches an hour; repeated searches are remembered for 10 minutes.
Privacy
What leaves your machine: GIPHY searches (with your key, as GIPHY's API requires) and the download of any GIF URL you or the agent give to a tool, which the host of that URL sees like any download.
The diary is one file next to the key (
diary.jsonl): labels only (moment, GIF title, outcome, a note of at most 140 characters), never the conversation./gif forgetdeletes it.When the agent watches a GIF, its frames become part of the conversation and reach your model provider like any image you paste.
gif_viewcan read any GIF your user can read: keep tool approvals on if that matters.The key is stored in plain text in your user config folder; protect it like any local token.
Sent GIFs and previews live in your temp folder (
gifmate/) and are removed after a day.URLs pointing at your machine or local network are refused (checked on the address actually connected to); downloads stop at 20 MB and 15 seconds; GIFs over 4096×4096 or 2000 frames are not decoded.
How it works
GIFs are decoded in pure JavaScript (omggif), every frame composited as a
browser draws it. gif_view returns frames as PNG. For Claude Code's chat, gif_send turns a GIF into an SVG
that plays its frames with SMIL, because chat panels draw SVG as an image and an image does not animate a GIF
nested inside an SVG. The diary is plain JSON lines; everything the agent reads from it is computed on the fly.
Develop
npm install
npm test
npm run build # dist/: the bundled server the plugins run
cd vscode && npm run package # the GIF panel's .vsixSearch results powered by GIPHY. MIT license; the bundled dependencies (MCP SDK, zod, omggif, pngjs) are MIT too.
Available Tools
7 toolsgif_handoffA
When you hand a job to another agent (a subagent, Codex, another Claude session) or report back a result, wrap your message in a GIF the user sees in the chat. Pass who it is for, the request in plain words, and the feeling ('on it', 'your turn', 'done', 'need help'). You get back the message to send through your own channel to that agent (your message or agent tool, codex exec...): gifmate shows it, it does not deliver it. Not limited by the pace of GIFs to the user.
Inputs: to (required), request (required), source, feeling.
gif_noteA
Write to the user's local GIF reaction diary, so you get to know them. Call it: after the user reacts to one of your GIFs (kind reaction: a GIF back or a clear yes/no is strong, 'ahah' or an emoji medium, silence or a topic change weak and never negative); when they tell you a preference about GIFs or humour (kind lesson, in their words, short); when they send you a GIF (kind user_gif): your last message made them feel it, so it shows how to be in tune with them - record what that message was (moment, intensity), the feeling their GIF shows and its tone; if positive or playful, next time you mark that kind of moment that is the GIF to send them first; if bitter or frustrated, it is their mood, not an example. When they say a GIF would have fit: kind missed, with the moment. Labels only: never copy the conversation.
Inputs: kind (required), gif, note, tone, +5 more.
gif_pickA
For GIF pickers (the gifmate tray): prepares the GIF the USER picked to send you, and writes it to their diary. Never call it yourself: to send a GIF, use gif_send.
Inputs: data, title, source, recent_paste.
gif_profileB
What you know about how GIFs land with this user, from their local reaction diary: mode (calibrate = you still ask if a GIF fit; quiet = you only watch reactions, never ask), today's count and pace, what worked per moment, their stated preferences, GIFs already overused. Read it before choosing a GIF to send. Also the user's commands: '/gif mode calibrate' or '/gif mode quiet' (set mode), '/gif profile' (show them, in plain words, what you learned), '/gif forget' (forget = true, erases the diary).
Inputs: mode, forget.
gif_searchA
Search GIPHY for a reaction GIF to send the user, then send it with gif_send on its gif URL. Follow gifmate's rules: only at a moment that earns it (a hard-won win, good news, a kickoff, a warm sign-off), never when something failed or the user is stressed, at most one per reply and not two replies in a row. Search the feeling in English, pick by title: if gif_profile's inTune shows what the user felt at this kind of moment, search that feeling.
Inputs: query (required), limit, thumbs.
gif_sendA
Send a GIF to the user in the chat. Pass the gif URL of a gif_search result (or any GIF URL or local path) and the moment it marks, with its intensity and any brake: the same moment is not the same moment (a bug that hunted you both for days is a win; a slip of yours, fixed, is not; nothing is, when the user is stressed or security, data or money are at stake). gifmate keeps the pace (30 minutes between your GIFs, 4 a day) and may answer 'not now': then answer with words. The send is written to the user's local reaction diary; the reply tells you whether to ask the user if it fit.
Inputs: moment (required), source (required), intensity (required), title, +2 more.
gif_viewARead-only
Watch an animated GIF. Image readers show only its first frame; this returns frames evenly spaced in time, in order, with timestamps, so you can follow the motion. Use it whenever the user shares a .gif (local path or URL), and to preview a GIF before sending one.
Inputs: source (required), max_frames.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct action (search, send, view, note, profile, pick, handoff), and the descriptions explicitly resolve the riskiest confusions (gif_pick 'never call it yourself: use gif_send'; gif_note writes vs gif_profile reads). Minor pairing overlap remains between gif_pick/gif_send and gif_note/gif_profile, but guidance keeps misselection unlikely.
Every tool follows the same gif_<verb> pattern (gif_pick, gif_send, gif_search, gif_view, gif_note, gif_profile, gif_handoff). Consistent prefix and short, predictable verb suffixes throughout.
Seven tools is well-scoped: search, view, send, and diary/profile/handoff each earn their place with no redundant surface. Nothing feels padded or thin.
Full lifecycle is covered: discover (search), inspect (view), deliver (send, handoff), record and learn (note, profile, pick), plus reset via profile's forget. A small gap is the lack of editing or removing individual diary entries or explicit preference-setting beyond mode commands.
Maintenance
Related MCP Connectors
A visual brain for your agents: live, reusable UI fragments and skills to pull into code.
Messaging for AI agents: DMs, groups, presence, contacts and files between agents.
Draft user flows with your coding agent, then share one link for teammates to review.
Ask other AI models and generate images, speech, music and video from your coding agent.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables AI models to search, retrieve, and utilize GIFs from Giphy with features like content filtering, multiple search methods, and comprehensive metadata.3308 npm36MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to search Giphy for GIFs by keyword, retrieve trending GIFs, and fetch random GIFs with optional tags, returning titles, URLs, ratings, and multiple image sizes.80 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables coding agents to show mockups and diagrams in a browser tab for a human to review and click, then reads those clicks back to guide visual brainstorming sessions.-
- AlicenseNot gradedqualityAmaintenanceEnables an existing Codex or Claude Code conversation to inspect an original GIF as ordered composited PNG frames, timing, coverage, and source hashes through bounded local tools. It also opens a process-owned picker and supports inspecting focused intervals from an immutable snapshot.MIT