API & MCP
Everything a person can do on Pixel Palette Format Converter, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://fliplinepaletteconverter.usefulweb.site/api/v1/calculate– run Pixel Palette Format ConverterGET https://fliplinepaletteconverter.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Pixel Palette Format Converter
Paste a palette in HEX, GPL, JASC-PAL, JSON or CSS custom-property format, validate its colors, and download it as HEX, GPL, JASC-PAL, JSON, CSS variables and Adobe Swatch Exchange (ASE) for pixel-art and design workflows. Keep duplicate colors and entry order across conversions.
| Field | Type | Default | Description |
|---|---|---|---|
text | textarea | "#172c2f, #416350, #93ab69, #e3e6b1" | Palette text (HEX, GIMP GPL, JASC-PAL, JSON or CSS) |
name | text | "My pixel palette" | Palette name |
Example request
Four-color HEX palette
curl -X POST https://fliplinepaletteconverter.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"text":"#172c2f,#416350,#93ab69,#e3e6b1","name":"Moss"}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://fliplinepaletteconverter.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
flipline_palette_converter - Local stdio connector:
node src/mcp-stdio.ts --tool=flipline-palette-converter
{
"mcpServers": {
"flipline-palette-converter": { "type": "http", "url": "https://fliplinepaletteconverter.usefulweb.site/mcp" }
}
}