Skip to main content
Glama
LufiSprite Studio

LufiSprite Studio

by Lufi735

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LUFISPRITE_MCP_HOSTNoBind address for the WebSocket bridge. Can also be set with the CLI option --host <ip> (default: 127.0.0.1).127.0.0.1
LUFISPRITE_MCP_PORTNoWebSocket bridge port. Can also be set with the CLI option --port <number> (default: 41924).41924

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_app_stateA

Get the current LufiSprite Studio state: screen (splash/editor), active project name/dimensions, 3D enabled flag, active layer/frame, layers list, and 3D objects list.

create_projectB

Create and open a new LufiSprite Studio project with the given canvas width/height (4..512) and 3D mode enabled/disabled.

list_projectsB

List saved projects stored in LufiSprite Studio IndexedDB.

open_projectB

Open an existing saved project by id or name.

draw_pixelsA

Paint individual pixels on a 2D layer in a single undoable operation. Coordinates are 0-based from top-left (x: 0..width-1, y: 0..height-1).

draw_grid_asciiA

Paint an entire 2D sprite or region quickly using ASCII character rows and a char->hex color palette map. Characters "." or " " are skipped unless mapped in palette or clearBackground is true.

draw_shapeC

Draw a 2D geometric shape (line, rect, circle, ellipse) on a 2D layer.

flood_fillC

Flood fill a contiguous region starting at (x, y) with the given hex color (or null to erase).

clear_layerC

Clear all pixels on the target 2D layer.

get_layer_pixelsC

Read non-empty pixels from a 2D layer (optionally within a bounding rectangle).

list_layersA

List all layers in the active project with their indices, IDs, names, types (2d/3d/group), visibility, and opacity.

create_layerB

Create a new 2D pixel layer or 3D layer in the active project.

update_layerC

Select, rename, toggle visibility/opacity/blendMode, or delete a layer.

manage_framesC

List, add, duplicate, select, delete animation frames, or change FPS.

set_palette_colorsA

Set the active brush color and/or append hex colors to the active project palette.

open_3d_viewportA

Ensure a 3D layer exists and open the interactive 3D viewport in LufiSprite Studio.

add_3d_primitiveB

Add a 3D primitive mesh (cube, cuboid, sphere, cylinder, cone, torus, plane) to the project 3D layer with optional dimensions, position, rotation (degrees), scale, and hex color.

import_3d_objC

Import a procedural or custom Wavefront .obj 3D mesh from raw OBJ text into the project 3D layer.

transform_3d_objectB

Move, rotate (degrees), scale, recolor, rename, toggle visibility, or delete an existing 3D object by id, index, or name.

add_3d_scene_itemC

Add a 3D light (light, sun, point, ambient), extra camera, group, or bone to the 3D layer.

list_3d_objectsB

List all objects (meshes, lights, cameras, groups, bones) in the project 3D layer with their transforms.

get_canvas_screenshotA

Capture a PNG screenshot of the current 2D composite canvas (source="2d") or 3D viewport/layer (source="3d") so you can visually inspect your work.

undo_redoC

Undo or redo recent actions in LufiSprite Studio.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 23 tools

Disambiguation4/5

Each tool targets a fairly distinct resource and action: drawing (draw_pixels/flood_fill/draw_shape/draw_grid_ascii) is separated by method, and 2D vs 3D operations are clearly namespaced (add_3d_primitive vs create_layer). Minor ambiguity between add_3d_primitive, import_3d_obj, and add_3d_scene_item, and update_layer is a multi-purpose grab-bag, but descriptions disambiguate them well.

Naming Consistency4/5

Nearly all tools follow a verb_noun snake_case pattern (create_project, list_layers, transform_3d_object, get_canvas_screenshot). Small deviations exist: undo_redo lacks a noun, and manage_frames/update_layer are vague multi-action verbs, but overall the convention is predictable.

Tool Count4/5

23 tools is on the heavy side of the 3-15 sweet spot, but the domain genuinely spans 2D drawing, layers, frames, palette, 3D meshes, and screenshots, so most tools earn their place. It could be trimmed slightly (e.g. merging some 3D scene-item tools).

Completeness4/5

Core lifecycle is covered: project create/open/list, layer create/update/list, drawing primitives, frame management, undo/redo, and visual verification via screenshot. Minor gaps remain—no explicit project delete or export/save-to-file tool, and palette can be set but not read back—but these are workable.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues