# Drawing Tool for AI Assistants

Create and manipulate drawings with a simple canvas interface. Enhance your AI assistants by enabling them to draw filled shapes and export images effortlessly. Utilize this tool to bring visual crea…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add flrngel/mcp-painter

# Browse available tools
npx -y @smithery/cli@latest tool list flrngel/mcp-painter

# Get full schema for a tool
npx -y @smithery/cli@latest tool get flrngel/mcp-painter drawing_generateCanvas

# Call a tool
npx -y @smithery/cli@latest tool call flrngel/mcp-painter drawing_generateCanvas '{}'
```

## Tools (4)

- `drawing_generateCanvas` — Generate a new drawing canvas with specified width and height.
- `drawing_fillRectangle` — Fill a rectangle on the drawing canvas with a specified color and coordinates.
- `drawing_getCanvasPng` — Get the current drawing canvas as a PNG image (base64 encoded).
- `drawing_getCanvasData` — Get the current pixel data of the drawing canvas as JSON.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get flrngel/mcp-painter <tool-name>
```

## Resources

- `drawing://canvas_png`
- `drawing://canvas_data`

---

Source: https://github.com/flrngel/mcp-painter
