# layerback-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/TopLocalAI/layerback-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 195  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/layerback-mcp

## Description
Convert diagram images into fully editable Visio (VSDX), PowerPoint, draw.io, and SVG files.

## Tools
Capabilities this server exposes over MCP:

- **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).
- **get_conversion_status** — Check the status of a LayerBack diagram conversion job.
- **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.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "layerback-mcp": {
    "command": "npx",
    "args": ["-y","layerback-mcp"],
    "env": {
      "LAYERBACK_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `LAYERBACK_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What layerback-mcp does

layerback-mcp gives an MCP-compatible agent access to LayerBack’s diagram reconstruction service. It turns local diagram images into structured, editable documents rather than leaving the result as a flat bitmap. Supported source images include PNG, JPG, and WebP files, including screenshots and whiteboard photos.

A single conversion produces editable versions for several workflows: Visio through VSDX, PowerPoint through PPTX, draw.io through its XML format, and SVG. The service also exposes structured JSON and a PNG preview as downloadable results. Shapes, connectors, and text are rebuilt as separate native objects so they can be modified after conversion.

## How it works

The agent sends an image to LayerBack through `convert_diagram_image`. The tool returns a job ID and, by default, waits for the conversion to finish; typical processing takes roughly 30–60 seconds. A client can instead use `get_conversion_status` to check a running job.

Once the job is complete, `download_converted_diagram` saves a selected result to a local path. It accepts output identifiers for VSDX, PPTX, draw.io, SVG, structured JSON, or a PNG preview. Downloads can be repeated for the finished conversion. Files uploaded for processing and generated results are deleted within 72 hours.

Each conversion uses 10 LayerBack credits and includes the available output formats. The service is intended for flowcharts, architecture diagrams, organization charts, network maps, and similar diagrams. Images can be up to 20 MB.

## Setup and configuration

Node.js 18 or newer is required. Create a LayerBack API key from the account API-key settings page, then register the server with an MCP client using a standard stdio configuration:

```json
{
  "mcpServers": {
    "layerback": {
      "command": "npx",
      "args": ["-y", "layerback-mcp"],
      "env": {
        "LAYERBACK_API_KEY": "your-key-here"
      }
    }
  }
}
```

The API key is supplied through `LAYERBACK_API_KEY`. After installation, prompts can request a conversion and a destination format, such as converting a local whiteboard image to VSDX or rebuilding an architecture screenshot as a draw.io file. Batch conversion of multiple images is also supported through agent requests.

## Tools and capabilities

- `convert_diagram_image` uploads a local PNG, JPG, or WebP image and starts a LayerBack conversion. It returns a job ID and normally waits for completion.
- `get_conversion_status` checks the state of a LayerBack conversion job.
- `download_converted_diagram` writes a selected completed result to a local file.
- Produces editable VSDX, PPTX, draw.io, and SVG outputs from one conversion.
- Provides structured JSON and PNG preview downloads.

## Limitations and notes

The server depends on a LayerBack account API key and consumes 10 credits per conversion. Processing is remote: source images are uploaded to LayerBack, and uploaded files plus generated results are removed within 72 hours.

The documented image inputs are PNG, JPG, and WebP. Large, fine-line engineering drawings such as floor plans and circuit diagrams are outside the intended scope. PDF page rendering is available through the LayerBack web application, but the MCP tool is described for local image files.

_Full upstream README: https://allmcps.com/mcp/layerback-mcp/readme_

