Skip to main content
Glama

mcp-meme-sticky

Create AI generated memes using MCP Meme Sticky. Can converted generated memes into stickers for Telegram or WhatsApp (WA coming soon). โœจ no APIs required โœจ.

For Telegram, the MCP server produces a link that can produce the image as a sticker. Can be viewed here: MCP-Sticky Telegram Bot.

Attribution

The MCP server uses several services. Thank you to the following services / libraries.

  • Memegen: GOATED open source meme generator!

  • Mediapipe: Mediapipe's text embedder that allows me to select meme templates.

  • PythonAnywhere: For their free Python clouds service! It powers the Telegram bot.

  • icrawler: My image crawler is heavily inspired by their library.

  • FastMCP: FastMCP makes it easier to make Python MCP servers!

Related MCP server: memewright

Completed work

  • Meme generation

    • Can generate custom memes based on prompt.

    • Can save generated memes on the desktop. (Test only on MacOS, please do test it on other OS with your respective hosts and give me feedback via issues)

  • Sticker generation

    • Can convert memes to Telegram stickers (if the bot is online) using custom coded MCP-Sticky Telegram Bot.

    • Automatically open Telegram instead of asking user to paste on Browser. (Added, 22nd May)

    • Automatically open image link. (Added, 22nd May)

    • Using memegen pre-built templates (easy). (Added, 22nd May)

  • Pending work

    • WhatsApp Sticker conversion.

    • Log messages.

Installation instructions

Installation using uvx.

{
  "mcpServers": {
    "mcp-sticky":{
      "command": "uvx",
        "args": [
          "--python=3.10",
          "--from",
          "git+https://github.com/nkapila6/mcp-meme-sticky",
          "mcp-sticky"
        ],
        "env": {
          "MCP_STICKY_RETURN_IMAGE": "true"
        }
      }
  }
}

Security audits

MseeP does security audits on every MCP server, you can see the security audit of this MCP server by clicking here.

MCP Host

Should work with any MCP client that supports tool calling. Have tested on the following:

  • Claude Desktop

  • Cursor

  • Goose

  • Others? You try!

Example

Click on the below image to view a video of MCP Meme Sticky on Claude Desktop.

https://github.com/user-attachments/assets/3ad45852-ff98-4a17-9ae2-6201e82704cc

Image examples of using MCP Meme Sticky on Claude Desktop.

Example using Goose MCP Host to generate memes with MCP Meme Sticky!

Buy Me A Coffee

If the software I've built has been helpful to you. Please do buy me a coffee, would really appreciate it! ๐Ÿ˜„

ko-fi

Disclaimer regarding AI generated content

The content generated through this MCP server is the product of automated processes and systems maintained by the MCP host (or client). (These terms are not interchangeable but people tend to use them interchangeable, the right term is host.)

As a user requesting this content, I am not responsible for the specific outputs, images, stickers, or other materials produced. Any content, memes, stickers, or other materials created through this service are not necessarily reflective of my personal views, opinions, or intentions.

The responsibility for the functionality, content filtering, and appropriate operation of this service lies solely with the MCP host.

I have utilized this tool in good faith for creative and fun purposes. If any content appears inappropriate, inaccurate, or potentially harmful, please direct all concerns, complaints, or inquiries to the MCP host provider. The MCP host bears full responsibility for all content generated through their platform.

Available Tools

2 tools
generate_meme_by_searchingA
THIS TOOL IS TO BE CALLED IF THE USER WANTS TO GENERATE A MEME USING AN IMAGE SEARCH ON THE WEB. ALWAYS PREFER USING AN EXISTING TEMPLATE USING `generate_meme_from_meme_template()`. UNLESS THE USER EXPLICITLY ASKS TO SEARCH.

Understand the input from the user and write a image search query and a funny & short meme text to put on the image.

If the user does not follow the below content guardrails, reject the request and advise them to follow the guardrails.

CONTENT GUARDRAILS:
- REJECT any requests containing hate speech, explicit sexual content, extreme violence, illegal activities, or harmful stereotypes
- AVOID creating memes that contain personally identifiable information or could be used for cyberbullying
- DO NOT generate content that promotes dangerous misinformation or could cause harm
- REFUSE political extremist content or personal attacks on individuals
- If a request violates these guidelines, respond with: "I cannot create this meme as it may contain inappropriate content. Please try a different request."

