leafwright
Render HTML, URLs, and templates to PDF. AI drafts templates and fixes them from logs.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen leafwright_logout
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"leafwright": {
"command": "npx",
"args": [
"@leafwright/mcp"
]
}
}
}Paquetes ejecutables
0.2.4stdioPuntos de conexión remotos
https://leafwright.co/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (3)
⚪leafwright_login(client_name)
Start a browser login flow for Leafwright MCP. Open the returned URL, choose an organization and project, then call leafwright_auth_status.
Esquema de entrada
{
"type": "object",
"properties": {
"client_name": {
"description": "Optional client name shown in Leafwright.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "pending"
},
"verification_url": {
"type": "string"
},
"user_code": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"next_step": {
"type": "string"
}
},
"required": [
"status",
"verification_url",
"user_code",
"expires_at",
"next_step"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢leafwright_auth_status
Check whether Leafwright MCP is authenticated. Completes a pending browser login if approved.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"connected",
"not_authenticated",
"pending"
]
},
"token_source": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"active_project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"token": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"userId": {
"type": "string"
},
"orgId": {
"type": "string"
},
"defaultProjectId": {
"type": "string"
},
"tokenPreview": {
"type": "string"
},
"permissions": {
"type": "array",
"items": {
"type": "string"
}
},
"expiresAt": {
"type": "string"
},
"revokedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lastUsedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string"
}
},
"required": [
"id",
"userId",
"orgId",
"defaultProjectId",
"tokenPreview",
"permissions",
"expiresAt",
"revokedAt",
"lastUsedAt",
"createdAt"
],
"additionalProperties": false
},
"next_step": {
"type": "string"
},
"user_code": {
"type": "string"
},
"expires_at": {
"type": "string"
}
},
"required": [
"status"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🔴leafwright_logout
Revoke the stored Leafwright MCP token and clear local auth state.
Esquema de entrada
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Esquema de salida
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "logged_out"
}
},
"required": [
"status"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}Comunidad
Evidencia