MCP ScannerCustom audit
All servers

sunriseapps/imagesorcery-mcp

An MCP server providing tools for image processing operations

Packageimagesorcery-mcp
Version0.12.0 in pyproject.toml
Publishersunriseapps community
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 339Forks 53Last push 2026-05-19
Python 100.0%by source files the scanner reads
Code safetypartly tracedExposure7.9Prompts10.0Supply chainnot checkedSecrets10.0Transparency10.0
Analysis confidence91%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposure7.9/10Fair

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chainnot checked—

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.

  • In 2 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
  • 19 of 38 tools, prompts and resources could not be followed through the code
  • Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number

Top risks in plain words

  • HIGHTool get_metainfo reads or writes any file path by design: an agent steered by prompt injection can use it that way.

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it only the folder it needs

    get_metainfo can read or write any file path. Mount a single project folder, read-only where you can.

  • Turn off the tools you do not use

    Most MCP clients let you disable single tools. If you do not need get_metainfo, switch them off.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 34 tools, 2 prompts, 2 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read or write filesopen, create, change or delete files
config, get_metainfo, list_models
3 of 38
Read environment variablesoften where API keys are kept
detect, find
2 of 38

No tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.

  • files3 tools · config, get_metainfo, list_models

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (38: 34 tools, 2 prompts, 2 resources)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

get_metainfotool Get metadata information about an image file.Filesoutside textReads/writes files
Get metadata information about an image file.

        Returns:
            Dictionary containing metadata about the image (size, dimensions,
            format, etc.)
mcpprompt
No description.
remove-backgroundprompt Guides the AI through a comprehensive background removal workflow.
Guides the AI through a comprehensive background removal workflow.
        
        This prompt provides a step-by-step approach to remove backgrounds from images
        using object detection and masking tools. It's designed to work with the
        ImageSorcery MCP server's detect and fill tools.
        
        The workflow includes:
        1. Object detection to identify the target object
        2. Mask generation for precise selection
        3. Background removal using fill operations
        4. Optional refinement steps
        
        Args:
            image_path: Full path to the input image
            target_objects: Description of what to keep (default: empty for auto-detection)
            output_path: Where to save the result (auto-generated if empty)

        Returns:
            A detailed prompt guiding the AI through the background removal process
list_modelsresource List all available models in the models directory.Filesoutside text
List all available models in the models directory.

        This resource provides information about all available models,
        including their names and descriptions.
mcpresource
No description.
blurtool Blur specified rectangular or polygonal areas of an image using OpenCV.
Blur specified rectangular or polygonal areas of an image using OpenCV.
        
        This tool allows blurring multiple rectangular or polygonal areas of an image with customizable
        blur strength. Each area can be a rectangle defined by a bounding box 
        [x1, y1, x2, y2] or a polygon defined by a list of points.
        
        The blur_strength parameter controls the intensity of the blur effect. Higher values
        result in stronger blur. It must be an odd number (default is 15).
        
        If `invert_areas` is True, the tool will blur everything EXCEPT the specified areas.
        Returns:
            Path to the image with blurred areas
change_colortool Change the color palette of an image.
Change the color palette of an image.
        
        This tool applies a predefined color transformation to an image.
        Currently supported palettes are 'grayscale' and 'sepia'.
        
        Returns:
            Path to the image with the new color palette.
configtool Configuration tool - docstring will be set dynamically.Filesoutside text
Configuration tool - docstring will be set dynamically.
croptool Crop an image using OpenCV's NumPy slicing approach
Crop an image using OpenCV's NumPy slicing approach
        with OpenMCP's bounding box annotations.

        Returns:
            Path to the cropped image
detecttool Detect objects in an image using models from Ultralytics.Env vars
Detect objects in an image using models from Ultralytics.

        This tool requires pre-downloaded models. Use the download-yolo-models
        command to download models before using this tool.

        If objects aren't common, consider using a specialized model.

        This tool can optionally return segmentation masks or polygons if a segmentation
        model (e.g., one ending in '-seg.pt') is used.

        When 'mask' is chosen for geometry_format, a PNG file is created for each
        detected object's mask. The file path is returned in the 'mask_path' field.

        Returns:
            Dictionary containing the input image path and a list of detected objects.
            Each object includes its class name, confidence score, and bounding box.
            If return_geometry is True, it also includes a 'mask_path' (path to a PNG file) or
            'polygon' (list of points).
draw_arrowstool Draw arrows on an image using OpenCV.
Draw arrows on an image using OpenCV.
        
        This tool allows adding multiple arrows to an image with customizable
        start and end points, color, thickness, and tip length.
        
        Each arrow is defined by its start point (x1, y1) and end point (x2, y2).
        The 'tip_length' is relative to the arrow's length (e.g., 0.1 means 10%).
        
        Returns:
            Path to the image with drawn arrows
