pitolet
Run the Pitolet editor, API, MCP server, and code exporter locally.
Versions
1.2.0latest1.1.01.0.31.0.21.0.1+ show 3 moreshow less
1.0.00.1.10.1.0Tools 22
list_documents List open Pitolet documents with ids and frame counts.
list_frames List the top-level frames in a document with their ids, names, sizes, and child counts.
get_node Return a compact node summary. Use get_design_as_code for complete generated code.
get_selection The user's current selection in the open editor (summaries, depth 1).
get_tokens Design tokens (colors, spacing, radius, shadows, typography) as compact path: value lines.
get_design_as_code Return a node subtree as React with Tailwind or HTML with CSS.
create_document Create a new, empty Pitolet document (with the default token set). Returns its id; use create_frame next.
set_selection Select nodes in the open editor.
get_screenshot 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.
create_frame Create a new top-level frame (artboard). Auto-placed right of existing frames unless x/y given.
insert_nodes 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.
rename_document Rename a Pitolet document. Returns the updated name and revision.
delete_document Delete a document created by mistake or a failed attempt. Requires its exact current name and refuses while an editor has it open.
update_node Update a node: name, tag, visible, text content, and/or styles (deep-merged into base/breakpoints/states layers). Only pass what changes.
delete_nodes Delete ordinary nodes and their subtrees. Component masters and component content roots are protected.
export_project Export the document as a code project with a manifest for drift checks. Set annotate=true to add source node ids to JSX.
check_drift 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 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.
add_comment Add a comment to a node in the editor.
get_comments List comments, optionally filtered by node.
resolve_comment Mark a comment as resolved (e.g. after addressing its request).
set_tokens Merge design-token changes. Set a token to null to delete it. Updates appear on every bound layer.
Permissions 3
network medium shell high env_vars low