Pixso MCP: Connect Design Context to AI Workflows
Connect design context to AI workflows
Think of Pixso MCP as a bridge between design and AI agents. Within the granted permissions, an agent can inspect nodes, components, styles, and variables, generate code, or help edit a canvas. This guide follows a practical order: choose a connection, set it up, and agree on a safe scope for work.
MCP request flow
- Confirm the use case, then choose Local or Remote Pixso MCP.
- Configure the server and identify the design file and target layer.
- Ask the agent to inspect the design context before generating code or editing.
- Review the output; before canvas writes, agree on which objects may be changed.
Choose local or remote
When choosing an option, start with three questions: where is the target file, can the desktop client stay open, and is cross-device access needed?
| Local MCP | Remote MCP | |
|---|---|---|
| Runs on | Pixso desktop client | Pixso cloud service |
| Target file | A design file open and active in the client | A cloud design addressed by a Pixso layer link |
| Prerequisites | Signed-in desktop client; keep it and the target file open | Streamable HTTP support and OAuth 2.1 authorization or a personal access token |
| Endpoint | http://127.0.0.1:3667/mcp; confirm the actual port in the client | https://pixso.cn/mcp; private deployments should use their internal host |
| Best for | Work tied to the current desktop file or selection | Remote collaboration or use without launching the desktop client |
Both forms support a range of design workflows, but tool availability varies by form and version. I recommend checking the official tool list before planning a specific workflow.
Configure MCP in VS Code
To make setup repeatable for a team, I usually start with the workspace .vscode/mcp.json. Native VS Code MCP uses the servers property. Begin with either option below; on the first remote connection, follow the client flow to authorize with OAuth 2.1.
Local service
For work tied to the current desktop file, I recommend Local MCP. Use Pixso desktop client 2.2.0 or later, open a design file, and enable MCP from its top bar first.
{
"servers": {
"pixso": {
"url": "http://127.0.0.1:3667/mcp",
"type": "http"
}
}
}Remote service (OAuth 2.1 recommended)
For cross-device work or when the desktop client cannot remain open, consider Remote MCP. Use a layer link to identify the target design.
{
"servers": {
"pixso-remote": {
"url": "https://pixso.cn/mcp"
}
}
}Personal access tokens are also supported. Treat them like account credentials: never commit them to a repository or share them in public conversations. Other IDEs may use a different configuration schema. Private deployments should use their configured internal endpoint.
Common workflows
- Design to code: I start with
design_to_codeon a clearly identified layer, then review the output against the project’s framework and components. - Inspect design structure: When the team first needs to understand a canvas, I start with
get_node_dsl,query_nodes,read_components,read_styles, orread_variables. - Code to design: For bringing HTML or a web project into Pixso, check whether
code_to_designfits the task. - Iterate and validate: Agree on write scope first, then consider canvas tools such as
apply_design; verify with screenshots or layout checks.
Permissions and success checklist
- I ask for a direct layer link containing
item-id; file-share and page links may not identify the target layer. - State the task, output framework, and components, styles, or variables to preserve.
- During initial setup, have the agent inspect and explain the design before trying code generation or canvas writes.
- Read operations require view access; canvas writes require edit access. When troubleshooting access, check the account seat and file permissions first. D2C+ has additional Enterprise seat and file requirements.
Official documentation
This is a personal practical guide, not an official product announcement. Product capabilities, seat requirements, and setup details may change; refer to the official Pixso MCP documentation.