MCP Image Placeholder Server

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Referenced in an example usage where tailwindcss is loaded from unpkg.com for creating a modern page with a photo gallery

MCP 이미지 플레이스홀더 서버

이는 다양한 공급자로부터 플레이스홀더 이미지를 생성하는 도구를 제공하는 MCP(Model Context Protocol) 서버입니다.

특징

  • 지원되는 공급자로부터 플레이스홀더 이미지를 생성합니다.
  • 두 가지 이미지 공급자를 지원합니다.
    • placehold : 간단한 플레이스홀더 이미지를 제공합니다
    • lorem-picsum : 실제 이미지를 자리 표시자 이미지로 제공합니다.
  • 입력 매개변수를 검증합니다
  • 즉시 사용할 수 있는 이미지 URL을 반환합니다.

요구 사항

  • 파이썬 3.9 이상
  • uv 패키지 관리자

설치

  1. 이 저장소를 복제하세요
  2. MCP 서버 구성을 설정합니다.

용법

서버는 하나의 도구를 공개합니다.

image_placeholder

지정된 매개변수를 기반으로 플레이스홀더 이미지 URL을 생성합니다.

매개변수:

  • provider : 사용할 이미지 제공자( placehold 또는 lorem-picsum )
  • width : 이미지의 너비(1-10000)
  • height : 이미지의 높이(1-10000)

보고:

  • 생성된 이미지의 URL 문자열

사용 예:

지엑스피1

구성

이 서버를 데스크톱용 Claude에 연결하려면:

  1. claude_desktop_config.json 에 다음을 추가하세요.
    { "mcpServers": { "image-placeholder": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PROJECT", "run", "main.py" ] } } }
  2. 데스크톱용 Claude 재시작

이 서버를 Cursor에 연결하려면:

  1. 커서 설정 열기
  2. Features 섹션으로 이동하세요
  3. MCP Servers 섹션까지 아래로 스크롤하세요.
  4. Add new MCP server 버튼을 클릭하세요
  5. 다음 정보를 입력하세요:
    • 이름: image-placeholder
    • 유형: command
    • 서버 URL: uv --directory /ABSOLUTE/PATH/TO/PROJECT run main.py
  6. Add ↵ 버튼을 클릭하세요

문제 해결

도구가 감지되지 않으면 uv 명령의 절대 경로를 사용합니다. 예:

/ABSOLUTE/PATH/TO/uv --directory /ABSOLUTE/PATH/TO/PROJECT run main.py

예제 사용 및 출력(커서)

즉각적인:

Create a new directory named "example" and a file named output.html. Then create a single modern looking page using tailwindcss: https://unpkg.com/@tailwindcss/browser@4 Show a nice header, content, and footer, showing a photo gallery. Save this into output.html

출력: 예제 출력(커서)

특허

MIT 라이센스

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

이 서버는 다양한 공급자로부터 플레이스홀더 이미지 URL을 생성하여 Claude 및 Cursor와 같은 데스크톱 애플리케이션과의 통합과 입력 검증을 지원합니다.

  1. Features
    1. Requirements
      1. Installation
        1. Usage
          1. image_placeholder
        2. Configuration
          1. To connect this server to Claude for Desktop:
          2. To connect this server to Cursor:
        3. Troubleshooting
          1. Example Usage and Output (Cursor)
            1. License
              ID: pye2qsv1wz