Koskamo

Leafwright MCP

The official Leafwright MCP server enables AI agents to render HTML, URLs, and templates to signed PDFs. It provides tools for managing projects, creating and revising templates via AI, and debugging failed renders by analyzing logs to fix issues like missing fonts or overflow.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Leafwright MCP logo, by Tactic SystemsVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-30Operated by Tactic Systems
You need:Choose OAuth authentication.Choose your organization and default project, and approve access.Custom MCP access depends on your account and workspace permissions.
MCP endpoint (Streamable HTTP)
https://leafwright.co/mcp
Vendor documentation

What its tools do

3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

3 of 3 have a description · 3 of 3 declare behavior hints · 2 of 2 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to leafwright.co ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 3 of 3 checks passed in 30 days

What you can do with it

  • Render HTML or URLs to signed PDFs
  • Create and revise templates using AI prompts
  • Debug failed PDF renders by analyzing logs
  • List and manage projects and templates

Source and maintenance

Vendor evidenceRegistry 0.2.4
Repository status
Unavailable (HTTP 404)
Maintenance checked

Protocol and capabilities

Server
leafwright 0.2.4
MCP protocol negotiated in check
2025-11-25
Tools
3 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Leafwright renders HTML, public URLs, and published Handlebars templates into PDFs, and returns a signed download link. Every render is a tracked job with readable logs, so when a layout breaks you can read the cause — a font that 404'd, an asset that timed out, content overflowing the page — and repair the template from it. Two ways to authenticate. Either follow the 401: any other tool answers 401 with a WWW-Authenticate header naming the OAuth discovery document, and a client that supports OAuth 2.1 registers itself from there. Or call leafwright_login, which needs no token, show the returned verification_url and user_code to the person, and once they approve call leafwright_auth_status with the device_code it gave you. Keep that device_code: this transport stores nothing between requests. Until a token is in hand only the login tools are listed. That means unauthenticated, not empty: the document tools appear once authentication completes.

Tools

3 advertised

leafwright_login — Log in to Leafwright
Advertised by the server during the last successful anonymous check.
Open-world

Start a browser login flow for Leafwright MCP. Open the returned URL, choose an organization and project, then call leafwright_auth_status.

leafwright_login input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "client_name": {
      "type": "string",
      "description": "Optional client name shown in Leafwright."
    }
  }
}
leafwright_login output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "status",
    "verification_url",
    "user_code",
    "device_code",
    "expires_at",
    "next_step"
  ],
  "properties": {
    "status": {
      "type": "string",
      "const": "pending"
    },
    "next_step": {
      "type": "string"
    },
    "user_code": {
      "type": "string"
    },
    "expires_at": {
      "type": "string"
    },
    "device_code": {
      "type": "string"
    },
    "verification_url": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
leafwright_login annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
leafwright_auth_status — Leafwright auth status
Advertised by the server during the last successful anonymous check.
Open-world

Check whether Leafwright MCP is authenticated. Completes a pending browser login if approved. Pass the device_code returned by leafwright_login when the client has no local storage, which is the case over HTTP.

leafwright_auth_status input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "device_code": {
      "type": "string",
      "description": "The device_code from leafwright_login. Required when the client stores no local auth state."
    }
  }
}
leafwright_auth_status output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "status"
  ],
  "properties": {
    "token": {
      "type": "object",
      "required": [
        "id",
        "userId",
        "orgId",
        "defaultProjectId",
        "tokenPreview",
        "permissions",
        "expiresAt",
        "revokedAt",
        "lastUsedAt",
        "createdAt"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "orgId": {
          "type": "string"
        },
        "userId": {
          "type": "string"
        },
        "createdAt": {
          "type": "string"
        },
        "expiresAt": {
          "type": "string"
        },
        "revokedAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "lastUsedAt": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "permissions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "tokenPreview": {
          "type": "string"
        },
        "defaultProjectId": {
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "status": {
      "enum": [
        "connected",
        "not_authenticated",
        "pending"
      ],
      "type": "string"
    },
    "next_step": {
      "type": "string"
    },
    "user_code": {
      "type": "string"
    },
    "expires_at": {
      "type": "string"
    },
    "token_source": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "active_project_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "additionalProperties": false
}
leafwright_auth_status annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "destructiveHint": false
}
leafwright_logout — Log out of Leafwright
Advertised by the server during the last successful anonymous check.
Advertised destructiveOpen-world

Revoke the stored Leafwright MCP token and clear local auth state.

leafwright_logout input schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {}
}
leafwright_logout output schema
{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "status"
  ],
  "properties": {
    "status": {
      "type": "string",
      "const": "logged_out"
    }
  },
  "additionalProperties": false
}
leafwright_logout annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": true
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (90 of 90 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 2026-11-28: 3 of 3 checks answered
  26. 2026-11-29: 4 of 4 checks answered
  27. 2026-11-30: 4 of 4 checks answered
  28. 2026-12-01: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
3 of 3 (100%)
Average latency
875 ms
95th percentile latency
983 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 782 ms · 3 tool(s)
  • · probe · passed · 998 ms · 3 tool(s)
  • · probe · passed · 844 ms · metadata changed · 3 tool(s)
  • · repository · passed · unavailable
  • · repository · passed · metadata changed · unavailable
  • · repository · failed · Repository maintenance failed
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http leafwright-mcp https://leafwright.co/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add leafwright-mcp --url https://leafwright.co/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable leafwright-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "leafwright-mcp": {
      "url": "https://leafwright.co/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "leafwright-mcp": {
      "type": "streamableHttp",
      "url": "https://leafwright.co/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start leafwright-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "leafwright-mcp": {
      "type": "http",
      "url": "https://leafwright.co/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http leafwright-mcp https://leafwright.co/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://leafwright.co/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "leafwright-mcp": {
      "serverUrl": "https://leafwright.co/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Leafwright MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Leafwright MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing