leafwright
Render HTML, URLs, and templates to PDF. AI drafts templates and fixes them from logs.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin leafwright_logout
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"leafwright": {
"command": "npx",
"args": [
"@leafwright/mcp"
]
}
}
}Ausführbare Pakete
0.2.4stdioRemote-Endpunkte
https://leafwright.co/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"type": "object",
"properties": {
"client_name": {
"description": "Optional client name shown in Leafwright.",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"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.
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"status": {
"type": "string",
"const": "logged_out"
}
},
"required": [
"status"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}Community
Nachweis