Imgflip Mcp

io.github.mariokernich由 GitHub 账号 mariokernich 发布v1.1.0更新于 Oct 25, 2026

Browse Imgflip meme templates and generate memes (caption images, AI memes) via the Imgflip API

已验证STDIO仅桌面沟通与协作媒体与设计

概览

AI 生成的概览

本地 MCP 服务器,让助手浏览 Imgflip 表情包模板并添加文字,生成可分享的表情包图片。

可以做什么
列出最热门的表情包模板,可按名称筛选,无需账号(get_memes)。为选定模板添加文字,返回生成图片的链接和内嵌图片(caption_image)。启用可选的 Premium 订阅后,可搜索上百万模板、按 id 查询模板、为动态 GIF 添加文字、根据文本自动挑选模板,以及生成 AI 创作的表情包。另提供 make-meme 提示词,按主题引导模板选择与配文。
适用场景
适合在对话中需要反应图或轻松配图时使用:README 段落、发布说明、代码评审回复、回顾或站会总结、事故复盘、聊天公告等。不适合严肃的图像编辑或设计工作。
运行要求
通过 stdio 在本地运行,通常用 npx 启动,需要 Node.js 22 或更高版本。除模板列表外都需要一个免费 Imgflip 账号,凭据通过 IMGFLIP_USERNAME 和 IMGFLIP_PASSWORD 环境变量提供。可选的 Premium 工具需要 Imgflip API Premium 订阅,并将 IMGFLIP_PREMIUM 设为 true。需要能访问 Imgflip API 的网络。
安装前请注意
Imgflip API 使用用户名和密码认证而非 API 密钥,因此 IMGFLIP_PASSWORD 是保存在客户端配置中的真实账号密码,建议使用专用账号。表情包文字和凭据会发送给 Imgflip,生成的图片会公开托管在 imgflip.com 上。配文操作会在外部服务上创建内容。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Imgflip Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

imgflip-mcp

[CI] [npm] [License: MIT] [Install in VS Code]

📚 Full documentation: mariokernich.github.io/imgflip-mcp

There's an MCP server for your database. One for your Kubernetes cluster. One for your cloud bill, one for your ticket system, and at least twelve for reading PDFs. Serious servers for serious work.

But somewhere along the way, the ecosystem forgot the workload that actually keeps engineering teams running: memes.

imgflip-mcp closes that gap. It's a Model Context Protocol server for the Imgflip meme generator API, so Claude (or any other MCP client) can browse thousands of meme templates and caption them mid-conversation — turning your AI assistant into the coworker who always has the right reaction image.

[Drake meme — rejecting: MCP for real business use case; approving: MCP to get more fun]
This meme was, of course, generated by imgflip-mcp itself.

You: "Make me a Drake meme about writing tests vs. testing in production" Claude: 🖼️ calls get_memes → calls caption_image → sends you the image link

Everything you need is a free Imgflip account. An Imgflip API Premium subscription is optional — it unlocks five extra tools (search, GIF captioning, automeme, AI memes), which stay hidden unless you explicitly enable them.

What would I even use this for?

More than you'd think. Once meme generation is one sentence away, it sneaks into real workflows:

  • Docs people actually finish reading. Let Claude write your README section and cap it with a fitting meme — retention engineering at its finest.
  • Release notes with a punchline. "v2.0: we rewrote everything" hits different next to an Expanding Brain meme of your migration steps.
  • Code review, but kind. Answer the 400-line PR with a Two Buttons meme instead of a lecture. Same message, fewer hurt feelings.
  • Retros & standups. Feed in the sprint summary, get the This Is Fine recap the team deserves.
  • Incident postmortems. Nothing says "blameless" like a well-chosen Disaster Girl on the last slide.
  • Slack announcements. Deploy freezes, on-call handovers, "the build is green again" — all measurably more effective as memes.

Is any of this necessary? No. Neither is syntax highlighting, and yet here we are.

Tools

Free tools (enabled by default)

