MCPサーバー

leafwright

co.leafwright/leafwright
開発者向けツール 公開・接続可能 MCP 2025-11-25

このMCPでできること

Provides authentication controls for the Leafwright service, which renders HTML, URLs, and templates to PDF.

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.
外部アクセスあり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'device_code': {'type': 'string', 'description': 'The device_code from leafwright_login. Required when the client stores no local auth state.'}}}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['status'], 'properties': {'token': {'type': 'object', 'required': ['id', 'userId', 'orgId', 'defaultProjectId', 'tokenPreview', 'permissions', 'expiresAt', 'revokedAt', 'lastUsedAt', 'createdAt'], 'properties': {'id': {'type': 'string'}, 'orgId': {'type': 'string'}, 'userId': {'type': 'string'}, 'createdAt': {'type': 'string'}, 'expiresAt': {'type': 'string'}, 'revokedAt': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'lastUsedAt': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'permissions': {'type': 'array', 'items': {'type': 'string'}}, 'tokenPreview': {'type': 'string'}, 'defaultProjectId': {'type': 'string'}}, 'additionalProperties': False}, 'status': {'enum': ['connected', 'not_authenticated', 'pending'], 'type': 'string'}, 'next_step': {'type': 'string'}, 'user_code': {'type': 'string'}, 'expires_at': {'type': 'string'}, 'token_source': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}, 'active_project_id': {'anyOf': [{'type': 'string'}, {'type': 'null'}]}}, 'additionalProperties': False}
leafwright_login
Log in to Leafwright
Start a browser login flow for Leafwright MCP. Open the returned URL, choose an organization and project, then call leafwright_auth_status.
外部アクセスあり
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'client_name': {'type': 'string', 'description': 'Optional client name shown in Leafwright.'}}}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['status', 'verification_url', 'user_code', 'device_code', 'expires_at', 'next_step'], 'properties': {'status': {'type': 'string', 'const': 'pending'}, 'next_step': {'type': 'string'}, 'user_code': {'type': 'string'}, 'expires_at': {'type': 'string'}, 'device_code': {'type': 'string'}, 'verification_url': {'type': 'string'}}, 'additionalProperties': False}
leafwright_logout
Log out of Leafwright
Revoke the stored Leafwright MCP token and clear local auth state.
破壊的操作あり 外部アクセスあり 冪等
入力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
出力スキーマ
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['status'], 'properties': {'status': {'type': 'string', 'const': 'logged_out'}}, 'additionalProperties': False}
変更
leafwright_auth_status
2026年9月29日3:01
変更
leafwright_login
2026年9月29日3:01
追加
leafwright_logout
2026年9月17日7:58
追加
leafwright_auth_status
2026年9月17日7:58
追加
leafwright_login
2026年9月17日7:58