co.leafwright/leafwright

Official registry Productivity

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http leafwright 'https://leafwright.co/mcp'
JSON configuration (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 configuration (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>"
            }
        }
    }
}

Environment variables

  • LEAFWRIGHT_API_KEY secret Project API key (lw_live_… or lw_test_…) for server automation. Optional — the server can also authenticate through a browser login.
  • LEAFWRIGHT_MCP_TOKEN secret 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.

Frequently asked questions

What is co.leafwright/leafwright?

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

How do I install co.leafwright/leafwright?

It runs as a remote server. In Claude Code: claude mcp add --transport http leafwright 'https://leafwright.co/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does co.leafwright/leafwright need an API key?

Yes. It expects LEAFWRIGHT_API_KEY, LEAFWRIGHT_MCP_TOKEN, which you set in its configuration.

Is co.leafwright/leafwright open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains co.leafwright/leafwright?

It is published by Tactic-Systems. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.