ToolDescriptionImgflip endpointRequirements
get_memesList the ~100 most popular meme templates, with optional name filteringGET /get_memesnone
caption_imageCaption a template and get the generated image URLPOST /caption_imagefree Imgflip account

These two tools cover the everyday use case end to end: find a template, put text on it, get the image URL.

Premium tools (optional, opt-in)

ToolDescriptionImgflip endpoint
search_memesSearch 1M+ templates by namePOST /search_memes
get_memeLook up a single template by idPOST /get_meme
caption_gifCaption an animated GIF templatePOST /caption_gif
automemeAuto-pick a template for a piece of textPOST /automeme
ai_memeLet Imgflip's AI invent a whole memePOST /ai_meme

These require an Imgflip API Premium subscription and are not registered by default, so free-tier users never see tools that would fail. If you have Premium, enable them by setting IMGFLIP_PREMIUM=true.

Extras

  • Inline images: every meme-generating tool returns the result both as URL and as an embedded image (up to 2 MB), so clients like Claude Desktop render the meme directly in the chat.
  • make-meme prompt: an MCP prompt that guides the model through template selection and captioning — pass a topic and optionally a template preference.
  • Tool annotations: lookup tools are marked readOnlyHint so clients can auto-approve them safely.

Prerequisites

  • Node.js 22+
  • An Imgflip account (sign up for free) — required for every tool except get_memes

Environment variables

VariableRequiredDescription
IMGFLIP_USERNAMEyes*Your Imgflip username
IMGFLIP_PASSWORDyes*Your Imgflip password
IMGFLIP_PREMIUMnoSet to true to also register the five Premium tools (default: off)

* Only get_memes works without credentials.

Note: The Imgflip API authenticates with username/password form fields — it does not offer API keys. Consider creating a dedicated Imgflip account for API use.

Installation

The server communicates over stdio, so your MCP client launches it as a subprocess — there is no port or daemon to manage. Pick whichever route fits your client:

RouteBest forHow
Desktop Extension (.mcpb)Claude Desktopdownload from Releases, double-click, fill in the credentials form — guide
Claude Code pluginClaude Code/plugin marketplace add mariokernich/imgflip-mcp, then /plugin install imgflip@imgflip-mcp — guide
VS Code buttonCopilot usersclick the Install in VS Code badge above — guide
npxany other clientcommand npx, args ["-y", "imgflip-mcp"] — guide

Every client uses the same shape. For example, in Claude Desktop's claude_desktop_config.json or Cursor's .cursor/mcp.json:

json
{  "mcpServers": {    "imgflip": {      "command": "npx",      "args": ["-y", "imgflip-mcp"],      "env": {        "IMGFLIP_USERNAME": "your-username",        "IMGFLIP_PASSWORD": "your-password"      }    }  }}

Or for Claude Code in one line:

bash
claude mcp add imgflip \  --env IMGFLIP_USERNAME=your-username \  --env IMGFLIP_PASSWORD=your-password \  -- npx -y imgflip-mcp

Add IMGFLIP_PREMIUM=true to the environment if you have API Premium. Then just ask:

"Make a Drake meme: top 'manually formatting code', bottom 'letting the linter do it'."

Documentation

Everything beyond the basics lives on the documentation site:

Privacy

This server runs locally and is stateless: your Imgflip credentials and meme texts are sent exclusively to https://api.imgflip.com (which requires them for authentication and generation), and nothing is logged, stored, or sent anywhere else. Generated memes are hosted publicly on imgflip.com. Details in PRIVACY.md; Imgflip's own handling is covered by the Imgflip privacy policy.

Contributing

Contributions are welcome — see CONTRIBUTING.md for the guidelines and CHANGELOG.md for release history. Something broken? Open an issue — ideally with the tool call that failed and your client.

This is an independent community project, not affiliated with Imgflip.

License

MIT

来源:README.md,提交 cf93f55

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v1.1.0最新Oct 9, 2026
  2. v1.0.1Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分