io.github.TopLocalAI/layerback-mcp
Convert diagram images into fully editable Visio (VSDX), PowerPoint, draw.io, and SVG files.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
layerback-mcpclaude mcp add layerback-mcp -e 'LAYERBACK_API_KEY=<your layerback_api_key>' -- npx -y layerback-mcp@0.1.2
{
"mcpServers": {
"layerback-mcp": {
"command": "npx",
"args": [
"-y",
"layerback-mcp@0.1.2"
],
"env": {
"LAYERBACK_API_KEY": "<your layerback_api_key>"
}
}
}
}
Variables d'environnement
LAYERBACK_API_KEYobligatoire secret LayerBack API key from https://layerback.com/settings/apikeys
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
LayerBack MCP Server
Give your AI agent the one diagram skill it's missing: turning pictures of diagrams into fully editable files.
Agents can write Mermaid — but when the input is a screenshot, a whiteboard photo, or a diagram trapped in a PDF page, they're stuck. This MCP server connects any MCP-compatible agent (Claude Desktop, Claude Code, Cursor, …) to LayerBack, which rebuilds every shape, connector, and label as a native object and returns Visio (VSDX), PowerPoint (PPTX), draw.io, and SVG — all editable, from one conversion.
Tools
| Tool | What it does |
|---|---|
convert_diagram_image | Convert a local image file (PNG/JPG/WebP); waits for the result by default (~30–60 s) |
get_conversion_status | Poll a running job |
download_converted_diagram | Save any output format to a local path |
Setup
- Create an API key at https://layerback.com/settings/apikeys (new accounts include free credits — one conversion costs 10 and includes every output format).
- Add the server to your MCP client config:
{
"mcpServers": {
"layerback": {
"command": "npx",
"args": ["-y", "layerback-mcp"],
"env": { "LAYERBACK_API_KEY": "your-key-here" }
}
}
}
Example prompts
- "Convert ~/Desktop/whiteboard.jpg into a Visio file and save it to my Downloads folder."
- "Here's a screenshot of our architecture diagram — rebuild it as an editable draw.io file."
- "Batch-convert every PNG in ./legacy-diagrams to VSDX."
Notes
- Requires Node 18+.
- REST API docs: https://layerback.com/docs/api · OpenAPI: https://layerback.com/openapi.yaml
- Files upload to LayerBack for conversion and are deleted within 72 hours.
MIT © LayerBack
Questions fréquentes
Qu'est-ce que io.github.TopLocalAI/layerback-mcp ?
Convert diagram images into fully editable Visio (VSDX), PowerPoint, draw.io, and SVG files.
Comment installer io.github.TopLocalAI/layerback-mcp ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add layerback-mcp -e 'LAYERBACK_API_KEY=<your layerback_api_key>' -- npx -y layerback-mcp@0.1.2. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour io.github.TopLocalAI/layerback-mcp ?
Oui. Il attend LAYERBACK_API_KEY, à renseigner dans sa configuration.
io.github.TopLocalAI/layerback-mcp est-il open source ?
Oui. Son code est sur GitHub sous licence MIT.
Qui maintient io.github.TopLocalAI/layerback-mcp ?
Il est publié par TopLocalAI. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.