| Crates.io | magick-mcp |
| lib.rs | magick-mcp |
| version | 0.1.1 |
| created_at | 2025-12-01 13:01:11.743136+00 |
| updated_at | 2025-12-01 13:01:11.743136+00 |
| description | A MCP server which facilitates usage of ImageMagick. |
| homepage | |
| repository | https://github.com/ncipollo/magick-mcp |
| max_upload_size | |
| id | 1959748 |
| size | 442,330 |
A MCP server which facilitates usage of ImageMagick
cargo install magick-mcp
This MCP sever supports the following tools:
The check tool simply validates that imagemagick is installed and ready to use.
The magick tool execute imagemagick commands. For example:
Use magick to turn test.jpg into a gray image.
Will generate a command like this:
test.jpg -colorspace Gray test-gray.jpg
The func_save tool will save a series of imagemagick commands as a reusable function. For example:
Use magick to create a function that will generate two versions of an input image:
- gray
- inverted
Will generate a function like this:
Name: gray_and_inverted
Commands:
- $input -colorspace Gray $input-gray.jpg
- $input -negate $input-inverted.jpg
[!NOTE]
$inputcan be used to represent the input file. It will be replaced with the actual input file during function execution.
The func_execute will execute a previously saved function. The agent will supply the name of the function and the input file.
The func_list tool will simply list out previously saved tools.
When executing imagemagick commands this MCP server will invoke magick via the shell. When workspace is provided we will set that as the working directory.
[!NOTE] The server clears all environment variables with the exception of the path.