MCP.so
登录

MCP Image Placeholder Server

@husniadil

基本信息

分类

媒体与设计

传输方式

stdio

作者

husniadil

关于 MCP Image Placeholder Server

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

#mcp#image-placeholder#server

MCP Image Placeholder Server 配置

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

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

MCP Image Placeholder Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

What are the runtime requirements?

Python 3.9+ and the `uv` package manager are required.

2

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.

3

Are there any limits on image dimensions?

Width and height must be between 1 and 10000 pixels.

评论

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