apply_gradient_rect

MCP tool from Aseprite MCP by diivi

Smooth linear gradient fill in a rectangle

How to use it

Project documentation lists apply_gradient_rect for the Aseprite MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Aseprite MCP

$docker run -it --rm aseprite-mcp:latest
FULL ASEPRITE MCP LISTING

Other tools in Aseprite MCP (39)

add_frame

Append a new frame

add_frames

Append N frames with optional duration

add_group

Add a new (optionally nested) group layer

add_layer

Add a new layer, optionally inside a named group

adjust_hsl

Shift hue/saturation/lightness of a cel — palette swaps, night scenes, shadows

apply_dither_gradient

Two-color gradient using Bayer 4×4 ordered dithering

apply_dither_pattern

Uniform dithered mix of two colors at a given density

copy_region

Copy a rectangle to another position, layer, or frame

create_canvas

Create a new sprite with the given dimensions

delete_frame

Delete a frame

delete_layer

Delete a layer by name

draw_ellipse_at

Outlined or filled ellipses with separate x/y radii

draw_path

Polyline through a point list with thickness

draw_pixels

Plot individual pixels with per-pixel colors

draw_pixels_at

Plot pixels on a specific layer/frame

draw_polygon

Outlined or filled polygons from a point list

draw_text

Draw text with anchors, faux bold, outline, drop shadow and letter spacing

duplicate_frame_range

Duplicate a frame range N times

duplicate_layer

Duplicate a layer with all cels, opacity, and blend mode, optionally into a group

erase_color

Magic-eraser: make all pixels of a color transparent (with tolerance)

erase_region

Make a rectangle transparent

flatten_sprite

Flatten all layers into one

list_text_fonts

List the bitmap and TrueType fonts available to drawtext

measure_text

Width, height, advance and baseline extents — size a panel or centre a label without redrawing to find out

merge_layer_down

Merge a layer into the one below it

move_region

Cut a rectangle of pixels and paste it elsewhere

offset_cel_positions

Shift cels by a delta across frames

outline_cel

Add a 1px outline around all opaque pixels

propagate_cels

Copy selected layers' cels across a frame range

rename_layer

Rename a layer

reorder_layer

Move a layer to a position in the stack

replace_color

Replace one color with another (with tolerance), preserving alpha

set_cel_opacity

Set a single cel's opacity

set_cel_position

Place a cel at x,y

set_frame

Set the active frame

set_frame_duration

Set one frame's duration in ms

set_frame_duration_all

Set every frame's duration

set_layer

Set the active layer (optionally creating it)

set_layer_blend_mode

Set blend mode (multiply, screen, overlay, ... 19 modes)