← Back to search

pitolet

GitHub Actions Scanned 22d ago

Run the Pitolet editor, API, MCP server, and code exporter locally.

npm
? Not scanned yet

Versions

1.2.0latest
Jul 17, 2026
1.1.0
Jul 12, 2026
1.0.3
Jul 12, 2026
1.0.2
Jul 11, 2026
1.0.1
Jul 11, 2026
+ show 3 moreshow less
1.0.0
Jul 11, 2026
0.1.1
Jul 4, 2026
0.1.0
Jul 4, 2026

Tools 22

list_documents
annotations: none low

List open Pitolet documents with ids and frame counts.

list_frames
annotations: none low

List the top-level frames in a document with their ids, names, sizes, and child counts.

get_node
annotations: none low

Return a compact node summary. Use get_design_as_code for complete generated code.

depth number nodeId string
get_selection
annotations: none low

The user's current selection in the open editor (summaries, depth 1).

get_tokens
annotations: none low

Design tokens (colors, spacing, radius, shadows, typography) as compact path: value lines.

category enum
get_design_as_code
annotations: none low

Return a node subtree as React with Tailwind or HTML with CSS.

nodeId string target enum
get_screenshot
annotations: none low

Render a frame as a JPEG for visual review. Set viewportWidth to inspect a responsive breakpoint and state to force hover, focus, or active styling.

frameId string maxSize number
create_document
annotations: none low

Create a new, empty Pitolet document (with the default token set). Returns its id; use create_frame next.

name string
set_selection
annotations: none low

Select nodes in the open editor.

nodeIds array
create_frame
annotations: none low

Create a new top-level frame (artboard). Auto-placed right of existing frames unless x/y given.

x number y number name string width number
insert_nodes
annotations: none low

Insert a subtree into a container. Each node may include type, tag, name, text, styles, and children. Returns the ids of the new root nodes.

index number parentId string
rename_document
annotations: none low

Rename a Pitolet document. Returns the updated name and revision.

name string
delete_document
annotations: none low

Delete a document created by mistake or a failed attempt. Requires its exact current name and refuses while an editor has it open.

docId string confirmName string
update_node
annotations: none low

Update a node: name, tag, visible, text content, and/or styles (deep-merged into base/breakpoints/states layers). Only pass what changes.

tag string name string nodeId string visible boolean
delete_nodes
annotations: none low

Delete ordinary nodes and their subtrees. Component masters and component content roots are protected.

nodeIds array
export_project
annotations: none low

Export the document as a code project with a manifest for drift checks. Set annotate=true to add source node ids to JSX.

annotate boolean
check_drift
annotations: none low

Compare the current document and project files with the last export. Returns in-sync, design-updated, file-edited, both, or missing for each file.

import_design_system
annotations: none low

Import design tokens from CSS. Pass Tailwind v4 @theme or :root variables with --color-*, --spacing-*, --radius-*, --shadow-*, --font-*, or --text-* prefixes. Existing token names are overwritten.

css string
add_comment
annotations: none low

Add a comment to a node in the editor.

text string nodeId string
get_comments
annotations: none low

List comments, optionally filtered by node.

nodeId string includeResolved boolean
resolve_comment
annotations: none low

Mark a comment as resolved (e.g. after addressing its request).

commentId string
set_tokens
annotations: none low

Merge design-token changes. Set a token to null to delete it. Updates appear on every bound layer.

Permissions 3

network medium
Server uses network capabilities via: fetch()
shell high
Server uses shell capabilities via: child_process, spawn(), spawnSync()
env_vars low
Server uses env_vars capabilities via: process.env

Scan Findings 0

No scan findings.