co.leafwright/leafwright
Render HTML, URLs, and templates to PDF. AI drafts templates and fixes them from logs.
- Repository
- github.com/Tactic-Systems/leafwright
- Website
- leafwright.co/
- Server address
https://leafwright.co/mcp(streamable-http)- Version
- 0.2.4
- Author
- leafwright.co (namespace verified by the registry)
- Source
- Official MCP registry (updated Sep 8, 2026)
How to install it
Variables to fill in: LEAFWRIGHT_API_KEY, LEAFWRIGHT_MCP_TOKEN, LEAFWRIGHT_PROJECT_ID, LEAFWRIGHT_MCP_READ_ONLY.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http leafwright https://leafwright.co/mcpClaude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://leafwright.co/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://leafwright.co/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"leafwright": {
"url": "https://leafwright.co/mcp"
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"leafwright": {
"type": "http",
"url": "https://leafwright.co/mcp"
}
}
}On your machine
Claude Code
The server runs on your machine (npm package). In a terminal:
claude mcp add leafwright -e LEAFWRIGHT_API_KEY=YOUR_LEAFWRIGHT_API_KEY -e LEAFWRIGHT_MCP_TOKEN=YOUR_LEAFWRIGHT_MCP_TOKEN -e LEAFWRIGHT_PROJECT_ID=YOUR_LEAFWRIGHT_PROJECT_ID -e LEAFWRIGHT_MCP_READ_ONLY=YOUR_LEAFWRIGHT_MCP_READ_ONLY -- npx -y @leafwright/[email protected]Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"leafwright": {
"command": "npx",
"args": [
"-y",
"@leafwright/[email protected]"
],
"env": {
"LEAFWRIGHT_API_KEY": "YOUR_LEAFWRIGHT_API_KEY",
"LEAFWRIGHT_MCP_TOKEN": "YOUR_LEAFWRIGHT_MCP_TOKEN",
"LEAFWRIGHT_PROJECT_ID": "YOUR_LEAFWRIGHT_PROJECT_ID",
"LEAFWRIGHT_MCP_READ_ONLY": "YOUR_LEAFWRIGHT_MCP_READ_ONLY"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"leafwright": {
"command": "npx",
"args": [
"-y",
"@leafwright/[email protected]"
],
"env": {
"LEAFWRIGHT_API_KEY": "YOUR_LEAFWRIGHT_API_KEY",
"LEAFWRIGHT_MCP_TOKEN": "YOUR_LEAFWRIGHT_MCP_TOKEN",
"LEAFWRIGHT_PROJECT_ID": "YOUR_LEAFWRIGHT_PROJECT_ID",
"LEAFWRIGHT_MCP_READ_ONLY": "YOUR_LEAFWRIGHT_MCP_READ_ONLY"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"leafwright": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@leafwright/[email protected]"
],
"env": {
"LEAFWRIGHT_API_KEY": "YOUR_LEAFWRIGHT_API_KEY",
"LEAFWRIGHT_MCP_TOKEN": "YOUR_LEAFWRIGHT_MCP_TOKEN",
"LEAFWRIGHT_PROJECT_ID": "YOUR_LEAFWRIGHT_PROJECT_ID",
"LEAFWRIGHT_MCP_READ_ONLY": "YOUR_LEAFWRIGHT_MCP_READ_ONLY"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 08:15 (test run by L’Atlas)
- Response time
- 983 ms (whole test)
- Tools found
- 3
- Announced name
- leafwright 0.2.4
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (3)
leafwright_login
Start a browser login flow for Leafwright MCP. Open the returned URL, choose an organization and project, then call leafwright_auth_status.leafwright_auth_status
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_logout
Revoke the stored Leafwright MCP token and clear local auth state.
Previous tests
| Nov 28, 2026 | Responds | 477 ms | 3 tools |
| Nov 28, 2026 | Responds | 983 ms | 3 tools |
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/co.leafwright/leafwright)HTML
<a href="https://lagora.dev/en/entry/co.leafwright/leafwright"><img src="https://lagora.dev/badge/co.leafwright/leafwright.svg?lang=en" alt="co.leafwright/leafwright on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.