MCP.so
登录

MCP Image Placeholder Server

@husniadil

关于 MCP Image Placeholder Server

A lightweight MCP server for generating placeholder images from multiple providers.

基本信息

分类

媒体与设计

传输方式

stdio

发布者

husniadil

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "image-placeholder": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PROJECT",
        "run",
        "main.py"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

媒体与设计 分类下的更多 MCP 服务器