io.github.TopLocalAI/layerback-mcp

السجل الرسمي الوسائط والتصميم

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

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package layerback-mcp
Claude Code
claude mcp add layerback-mcp -e 'LAYERBACK_API_KEY=<your layerback_api_key>' -- npx -y layerback-mcp@0.1.2
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "layerback-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "layerback-mcp@0.1.2"
            ],
            "env": {
                "LAYERBACK_API_KEY": "<your layerback_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • LAYERBACK_API_KEY إلزامي سري LayerBack API key from https://layerback.com/settings/apikeys

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. LayerBack MCP Server
  2. Tools
  3. Setup
  4. Example prompts
  5. Notes

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

ToolWhat it does
convert_diagram_imageConvert a local image file (PNG/JPG/WebP); waits for the result by default (~30–60 s)
get_conversion_statusPoll a running job
download_converted_diagramSave any output format to a local path

Setup

  1. Create an API key at https://layerback.com/settings/apikeys (new accounts include free credits — one conversion costs 10 and includes every output format).
  2. 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

MIT © LayerBack

الأسئلة الشائعة

ما هو io.github.TopLocalAI/layerback-mcp؟

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

كيف أثبّت io.github.TopLocalAI/layerback-mcp؟

يعمل على جهازك. في Claude Code: claude mcp add layerback-mcp -e 'LAYERBACK_API_KEY=<your layerback_api_key>' -- npx -y layerback-mcp@0.1.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج io.github.TopLocalAI/layerback-mcp إلى مفتاح API؟

نعم. يتطلب LAYERBACK_API_KEY، وتضبطها في إعداداته.

هل io.github.TopLocalAI/layerback-mcp مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون io.github.TopLocalAI/layerback-mcp؟

ينشره TopLocalAI. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.