MCP Image Placeholder Server
@husniadil
A lightweight MCP server for generating placeholder images from multiple providers.
Overview
What is MCP Image Placeholder Server?
MCP Image Placeholder Server is a Model Context Protocol (MCP) server that provides a tool for generating placeholder image URLs from different providers. It supports two providers—placehold.co for simple placeholders and picsum.photos for real images—and is intended for developers who need quick placeholder images in their projects.
How to use MCP Image Placeholder Server?
Install Python 3.9+ and the uv package manager, then configure the server in claude_desktop_config.json or Cursor's MCP settings. The server exposes one tool, image_placeholder, which takes a provider (placehold or lorem-picsum), a width, and an optional height (both 1–10000) and returns an image URL.
Key features of MCP Image Placeholder Server
- Generates placeholder images from two supported providers
- Validates input parameters (width, height range)
- Returns image URLs for immediate use in applications
- Simple configuration for Claude Desktop and Cursor
Use cases of MCP Image Placeholder Server
- Rapidly inserting placeholder images during web development
- Testing responsive layouts with custom image dimensions
- Generating image URLs for documentation or prototyping
- Using real photos as placeholders via the lorem-picsum provider
FAQ from MCP Image Placeholder Server
What are the runtime requirements?
Python 3.9+ and the uv package manager are required.
How do I configure the server for Claude Desktop?
Add the server to claude_desktop_config.json with "command": "uv" and arguments pointing to your project directory and main script, then restart Claude for Desktop.
Does the server store any of my data?
—
What transports does this server support?
—
Are there any limits on image dimensions?
Width and height must be between 1 and 10000 pixels.