draw_circlestool Draw circles on an image using OpenCV.
Draw circles on an image using OpenCV.
        
        This tool allows adding multiple circles to an image with customizable
        center, radius, color, thickness, and fill option.
        
        Each circle is defined by its center coordinates (center_x, center_y) and radius.
        
        Returns:
            Path to the image with drawn circles
draw_linestool Draw lines on an image using OpenCV.
Draw lines on an image using OpenCV.
        
        This tool allows adding multiple lines to an image with customizable
        start and end points, color, and thickness.
        
        Each line is defined by its start point (x1, y1) and end point (x2, y2).
        
        Returns:
            Path to the image with drawn lines
draw_rectanglestool Draw rectangles on an image using OpenCV.
Draw rectangles on an image using OpenCV.
        
        This tool allows adding multiple rectangles to an image with customizable
        position, color, thickness, and fill option.
        
        Each rectangle is defined by two points: (x1, y1) for the top-left corner
        and (x2, y2) for the bottom-right corner.
        
        Returns:
            Path to the image with drawn rectangles
draw_textstool Draw text on an image using OpenCV.
Draw text on an image using OpenCV.
        
        This tool allows adding multiple text elements to an image with customizable
        position, font, size, color, and thickness.
        
        Available font_face options:
        - 'FONT_HERSHEY_SIMPLEX' (default)
        - 'FONT_HERSHEY_PLAIN'
        - 'FONT_HERSHEY_DUPLEX'
        - 'FONT_HERSHEY_COMPLEX'
        - 'FONT_HERSHEY_TRIPLEX'
        - 'FONT_HERSHEY_COMPLEX_SMALL'
        - 'FONT_HERSHEY_SCRIPT_SIMPLEX'
        - 'FONT_HERSHEY_SCRIPT_COMPLEX'
        
        Returns:
            Path to the image with drawn text
filltool Fill specified areas of an image with a color and opacity.
Fill specified areas of an image with a color and opacity.
        
        This tool allows filling multiple areas of an image with a customizable
        color and opacity. Each area can be a rectangle, a polygon, or a mask from a PNG file.

        The 'opacity' parameter controls the transparency of the fill. 1.0 is fully opaque,
        0.0 is fully transparent. Default is 0.5.
        The 'color' is in BGR format, e.g., [255, 0, 0] for blue. Default is black.

        If the `color` is set to `None`, the specified area will be made fully transparent,
        effectively deleting it (similar to ImageMagick). In this case, the `opacity`
        parameter is ignored.
        
        If `invert_areas` is True, the tool will fill everything EXCEPT the specified areas.

        Example usage:
        {
            "input_path": "/path/to/image.jpg",
            "areas": [
                {
                    "polygon": [[0, 0], [100, 0], [100, 100], [0, 100]],
                    "color": null,  // Makes area transparent
                    "opacity": 1.0
                }
            ],
            "invert_areas": true,  // Removes background, keeps only the polygon area
            "output_path": "/path/to/output.png"
        }
        
        Returns:
            Path to the image with filled areas
findtool Find objects in an image based on a text description.Env vars
Find objects in an image based on a text description.
        
        This tool uses open-vocabulary detection models to find objects matching a text description.
        It requires pre-downloaded YOLOE models that support text prompts (e.g. yoloe-11l-seg.pt).

        This tool can optionally return segmentation masks or polygons.

        When 'mask' is chosen for geometry_format, a PNG file is created for each
        found object's mask. The file path is returned in the 'mask_path' field.

        Returns:
            Dictionary containing the input image path and a list of found objects.
            Each object includes its confidence score and bounding box. If return_geometry
            is True, it also includes a 'mask_path' (path to a PNG file) or
            'polygon' (list of points).
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
mcptool
No description.
ocrtool Performs Optical Character Recognition (OCR) on an image using EasyOCR.
Performs Optical Character Recognition (OCR) on an image using EasyOCR.

        This tool extracts text from images in various languages. The default language is English,
        but you can specify other languages using their language codes (e.g., 'en', 'ru', 'fr', etc.).

        Returns:
            Dictionary containing the input image path and a list of detected text segments
            with their text content, confidence scores, and bounding box coordinates.
overlaytool Overlays one image on top of another, handling transparency.
Overlays one image on top of another, handling transparency.

        This tool places an overlay image onto a base image at a specified (x, y)
        coordinate. If the overlay image has an alpha channel (e.g., a transparent PNG),
        it will be blended correctly with the base image. If the overlay extends
        beyond the boundaries of the base image, it will be cropped.

        Returns:
            Path to the resulting image.
resizetool Resize an image using OpenCV.
Resize an image using OpenCV.

        The function can resize an image in three ways:
        1. By specifying both width and height
        2. By specifying either width or height (preserving aspect ratio)
        3. By specifying a scale factor

        Returns:
            Path to the resized image
