layerback-mcp
v0.1.2Convert diagram images into fully editable Visio (VSDX), PowerPoint, draw.io, and SVG files.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
convert_diagram_image
Convert a diagram image (flowchart, architecture diagram, org chart, network map — PNG/JPG/WebP file, screenshot, or whiteboard photo) into fully editable Visio (VSDX), PowerPoint (PPTX), draw.io, and SVG files. Every shape, connector, and label becomes a real editable object. Costs 10 LayerBack credits. Returns a job_id; by default waits for completion (~30-60s).
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Absolute path to the diagram image (PNG, JPG, or WebP) |
wait | boolean | Wait for the conversion to finish (recommended). If false, poll with get_conversion_status. |
get_conversion_status
Check the status of a LayerBack diagram conversion job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The job id returned by convert_diagram_image |
download_converted_diagram
Download one output of a finished LayerBack conversion to a local file. Formats: vsdx (Visio), pptx (PowerPoint), drawio, svg, ir (structured JSON), preview (PNG). Downloads are free and repeatable.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The job id of a succeeded conversion |
output_path * | string | Absolute path to write the file, e.g. /tmp/diagram.vsdx |
format | string | Which output to download |