dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
本地 Pillow 图片处理 MCP:12 工具(信息/缩放/裁剪/转换/压缩/旋转/翻转/缩略图/水印/特效/占位/叠加),离线零成本,经 dsh-mcp-client 接入 DSH。Local Pillow image MCP with 12 tools for DeepSeek Harness, offline & free. | Platforms: macOS/Windows/Linux (Python+Pillow)
中文 | English
A local, Pillow-based image-processing MCP server (offline, no API key). Via MCP it exposes a set of image tools to DeepSeek Harness (or any stdio-MCP client): info / resize / crop / convert / compress / rotate / flip / thumbnail / watermark / effects / placeholder / overlay — 12 tools, model-visible as mcp__images__*.
@deepseek-ai/dsh-mcp-client in a DSH profile.pip install -r requirements.txt # or: pip install Pillow
In a DSH profile patch (e.g. 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']
Restart DSH and the agent can call the mcp__images__* tools.
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | python3 image_mcp.py
# returns the schema of the 12 tools
| Tool | Description |
|---|---|
info | image format / dimensions / mode / size |
resize | scale by width/height or ratio (contain / cover / fill / stretch) |
crop | crop a rectangle region |
convert | convert format (PNG/JPEG/WEBP/GIF/BMP/TIFF) |
compress | re-encode with a quality setting |
rotate | rotate (optionally expand canvas) |
flip | mirror horizontally / vertically |
thumbnail | thumbnail with longest side at most size |
watermark | text watermark (position/color/opacity/size) |
effects | greyscale / sepia / invert / blur / sharpen / contrast / brightness |
placeholder | solid-color placeholder (optionally with text) |
overlay | composite one image over another (with alpha) |
2025-03-26.SERVER_NAME=dsh-image-mcp, SERVER_VERSION=0.1.0.python instead of python3 in the MCP config; use absolute or backslash paths in args.MIT © TOBYCAI