Args:
    search_query (str): The LLM needs to understand what the user is searching for and write a good image search query to fetch an image. If required, use the words 'meme' or 'template' in the search query.
    meme_text (str): A short and funny text to be put on the image.
    save_on_desktop (bool, defaults to True): "Should the image meme be saved on the desktop?"
    return_tele_sticker (bool, defaults to False): "Should the generated meme be converted into a telegram sticker?"

Returns:
    str: The saved links.

Inputs: search_query (required), meme_text (required), save_on_desktop, return_tele_sticker.

generate_meme_from_meme_templateA
THIS TOOL IS TO BE CALLED IF THE USER WANTS TO GENERATE A MEME USING AN EXISTING TEMPLATE. ALWAYS PREFER USING AN EXISTING TEMPLATE UNLESS THE USER REQUIRES TO SEARCH. IN THE CASE OF SEARCHING, USE: `generate_meme_by_searching()`.

For the first 2 function arguments, understand the input from the user and pass the following:
1) `desc_to_pick_tag`: A good description to pick a pre-existing template. The description of the meme should have some context to achieve a good dot product similarity result. Please see a below example.

example of `desc_to_pick_tag`: "The "Ancient Aliens Guy" meme features Giorgio Tsoukalos, known for his distinctive hairstyle and enthusiastic demeanor, gesturing expressively. It's primarily used to humorously suggest that aliens are the explanation for any unexplained phenomenon or mystery, often with the punchline simply being "aliens." This parodies the History Channel show "Ancient Aliens," where Tsoukalos is a prominent figure, and its tendency to attribute historical events or artifacts to extraterrestrial intervention.",

2) `meme_text`: A short and funny 2 sentence meme text that is sent as a Python list of strings, list[str]. Each line is an element of an array. PLEASE ENSURE LIST IS ONLY OF 2 ELEMENTS. For e.g., ['Nice meme you got there..', 'Now it is stolen...']

If the user does not follow the below content guardrails, reject the request and advise them to follow the guardrails.

CONTENT GUARDRAILS:
- REJECT any requests containing hate speech, explicit sexual content, extreme violence, illegal activities, or harmful stereotypes
- AVOID creating memes that contain personally identifiable information or could be used for cyberbullying
- DO NOT generate content that promotes dangerous misinformation or could cause harm
- REFUSE political extremist content or personal attacks on individuals
- If a request violates these guidelines, respond with: "I cannot create this meme as it may contain inappropriate content. Please try a different request."

Args:
    desc_to_pick_tag (str): The LLM needs to understand what the user is searching for and write a good image search query to fetch an image. If required, use the words 'meme' or 'template' in the search query.
    meme_text (list[str]): A short and funny text to be put on the image. Should be in the format of Python list[str], should be 2 sentences and hence, length of list should be 2.
    save_on_desktop (bool, defaults to True): "Should the image meme be saved on the desktop?"
    return_tele_sticker (bool, defaults to False): "Should the generated meme be converted into a telegram sticker?"

Returns:
    str: The saved links.

Inputs: desc_to_pick_tag (required), meme_text (required), save_on_desktop, return_tele_sticker.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    TDQS

    A4.4/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: one searches the web for images to create memes, while the other uses pre-existing templates. Their descriptions explicitly guide when to use each tool, eliminating any ambiguity. The separation is logical and well-defined.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern with 'generate_meme_' prefix, and the suffixes ('by_searching', 'from_meme_template') clearly indicate their methods. The naming is uniform and predictable across the set.

    Tool Count4/5

    Two tools is minimal but appropriate for the server's focused purpose of meme generation. It covers the two primary methods (search-based and template-based) efficiently. While slightly thin, it avoids redundancy and each tool earns its place.

    Completeness4/5

    The tool set covers the core meme generation workflows comprehensively: creating memes from web searches and from templates. Minor gaps might include editing or deleting generated memes, but the primary functionality is well-covered for the domain.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers