layerback-mcp
MCP server by TopLocalAI Community
Converts pictures of diagrams into editable Visio (VSDX), PowerPoint, draw.io, and SVG files. It connects MCP-compatible AI agents to the LayerBack service for screenshots, whiteboard photos, and diagrams in PDF pages.
Install layerback-mcp
Built from the published package, never by AI.
claude mcp add layerback-mcp -e LAYERBACK_API_KEY=YOUR_LAYERBACK_API_KEY -- npx -y layerback-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"layerback-mcp": {
"env": {
"LAYERBACK_API_KEY": "YOUR_LAYERBACK_API_KEY"
},
"args": [
"-y",
"layerback-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"layerback-mcp": {
"env": {
"LAYERBACK_API_KEY": "YOUR_LAYERBACK_API_KEY"
},
"args": [
"-y",
"layerback-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"layerback-mcp": {
"env": {
"LAYERBACK_API_KEY": "YOUR_LAYERBACK_API_KEY"
},
"args": [
"-y",
"layerback-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add layerback-mcp --env LAYERBACK_API_KEY=YOUR_LAYERBACK_API_KEY -- npx -y layerback-mcp{
"mcpServers": {
"layerback-mcp": {
"env": {
"LAYERBACK_API_KEY": "YOUR_LAYERBACK_API_KEY"
},
"args": [
"-y",
"layerback-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add layerback-mcp npx -y layerback-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the layerback-mcp block.
About
LayerBack MCP Server gives an AI agent a way to turn images of diagrams into editable files. The source notes that agents can write Mermaid, but cannot easily work from a screenshot, whiteboard photo, or diagram inside a PDF page. This server connects MCP clients such as Claude Desktop, Claude Code, and Cursor to the LayerBack service. LayerBack rebuilds each shape, connector, and label as a native object.
One conversion returns Visio (VSDX), PowerPoint (PPTX), draw.io, and SVG outputs. The server provides tools to start a conversion, check a running job, and download any output format to a local path. It is aimed at people who have diagrams stored only as images and need them back as editable files.
Written from the project's README and checked against it.
Tools it gives your assistant
convert_diagram_imageConverts a local PNG, JPG, or WebP image, waiting for the result by default (about 30 to 60 seconds).get_conversion_statusPolls a running conversion job.download_converted_diagramSaves any output format to a local path.
What you need
- LayerBack API key
- Node.js 18 or later
- MCP-compatible AI client
| Setting | Needed | What it is |
|---|---|---|
LAYERBACK_Environment variable, secret | Required | LayerBack API key from https://layerback.com/settings/apikeys |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Convert whiteboard.jpg to a Visio file and save it to my Downloads folder.
- Rebuild this architecture screenshot as an editable draw.io file.
- Batch-convert every PNG in ./legacy-diagrams to VSDX.
Good to know
- Uploaded files are deleted within 72 hours.
- Input is limited to PNG, JPG, and WebP local image files.
- One conversion costs 10 credits and includes every output format.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to layerback-mcp
All alternatives →Creates, opens, edits and exports Word, Excel, PowerPoint and PDF files through the MR Office MCP server. It suits AI assistants that need to work on real office documents, with the editor shown in chat when the client supports MCP Apps.
Parses Korean documents such as HWP, HWPX, PDF, XLSX, DOCX and PPTX into Markdown, and writes HWPX or HWP official documents from Markdown. It runs as a library, CLI, HTTP API or MCP server for AI assistants.
Desktop Commander is an MCP server that lets an AI assistant run terminal commands, edit files and manage processes on your computer. It is for developers and users who want an assistant to work with local code and text.
Connects AI assistants to the Linear GraphQL API so they can manage projects, issues, and documents. Built for teams that want planning and project-management workflows in Linear, beyond basic issue CRUD.
pptx-viewer MCP server and tools: manipulate, convert, and collaborate on PowerPoint .pptx files from AI agents.
Reactive Resume is a free, open-source resume builder with an MCP server for document management, imports, exports, checks and job application workflows. It suits people who want to write and track resumes and keep their data under their own control. The source describes the app itself and does not describe the DeepSeek Harness connection.
Compare with MR Office, kordoc or Desktop Commander
layerback-mcp: common questions
What file formats does the LayerBack MCP server output?
A single conversion returns Visio (VSDX), PowerPoint (PPTX), draw.io, and SVG files. The source says all outputs are editable.
What image types can I convert with it?
The convert_diagram_image tool accepts local PNG, JPG, or WebP files. The source mentions screenshots, whiteboard photos, and diagrams in PDF pages as the kind of input it targets.
What happens to my uploaded diagram files?
The source says files upload to LayerBack for conversion and are deleted within 72 hours.
How do I install layerback-mcp?
In Claude Code run claude mcp add layerback-mcp -e LAYERBACK_API_KEY=YOUR_LAYERBACK_API_KEY -- npx -y layerback-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is layerback-mcp the official server?
layerback-mcp is a community project by TopLocalAI, not verified by a company domain.
Is layerback-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is layerback-mcp safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to layerback-mcp?
Similar MCP servers: MR Office, kordoc, Desktop Commander, MCP Linear.
Does layerback-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
