Skip to main content
Glama
TOBYCAI

image-mcp

by TOBYCAI

image-mcp

日本語 | English

GitHub stars Downloads Downloads@latest License MCP

Pillow ベースのローカル画像処理 MCP サーバー(オフライン、API キー不要)。MCP を通じて DeepSeek Harness(または stdio MCP をサポートする他のクライアント)に画像ツール一式を公開します:info / resize / crop / convert / compress / rotate / flip / thumbnail / watermark / effects / placeholder / overlay、合計 12 個のツール。モデルからは mcp__images__* というツール名で見えます。

特徴

  • オフライン・ゼロコスト:完全ローカルの Pillow 処理で、オンライン API/キーは一切不要。

  • 12 個の画像ツール:情報 / リサイズ / クロップ / 変換 / 圧縮 / 回転 / 反転 / サムネイル / 透かし / エフェクト / プレースホルダー / オーバーレイ。

  • 標準プロトコル:JSON-RPC 2.0、行区切りの stdio MCP。すべてのログは stderr に出力(stdout はプロトコル専用)。

  • 簡単に接続@deepseek-ai/dsh-mcp-client 経由で 1 行設定するだけで DSH プロファイルに組み込めます。

Related MCP server: media-mcp

インストールと接続(DSH)

pip install -r requirements.txt   # 或 pip install Pillow

DSH プロファイルのパッチ(例:cordis.patch.yml)に以下を追加:

- id: mcp-images
  name: '@deepseek-ai/dsh-mcp-client'
  config:
    serverName: images
    transport: stdio
    command: python3
    args: ['<PATH-TO>/image_mcp.py']

DSH を再起動すると、エージェントが mcp__images__* ツールを呼び出せるようになります。

単独実行(DSH なし)

echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | python3 image_mcp.py
# 返回 12 个工具的 schema

ツール一覧

ツール

説明

info

画像の形式 / サイズ / モード / ファイルサイズを確認

resize

幅・高さ・比率でリサイズ(contain / cover / fill / stretch)

crop

矩形領域をクロップ

convert

形式変換(PNG/JPEG/WEBP/GIF/BMP/TIFF)

compress

品質指定で再エンコードして圧縮

rotate

回転(キャンバス拡張対応)

flip

水平・垂直ミラー

thumbnail

長辺が指定サイズを超えないサムネイル

watermark

テキスト透かし(位置・色・透明度・フォントサイズ)

effects

エフェクト:グレースケール / セピア / 反転 / ぼかし / シャープ / コントラスト / 明るさ

placeholder

単色プレースホルダー画像を生成(テキスト付き可)

overlay

ベース画像に別の画像を重ねる(透明度対応)

プロトコル

  • トランスポート:stdio、1 行に 1 つの JSON オブジェクト。

  • バージョン:JSON-RPC 2.0、Protocol 2025-03-26

  • SERVER_NAME=dsh-image-mcpSERVER_VERSION=0.1.0

License

MIT © TOBYCAI

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • MCP server for Midjourney AI image generation and editing

  • MCP server for Tinify image optimization — one tool, max optimization

  • MCP server for NanoBanana AI image generation and editing

View all MCP Connectors

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/TOBYCAI/image-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server