Placeholder Image Generator
Click on "Install 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., "@Placeholder Image Generatorgenerate a 400x300 placeholder with blue background and 'Coming Soon' text"
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.
Placeholder Image Generator MCP Server
A Model Context Protocol (MCP) server that generates customizable placeholder images using HTML5 Canvas.
Features
Flexible Dimensions: Generate images from 1x1 to 4096x4096 pixels
Custom Colors: Support for hex, RGB, and named colors
Smart Text Rendering: Automatic font sizing and line wrapping
Contrast Detection: Automatically chooses contrasting text colors
Multiple Formats: Outputs PNG and JPEG images
Error Validation: Comprehensive input validation with helpful error messages
Related MCP server: word2img-mcp
Installation
npm install
npm run buildUsage
This is an MCP server designed to be used with MCP-compatible clients like Claude for Desktop.
Tool: generate-placeholder-image
Generate a placeholder image with the following parameters:
filename(string): Output filename with extension (.png, .jpg, .jpeg)width(number): Image width in pixels (1-4096)height(number): Image height in pixels (1-4096)color(string): Background color (hex like #FF0000, rgb like rgb(255,0,0), or named colors like 'red')text(string): Text to display on the image
Example
{
"filename": "placeholder.png",
"width": 800,
"height": 600,
"color": "#3498db",
"text": "Sample Placeholder"
}Configuration for Claude for Desktop
Add the following to your Claude for Desktop configuration:
Windows
{
"mcpServers": {
"placeholder-generator": {
"command": "node",
"args": ["D:\\path\\to\\generate-placeholder\\build\\index.js"]
}
}
}macOS/Linux
{
"mcpServers": {
"placeholder-generator": {
"command": "node",
"args": ["/absolute/path/to/generate-placeholder/build/index.js"]
}
}
}Development
# Install dependencies
npm install
# Build the project
npm run build
# Run in development mode
npm run devTechnical Details
Built with TypeScript and the MCP SDK
Uses the
canvaslibrary for server-side image generationImplements stdio transport for MCP communication
Automatic text scaling based on image dimensions
Multi-line text support with word wrapping
Supported Color Formats
Hex:
#FF0000,#f00RGB:
rgb(255, 0, 0)RGBA:
rgba(255, 0, 0, 0.5)Named:
red,blue,green,yellow,orange,purple,pink,brown,black,white,gray
License
ISC
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceThis server generates placeholder image URLs from various providers, supporting input validation and integration with desktop applications like Claude and Cursor.Last updated112MIT
- Alicense-qualityDmaintenanceEnables converting Markdown text into high-quality 3:4 ratio JPG images using multiple rendering backends. Supports intelligent fallback between imgkit/wkhtmltopdf, markdown-pdf, and PIL rendering engines with customizable styling options.Last updatedMIT
- Flicense-qualityDmaintenanceGenerates customizable test/placeholder images as PNG files with specified dimensions (1-4096px), hex colors, and optional labels. Automatically creates directories and adds dimension overlays with smart contrast text.Last updated
- Alicense-qualityDmaintenanceEnables comprehensive image processing, stock image search from Pexels and Pixabay, and AI image generation using OpenAI DALL-E with support for resizing, format conversion, color extraction, and watermarking.Last updated33MIT
Related MCP Connectors
Generate images, GIFs, and PDFs from HTML, URLs, or templates — from your AI agent.
Turn any idea, URL, doc, or PDF into on-brand visuals: 100+ formats, native in 150+ languages
Generate on-brand images from your AI agent: design, edit, and render templates over MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/sam2332/mcp-server-generate-placeholder'
If you have feedback or need assistance with the MCP directory API, please join our Discord server