rotatetool Rotate an image using imutils.rotate_bound function.
Rotate an image using imutils.rotate_bound function.

        The function rotates the image by the specified angle in degrees.
        Positive angles represent counterclockwise rotation.
        The rotate_bound function ensures the entire rotated image is visible
        by automatically adjusting the output image size.

        Returns:
            Path to the rotated image

Text the model reads (38)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
mcp tool
blur tool
Blur specified rectangular or polygonal areas of an image using OpenCV.
        
        This tool allows blurring multiple rectangular or polygonal areas of an image with customizable
        blur strength. Each area can be a rectangle defined by a bounding box 
        [x1, y1, x2, y2] or a polygon defined by a list of points.
        
        The blur_strength parameter controls the intensity of the blur effect. Higher values
        result in stronger blur. It must be an odd number (default is 15).
        
        If `invert_areas` is True, the tool will blur everything EXCEPT the specified areas.
        Returns:
            Path to the image with blurred areas
change_color tool
Change the color palette of an image.
        
        This tool applies a predefined color transformation to an image.
        Currently supported palettes are 'grayscale' and 'sepia'.
        
        Returns:
            Path to the image with the new color palette.
config tool
Configuration tool - docstring will be set dynamically.
crop tool
Crop an image using OpenCV's NumPy slicing approach
        with OpenMCP's bounding box annotations.

        Returns:
            Path to the cropped image
detect tool
Detect objects in an image using models from Ultralytics.

        This tool requires pre-downloaded models. Use the download-yolo-models
        command to download models before using this tool.

        If objects aren't common, consider using a specialized model.

        This tool can optionally return segmentation masks or polygons if a segmentation
        model (e.g., one ending in '-seg.pt') is used.

        When 'mask' is chosen for geometry_format, a PNG file is created for each
        detected object's mask. The file path is returned in the 'mask_path' field.

        Returns:
            Dictionary containing the input image path and a list of detected objects.
            Each object includes its class name, confidence score, and bounding box.
            If return_geometry is True, it also includes a 'mask_path' (path to a PNG file) or
            'polygon' (list of points).
draw_arrows tool
Draw arrows on an image using OpenCV.
        
        This tool allows adding multiple arrows to an image with customizable
        start and end points, color, thickness, and tip length.
        
        Each arrow is defined by its start point (x1, y1) and end point (x2, y2).
        The 'tip_length' is relative to the arrow's length (e.g., 0.1 means 10%).
        
        Returns:
            Path to the image with drawn arrows
draw_circles tool
Draw circles on an image using OpenCV.
        
        This tool allows adding multiple circles to an image with customizable
        center, radius, color, thickness, and fill option.
        
        Each circle is defined by its center coordinates (center_x, center_y) and radius.
        
        Returns:
            Path to the image with drawn circles
draw_lines tool
Draw lines on an image using OpenCV.
        
        This tool allows adding multiple lines to an image with customizable
        start and end points, color, and thickness.
        
        Each line is defined by its start point (x1, y1) and end point (x2, y2).
        
        Returns:
            Path to the image with drawn lines
draw_rectangles tool
Draw rectangles on an image using OpenCV.
        
        This tool allows adding multiple rectangles to an image with customizable
        position, color, thickness, and fill option.
        
        Each rectangle is defined by two points: (x1, y1) for the top-left corner
        and (x2, y2) for the bottom-right corner.
        
        Returns:
            Path to the image with drawn rectangles
draw_texts tool
Draw text on an image using OpenCV.
        
        This tool allows adding multiple text elements to an image with customizable
        position, font, size, color, and thickness.
        
        Available font_face options:
        - 'FONT_HERSHEY_SIMPLEX' (default)
        - 'FONT_HERSHEY_PLAIN'
        - 'FONT_HERSHEY_DUPLEX'
        - 'FONT_HERSHEY_COMPLEX'
        - 'FONT_HERSHEY_TRIPLEX'
        - 'FONT_HERSHEY_COMPLEX_SMALL'
        - 'FONT_HERSHEY_SCRIPT_SIMPLEX'
        - 'FONT_HERSHEY_SCRIPT_COMPLEX'
        
        Returns:
            Path to the image with drawn text
