# Maket [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/ng-galien/maket  
**GitHub Stars:** 21  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/maket

## Description
Compose branded visual documents with live preview, data collections, validation, and PDF export.

## Tools
Capabilities this server exposes over MCP:

- **maket_doc** — Document lifecycle — new, list, delete, duplicate, rename, meta, export/import
- **maket_learn** — Structured Markdown documentation for agents — workflow, HTML, chartes, diagrams, data, review, install
- **maket_workspace** — Session actions — focus, state, lock, list_messages, ack_messages
- **maket_page** — Page structure and JSON Forms templates — add, remove, rename, reorder, list, set_form, get_form
- **maket_canvas** — Canvas setup — format, orientation, background, per-side print margins
- **maket_html** — Page content — `set` (full replace), `patch` (surgical ops by `data-id`), `get`, `check` (layout overflow / overlap / margin clearance)
- **maket_charte** — Brand chartes — list, view, set, delete
- **maket_collection** — Typed data collections — list, view, create, validate/change schema, add/update/delete rows, bind/unbind a page
- **maket_state** — Document-owned state — initialize, get, update or JSON Patch, validate/change schema, inspect history and revisions, restore
- **maket_structured_workspace** — Schema-driven item collections — create (templates generated from the schema or given inline, identity declared per collection), check, read items by cursor, add/update/delete items, synchronize template pages
- **maket_image** — Asset library — list, view, meta, import, delete
- **maket_preview** — Open the live preview URL or snapshot a page to PNG
- **maket_mermaid** — Render a durable, charte-aware Mermaid diagram with semantic tokens and safe visual controls
- **maket_pdf** — Export a document to PDF via headless Chromium
- **maket_gmail** — Gmail — connect, search, read, draft

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What Maket MCP server does

The Maket MCP server gives an AI client control over visual documents built from HTML and CSS. Documents contain pages with configurable formats, orientations, backgrounds, and print margins. The canvas supports paper sizes from A2 through A8 as well as desktop, tablet, and mobile aspect ratios.

Agents can create, list, duplicate, rename, inspect, import, export, and delete documents. Page tools handle adding, removing, renaming, reordering, and listing pages. HTML can be replaced as a whole or changed with targeted operations that address elements by `data-id`. Layout checks report overflow, overlap, and insufficient margin clearance.

## How it works

A typical workflow starts by creating a document, selecting a page format, and optionally applying a charte containing reusable colors, fonts, spacing, and shadow tokens. The agent then writes page HTML, opens the live preview, and revises the layout. Workspace actions provide session focus and state, expose messages such as user feedback, and support message acknowledgement and locking.

Collections model repeated output. Each collection has a JSON Schema and ordered rows. A page can be bound to a collection and use placeholders such as `{{ product_name }}`. Validation covers the schema, row data, and placeholders before rendering. PDF output expands a bound page into one page per row.

Document state is intended for one evolving artifact rather than a mail-merge series. The agent can attach a schema and data snapshot, render `{{ state.* }}` values, and connect supported HTML controls to fields. Accepted changes are revisioned, and previous revisions can be inspected or restored. JSON Patch and direct updates are supported.

## Tools and capabilities

The Maket MCP server exposes tools for:

- Document, page, canvas, workspace, and HTML lifecycle operations.
- Brand charte management and image-library import, inspection, and deletion.
- Typed collection schemas, rows, validation, and page binding.
- Document-owned state, schema validation, history, revisions, and restore.
- Live preview URLs, PNG snapshots, Mermaid diagrams, and PDF export through headless Chromium.
- Gmail connection, search, message reading, and draft creation.
- Structured Markdown guidance covering workflows, HTML, chartes, diagrams, data, review, and installation.

Mermaid output is rendered as a durable diagram using charte-aware semantic tokens and controlled visual settings. Preview tools can open the live result or capture an individual page as PNG.

## Setup and configuration

The desktop application is the default distribution and includes the interface, server, runtime, and agent setup. Installers are provided for macOS Apple Silicon, macOS Intel, Windows x64, and Linux x64. Node.js is not required for that route.

For headless, CI, or browser-only use, the repository also provides an npm-based server installation. That path requires Node.js 22 or newer. The README identifies the MCP transport as Streamable HTTP.

## Limitations and notes

Maket uses real HTML sized in millimetres, but its document model remains centered on the tools and templates exposed by the server. State updates require the current revision for mutations, and imported `.maket` bundles begin a new local history rather than preserving previous revisions.

JSON Forms templates are supported for document state, with optional UI schemas controlling structure and presentation. Their styling is renderer-owned; arbitrary CSS is not described as part of that mode. Gmail actions create drafts for review and sending rather than sending messages automatically.

_Full upstream README: https://allmcps.com/mcp/maket/readme_

