mcp-image-placeholder
7
The MCP Image Placeholder Server is designed to generate placeholder images using two supported providers, 'placehold' and 'lorem-picsum'. It offers simple integration with other services via the Model Context Protocol and allows for image creation using specified parameters.
MCP Image Placeholder Server
This project is a Model Context Protocol (MCP) server designed to generate placeholder images from different providers.
Features
- Generates placeholder images from supported providers
- Supports two image providers:
- placehold: Provides simple placeholder images
- lorem-picsum: Provides real images as placeholder images
- Validates input parameters
- Returns image URLs for immediate use
Requirements
- Python 3.9+
- uv package manager
Installation
- Clone this repository
- Set up the configuration for MCP server
Usage
The server exposes one tool called image_placeholder
which generates a placeholder image URL based on specified parameters such as provider, width, and height.
Configuration
Instructions for connecting this server to both Claude for Desktop and Cursor are provided.
Troubleshooting
Guidance on using the absolute path for the uv
command if the tool is not detected.