SI

sunriseapps/imagesorcery-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

334 stars 53 forks 质量 75 趋势 23MIT

sunriseapps/imagesorcery-mcp 是从 https://github.com/sunriseapps/imagesorcery-mcp. 导入的 MCP 服务器候选

概览

sunriseapps/imagesorcery-mcp 是从 https://github.com/sunriseapps/imagesorcery-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

基于🪄 ComputerVision的本地图像识别和编辑工具的魔法,专为AI助手设计

官方网站:imagesorcery.net

✅ 与ImageSorcery MCP 合作

🪄 ImageSorcery 赋予人工智能助手强大的图像处理能力:

  • ✅ 精确裁剪、调整大小和旋转图像
  • ✅ 删除背景
  • ✅ 在图像上绘制文字和形状
  • ✅ 添加标志和水印
  • ✅ 使用最先进的模型检测物体
  • ✅ 利用OCR从图像中提取文本
  • ✅ 使用多种预训练模型进行物体检测、OCR等
  • ✅ 所有这些操作本地完成,不要将图片发送到任何服务器

只需让你的AI帮忙完成图像任务:

“将带宠物的照片从文件夹photos复制到文件夹pets””

“在photo.jpg找一只猫,把图片高宽裁剪一半,使猫居中”

😉 提示: 使用完整路径访问你的文件“。

“用 foduucom/web-form-ui-field-detection 模型枚举 form.jpg 上的字段,并用描述字段列表填充 form.md

😉 提示: 请指定模型和置信度“。

😉 提示: 添加“使用图像魔法”以确保它使用正确的工具“。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

🪄 ImageSorcery MCP

ComputerVision-based 🪄 sorcery of local image recognition and editing tools for AI assistants

Official website: imagesorcery.net

✅ With ImageSorcery MCP

🪄 ImageSorcery empowers AI assistants with powerful image processing capabilities:

  • ✅ Crop, resize, and rotate images with precision
  • ✅ Remove background
  • ✅ Draw text and shapes on images
  • ✅ Add logos and watermarks
  • ✅ Detect objects using state-of-the-art models
  • ✅ Extract text from images with OCR
  • ✅ Use a wide range of pre-trained models for object detection, OCR, and more
  • ✅ Do all of this locally, without sending your images to any servers

Just ask your AI to help with image tasks:

“copy photos with pets from folder photos to folder pets”

“Find a cat at the photo.jpg and crop the image in a half in height and width to make the cat be centered” 😉 Hint: Use full path to your files".

“Enumerate form fields on this form.jpg with foduucom/web-form-ui-field-detection model and fill the form.md with a list of described fields” 😉 Hint: Specify the model and the confidence".

😉 Hint: Add “use imagesorcery” to make sure it will use the proper tool".

Your tool will combine multiple tools listed below to achieve your goal.

🛠️ Available Tools

Tool Description Example Prompt
blur Blurs specified rectangular or polygonal areas of an image using OpenCV. Can also invert the provided areas e.g. to blur background. “Blur the area from (150, 100) to (250, 200) with a blur strength of 21 in my image ‘test_image.png’ and save it as ‘output.png’”
change_color Changes the color palette of an image “Convert my image ‘test_image.png’ to sepia and save it as ‘output.png’”
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

"mcpServers": { "imagesorcery-mcp": { "command": "imagesorcery-mcp", "transportType": "stdio", "autoApprove": ["blur", "change_color", "config", "crop", "detect", "draw_arrows", "draw_circles", "draw_lines", "draw_rectangles", "draw_texts", "fill", "find", "get_metainfo", "ocr", "overlay", "resize", "rotate"], "timeout": 100 } }