API & MCP
Everything a person can do on Tilemap Converter (TMX, Tiled JSON, PNG, collisions), a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://fliplinetilemapconverter.usefulweb.site/api/v1/calculate– run Tilemap Converter (TMX, Tiled JSON, PNG, collisions)GET https://fliplinetilemapconverter.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Tilemap Converter (TMX, Tiled JSON, PNG, collisions)
Convert tile maps between Tiled TMX (CSV, base64, zlib or gzip layers), Tiled JSON, engine-neutral JSON and Flipline Tilemap Desk projects. Render a flattened PNG with flip flags and export solid tiles as merged collision rectangles for physics engines.
| Field | Type | Default | Description |
|---|---|---|---|
map | textarea | — | Map text (TMX, Tiled JSON, engine-neutral JSON or Flipline tilemap project) |
file | file | — | Or: map file |
images | file | — | Tileset and image-layer PNGs (one PNG or a ZIP of PNGs, matched by file name) |
target | select (tmx, tiled-json, neutral-json, flipline, collision-json, png, zip) | "tiled-json" | Convert to |
encoding | select (csv, base64, base64-zlib, base64-gzip) | "csv" | Tile layer encoding (TMX and Tiled JSON) |
render | boolean | true | Also render a PNG preview |
scale | integer | 2 | PNG scale |
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://fliplinetilemapconverter.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
flipline_tilemap_converter - Local stdio connector:
node src/mcp-stdio.ts --tool=flipline-tilemap-converter
{
"mcpServers": {
"flipline-tilemap-converter": { "type": "http", "url": "https://fliplinetilemapconverter.usefulweb.site/mcp" }
}
}