fill tool
Fill specified areas of an image with a color and opacity.
        
        This tool allows filling multiple areas of an image with a customizable
        color and opacity. Each area can be a rectangle, a polygon, or a mask from a PNG file.

        The 'opacity' parameter controls the transparency of the fill. 1.0 is fully opaque,
        0.0 is fully transparent. Default is 0.5.
        The 'color' is in BGR format, e.g., [255, 0, 0] for blue. Default is black.

        If the `color` is set to `None`, the specified area will be made fully transparent,
        effectively deleting it (similar to ImageMagick). In this case, the `opacity`
        parameter is ignored.
        
        If `invert_areas` is True, the tool will fill everything EXCEPT the specified areas.

        Example usage:
        {
            "input_path": "/path/to/image.jpg",
            "areas": [
                {
                    "polygon": [[0, 0], [100, 0], [100, 100], [0, 100]],
                    "color": null,  // Makes area transparent
                    "opacity": 1.0
                }
            ],
            "invert_areas": true,  // Removes background, keeps only the polygon area
            "output_path": "/path/to/output.png"
        }
        
        Returns:
            Path to the image with filled areas
find tool
Find objects in an image based on a text description.
        
        This tool uses open-vocabulary detection models to find objects matching a text description.
        It requires pre-downloaded YOLOE models that support text prompts (e.g. yoloe-11l-seg.pt).

        This tool can optionally return segmentation masks or polygons.

        When 'mask' is chosen for geometry_format, a PNG file is created for each
        found object's mask. The file path is returned in the 'mask_path' field.

        Returns:
            Dictionary containing the input image path and a list of found objects.
            Each object includes its confidence score and bounding box. If return_geometry
            is True, it also includes a 'mask_path' (path to a PNG file) or
            'polygon' (list of points).
get_metainfo tool
Get metadata information about an image file.

        Returns:
            Dictionary containing metadata about the image (size, dimensions,
            format, etc.)
ocr tool
Performs Optical Character Recognition (OCR) on an image using EasyOCR.

        This tool extracts text from images in various languages. The default language is English,
        but you can specify other languages using their language codes (e.g., 'en', 'ru', 'fr', etc.).

        Returns:
            Dictionary containing the input image path and a list of detected text segments
            with their text content, confidence scores, and bounding box coordinates.
overlay tool
Overlays one image on top of another, handling transparency.

        This tool places an overlay image onto a base image at a specified (x, y)
        coordinate. If the overlay image has an alpha channel (e.g., a transparent PNG),
        it will be blended correctly with the base image. If the overlay extends
        beyond the boundaries of the base image, it will be cropped.

        Returns:
            Path to the resulting image.
resize tool
Resize an image using OpenCV.

        The function can resize an image in three ways:
        1. By specifying both width and height
        2. By specifying either width or height (preserving aspect ratio)
        3. By specifying a scale factor

        Returns:
            Path to the resized image
rotate tool
Rotate an image using imutils.rotate_bound function.

        The function rotates the image by the specified angle in degrees.
        Positive angles represent counterclockwise rotation.
        The rotate_bound function ensures the entire rotated image is visible
        by automatically adjusting the output image size.

        Returns:
            Path to the rotated image
remove-background prompt
Guides the AI through a comprehensive background removal workflow.
        
        This prompt provides a step-by-step approach to remove backgrounds from images
        using object detection and masking tools. It's designed to work with the
        ImageSorcery MCP server's detect and fill tools.
        
        The workflow includes:
        1. Object detection to identify the target object
        2. Mask generation for precise selection
        3. Background removal using fill operations
        4. Optional refinement steps
        
        Args:
            image_path: Full path to the input image
            target_objects: Description of what to keep (default: empty for auto-detection)
            output_path: Where to save the result (auto-generated if empty)

        Returns:
            A detailed prompt guiding the AI through the background removal process
mcp prompt
list_models resource
List all available models in the models directory.

        This resource provides information about all available models,
        including their names and descriptions.
mcp resource

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposure7.9
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path HIGH
    1 finding in get_metainfo
  • Requests any address
    No tool sends a request to an address the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 38 capabilities; 19 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    3 of 38 capabilities touch files; 16 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 38 capabilities; 19 more call code the scanner could not follow, where it may happen
Where the code is: 38 handlers in 20 files at commit 2f77957a0671
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chainnot checked
  • Dependency manifests
    1 manifest: pyproject.toml
  • Lockfiles checked against OSV
    Nothing could be resolved to exact versions; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
  • MCP SDK version
    fastmcp >=2.10.0,<3.0.0
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 38 capabilities; 19 more call code the scanner could not follow, where it may happen
  • Environment variables
    2 capabilities read environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (0 in production)

Dependency ranges were not resolved against a lockfile, so the score is capped at 7.

No known vulnerabilities in the production dependencies that could be checked.

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportstdio
Sign-innot checked needs the live server
MCP SDKfastmcp >=2.10.0,<3.0.0
Servers in the code1 (imagesorcery-mcp)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-05-19
Signed releasesnot checked yet

Where it is published

Listed in6 catalogs (awesome_habitoai, awesome_wong2, github_search, glama, mcp_toplist, mcpservers_org)
LicenseMIT
Created2025-05-12
Topicscomputer-vision image-editing image-manipulation image-processing mcp mcp-server ocr opencv

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.