leafwright

Render HTML, URLs, and templates to PDF. AI drafts templates and fixes them from logs.

我該用這個嗎

品質與安全性

B
說明品質
90%
結構描述完整度
70%
命名品質
80%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

發現項目(1)

  • LOWTool 'leafwright_logout' description lacks action verb在 leafwright_logout 中

根據工具定義與協定合規性的自動化分析。

上下文成本

~700Token(工具定義)
~2.0 KB典型回應大小
中等的注意力影響(128k 上下文的 0.55%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "leafwright": {
      "command": "npx",
      "args": [
        "@leafwright/mcp"
      ]
    }
  }
}

可執行的套件

npm@leafwright/mcp0.2.4stdio

遠端端點

https://leafwright.co/mcpstreamable-http

它能做什麼

工具清單

工具(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.

輸入結構描述

{
  "type": "object",
  "properties": {
    "client_name": {
      "description": "Optional client name shown in Leafwright.",
      "type": "string"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "const": "pending"
    },
    "verification_url": {
      "type": "string"
    },
    "user_code": {
      "type": "string"
    },
    "device_code": {
      "type": "string"
    },
    "expires_at": {
      "type": "string"
    },
    "next_step": {
      "type": "string"
    }
  },
  "required": [
    "status",
    "verification_url",
    "user_code",
    "device_code",
    "expires_at",
    "next_step"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢leafwright_auth_status(device_code)

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.

輸入結構描述

{
  "type": "object",
  "properties": {
    "device_code": {
      "description": "The device_code from leafwright_login. Required when the client stores no local auth state.",
      "type": "string"
    }
  },
  "$schema": "http://json-schema.org/draft-07/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.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "$schema": "http://json-schema.org/draft-07/schema#"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "const": "logged_out"
    }
  },
  "required": [
    "status"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本3 個工具
已驗證未記錄版本3 個工具
已驗證未記錄版本3 個工具