MCP イメージプレースホルダーサーバー
これは、さまざまなプロバイダーからのプレースホルダー イメージを生成するためのツールを提供するモデル コンテキスト プロトコル (MCP) サーバーです。
特徴
サポートされているプロバイダーからプレースホルダー画像を生成します
2 つの画像プロバイダーをサポートします:
placehold
: シンプルなプレースホルダー画像を提供しますlorem-picsum
: 実際の画像をプレースホルダー画像として提供します
入力パラメータを検証する
すぐに使用できる画像の URL を返します
要件
Python 3.9以上
uv
パッケージマネージャー
インストール
このリポジトリをクローンする
使用法
サーバーは 1 つのツールを公開します:
image_placeholder
指定されたパラメータに基づいてプレースホルダー画像 URL を生成します。
パラメータ:
provider
: 使用する画像プロバイダー (placehold
またはlorem-picsum
)width
: 画像の幅(1-10000)height
: 画像の高さ(1-10000)
戻り値:
生成された画像のURL文字列
使用例:
構成
このサーバーをClaude for Desktopに接続するには:
claude_desktop_config.json
に以下を追加します。{ "mcpServers": { "image-placeholder": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PROJECT", "run", "main.py" ] } } }デスクトップ版のClaudeを再起動
このサーバーを Cursor に接続するには:
カーソル設定を開く
Features
セクションへMCP Servers
セクションまでスクロールしますAdd new MCP server
ボタンをクリックします。次の情報を入力してください。
名前:
image-placeholder
タイプ:
command
サーバー URL:
uv --directory /ABSOLUTE/PATH/TO/PROJECT run main.py
Add ↵
ボタンをクリックします
トラブルシューティング
ツールが検出されない場合は、 uv
コマンドの絶対パスを使用します。例:
使用例と出力(カーソル)
プロンプト:
出力:出力例 (カーソル)
ライセンス
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
このサーバーは、さまざまなプロバイダーからのプレースホルダー画像 URL を生成し、入力の検証と、Claude や Cursor などのデスクトップ アプリケーションとの統合をサポートします。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityThis server provides tools for uploading images and videos directly to Cloudinary using Claude/Cline, facilitating resource management with customizable options like resource type and public ID.Last updated -59MIT License
- -securityAlicense-qualityA MCP server that integrates with Cursor IDE to generate images based on text descriptions using JiMeng AI, allowing users to create and save custom images directly within their development environment.Last updated -201MIT License
- AsecurityAlicenseAqualityA lightweight server that enables seamless integration with Unsplash's image library, allowing developers to search for high-quality photos with various filters directly from the Cursor editor.Last updated -1168MIT License
- AsecurityAlicenseAqualityA server that integrates with Claude Desktop to enable real-time web research capabilities, allowing users to search Google, extract webpage content, and capture screenshots directly from conversations.Last updated -3199MIT License