Pixso MCP
Use the remote Pixso MCP server to work with Pixso files. Prefer the smallest tool and scope that completes the request.
Before calling tools
- Ensure the user has completed Pixso OAuth authorization.
- Require a Pixso layer URL containing
item-id, a node ID, or a clearly identified current target. Do not treat a file share URL orpage-idas a node target. - Confirm that the account can view the file. Editing tools additionally require edit permission. Some D2C capabilities require an eligible enterprise seat and an enterprise-space file.
- For ambiguous requests, begin with read-only inspection and identify the intended file, page, frame, or node before modifying anything.
Select tools
- For design-to-code, use
design_to_code. Preserve all supplied node IDs and honor the requested framework. - For node structure or precise design data, use
get_node_dsl; start with the compact response and fetch more only as needed. - For code or web artifacts converted into editable Pixso content, use
code_to_design. - For canvas discovery, use
fetch_context,get_top_level_frames, orquery_nodes. - For components, styles, variables, and comments, use the matching
read_*tool. - For layout and visual verification, use
check_layoutandtake_screenshot. - For design guidance, use
load_guidelines,list_style_tags, andget_style_guide. - For detailed routing, read references/tools.md.
Modification safety
Treat write_styles, write_variables, apply_design, eval_script, replace_props, and any code_to_design operation that writes into a file as modifying operations.
Before a modifying operation:
- State the target file and node scope.
- Summarize the intended changes and whether they create, update, move, replace, or delete content.
- Obtain explicit user confirmation when the request does not already clearly authorize those exact changes.
- Never broaden the requested scope. Preserve unrelated layers, components, styles, and variables.
Always obtain explicit confirmation immediately before deletion, bulk replacement, destructive reorganization, or executing an eval_script that writes to the file. Mention that a failed script may leave partial changes.
Workflow
- Resolve the target from a Pixso layer URL, node ID, or current context.
- Inspect only the information needed for the task.
- Explain any permission, seat, or authentication blocker without exposing credentials.
- For writes, apply the modification-safety rules and use the narrowest target scope.
- After changes, re-read affected nodes and use
take_screenshotorcheck_layoutwhen visual or layout correctness matters. - Report what was read or changed, the exact scope, verification performed, and any unresolved differences.
Failure handling
- If authentication is missing or expired, ask the user to reconnect Pixso through OAuth.
- If the target URL lacks
item-id, ask for a node-specific link or approval to use the current selection. - If access is denied, distinguish view permission, edit permission, seat eligibility, and enterprise-space restrictions.
- If a write partially succeeds, stop, report the confirmed state, and ask before attempting recovery.
- Do not invent node IDs, file contents, component definitions, styles, variables, or tool results.