layerback-mcp

v0.1.2
io.github.TopLocalAI/layerback-mcp Checked 3 days ago Published 4 months ago

Convert 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).

ParameterTypeDescription
file_path *stringAbsolute path to the diagram image (PNG, JPG, or WebP)
waitbooleanWait 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.

ParameterTypeDescription
job_id *stringThe 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.

ParameterTypeDescription
job_id *stringThe job id of a succeeded conversion
output_path *stringAbsolute path to write the file, e.g. /tmp/diagram.vsdx
formatstringWhich output to download