co.leafwright/leafwright
Render HTML, URLs, and templates to PDF. AI drafts templates and fixes them from logs.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http leafwright 'https://leafwright.co/mcp'
{
"mcpServers": {
"leafwright": {
"type": "http",
"url": "https://leafwright.co/mcp"
}
}
}
@leafwright/mcpclaude 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
{
"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>"
}
}
}
}
Variables d'environnement
LEAFWRIGHT_API_KEYsecret Project API key (lw_live_… or lw_test_…) for server automation. Optional — the server can also authenticate through a browser login.LEAFWRIGHT_MCP_TOKENsecret MCP token (mcp_…) for non-interactive setups.LEAFWRIGHT_PROJECT_IDOverride the active default project.LEAFWRIGHT_MCP_READ_ONLYSet to true to expose only read tools — no renders, template writes, or AI.
Questions fréquentes
Qu'est-ce que co.leafwright/leafwright ?
Render HTML, URLs, and templates to PDF. AI drafts templates and fixes them from logs.
Comment installer co.leafwright/leafwright ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http leafwright 'https://leafwright.co/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour co.leafwright/leafwright ?
Oui. Il attend LEAFWRIGHT_API_KEY, LEAFWRIGHT_MCP_TOKEN, à renseigner dans sa configuration.
co.leafwright/leafwright est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient co.leafwright/leafwright ?
Il est publié par Tactic-Systems. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.