mcp-image-downloader
MCP 画像ダウンローダー
画像のダウンロードと最適化のためのツールを提供するMCPサーバー。モデルコンテキストプロトコル(MCP)を使用して構築されたこのサーバーにより、AIアシスタントはURLから画像をダウンロードし、基本的な画像最適化タスクを実行できます。
特徴
適切なエラー処理を行って URL から画像をダウンロードする
次のオプションを使用して画像を最適化します。
サイズ変更(アスペクト比を維持)
品質調整(JPEG/WebP)
フォーマット変換
Related MCP server: Cloudflare Playwright MCP
インストール
# Clone the repository
git clone https://github.com/qpd-v/mcp-image-downloader.git
cd mcp-image-downloader
# Install dependencies
npm install
# Build the project
npm run build使用法
MCPサーバーとして
サーバーを MCP 構成に追加します (例: Claude Desktop の構成)。
{
"mcpServers": {
"image-downloader": {
"command": "node",
"args": ["/path/to/mcp-image-downloader/build/index.js"]
}
}
}利用可能なツール
ダウンロード画像
URL から指定されたパスに画像をダウンロードします。
パラメータ:
url: ダウンロードする画像のURLoutputPath: 画像を保存するパス
画像の最適化
画像の最適化されたバージョンを作成します。
パラメータ:
inputPath: 入力画像へのパスoutputPath: 最適化された画像を保存するパスwidth(オプション):ターゲットの幅(幅のみ指定されている場合はアスペクト比を維持します)height(オプション):ターゲットの高さ(高さのみ指定されている場合はアスペクト比を維持します)quality(オプション):JPEG/WebP 品質(1~100)
発達
# Run in development mode
npm run start
# Build the project
npm run build要件
Node.js 16以上
NPMまたは互換性のあるパッケージマネージャー
ライセンス
MIT ライセンス - 詳細についてはLICENSEファイルを参照してください。
著者
qpd-v
バージョン
0.1.0 - 初回リリース
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/qpd-v/mcp-image-downloader'
If you have feedback or need assistance with the MCP directory API, please join our Discord server