Back to Home
oshoura icon

memes-mcp

Verified Safe

by oshoura

Overview

This MCP server enables users to find meme templates via text search and generate new meme images by overlaying custom text onto the templates, leveraging Google Gemini for meme annotation and Pinecone for vector search.

Installation

Run Command
npm start

Environment Variables

  • PINECONE_API_KEY
  • PINECONE_INDEX
  • PINECONE_NAMESPACE
  • AWS_ACCESS_KEY
  • AWS_SECRET_KEY
  • S3_BUCKET
  • S3_REGION
  • GOOGLE_API_KEY

Security Notes

API keys for Google Generative AI, Pinecone, and AWS S3 are loaded from environment variables, which is good practice. Input schemas for tool functions are validated using Zod, mitigating some input-related risks. Image processing uses the Jimp library for text overlay, a common and generally safe image manipulation tool. The scraper component, a prerequisite for generating the 'memes.json' data, utilizes Selenium and fetches external content from imgflip.com. While Selenium can introduce a larger attack surface if not properly isolated, it operates as an offline data preparation step and sanitizes filenames. There is a theoretical potential for Server-Side Request Forgery (SSRF) if the 'memes.json' file (which is generated by the trusted scraper) were maliciously altered to contain arbitrary 'image_url' values pointing to internal network resources; however, the server itself loads this file locally.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens800
Stars0
Forks0
Last Update2025-12-16

Tags

Meme GenerationAIVector SearchImage ProcessingAWS S3LLM Integration