co.leafwright/leafwright

السجل الرسمي الإنتاجية

Render HTML, URLs, and templates to PDF. AI drafts templates and fixes them from logs.

التثبيت

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

Remote (streamable-http)
Claude Code
claude mcp add --transport http leafwright 'https://leafwright.co/mcp'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "leafwright": {
            "type": "http",
            "url": "https://leafwright.co/mcp"
        }
    }
}
NPM package @leafwright/mcp
Claude Code
claude mcp add leafwright -e 'LEAFWRIGHT_API_KEY=<your leafwright_api_key>' -e 'LEAFWRIGHT_MCP_TOKEN=<your leafwright_mcp_token>' -e 'LEAFWRIGHT_PROJECT_ID=<LEAFWRIGHT_PROJECT_ID>' -e 'LEAFWRIGHT_MCP_READ_ONLY=<LEAFWRIGHT_MCP_READ_ONLY>' -- npx -y @leafwright/mcp@0.2.4
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "leafwright": {
            "command": "npx",
            "args": [
                "-y",
                "@leafwright/mcp@0.2.4"
            ],
            "env": {
                "LEAFWRIGHT_API_KEY": "<your leafwright_api_key>",
                "LEAFWRIGHT_MCP_TOKEN": "<your leafwright_mcp_token>",
                "LEAFWRIGHT_PROJECT_ID": "<LEAFWRIGHT_PROJECT_ID>",
                "LEAFWRIGHT_MCP_READ_ONLY": "<LEAFWRIGHT_MCP_READ_ONLY>"
            }
        }
    }
}

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

  • LEAFWRIGHT_API_KEY سري Project API key (lw_live_… or lw_test_…) for server automation. Optional — the server can also authenticate through a browser login.
  • LEAFWRIGHT_MCP_TOKEN سري MCP token (mcp_…) for non-interactive setups.
  • LEAFWRIGHT_PROJECT_ID Override the active default project.
  • LEAFWRIGHT_MCP_READ_ONLY Set to true to expose only read tools — no renders, template writes, or AI.

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

ما هو co.leafwright/leafwright؟

Render HTML, URLs, and templates to PDF. AI drafts templates and fixes them from logs.

كيف أثبّت co.leafwright/leafwright؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http leafwright 'https://leafwright.co/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج co.leafwright/leafwright إلى مفتاح API؟

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

هل co.leafwright/leafwright مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون co.leafwright/leafwright؟

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

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