How to Use Local MCP
Step 1: Enable Local MCP in Pixso Desktop
- Install and sign in to Pixso desktop (version
>= 2.2.0) - Create or open a design file in Pixso desktop
- In the file menu (top-left), find and enable Pixso MCP

The local endpoint of Pixso MCP server is: http://127.0.0.1:3667/mcp
D2C+ Mode
When enabled, the MCP design_to_code tool outputs code based on D2C+ generation results. For D2C+ component mapping, see Component Parsers.
Transport Protocol
Local Pixso MCP only supports HTTP / Streamable HTTP, and does not support SSE.
Step 2: Configure Pixso MCP in Your IDE
Find your IDE / Agent below and follow the corresponding instructions.
Claude Code (CLI)
Run this command in terminal:
claude mcp add --transport http pixso-desktop http://127.0.0.1:3667/mcpCodex (CLI / App)
Codex CLI and Codex app share MCP configuration stored in ~/.codex/config.toml (or project-level .codex/config.toml).
Option 1: Quick setup via CLI
Run in terminal:
codex mcp add pixso --url http://127.0.0.1:3667/mcpOption 2: Edit the config file
Open ~/.codex/config.toml and add:
[mcp_servers.pixso]
url = "http://127.0.0.1:3667/mcp"After saving, start a new Codex thread or run /mcp in a session to verify the connection. You can also run codex mcp list to view configured MCP servers.
NOTE
Codex uses TOML config.toml for MCP, which differs from the JSON format used by Cursor and other IDEs. To install the Pixso Skills plugin for a better experience, see Pixso MCP Skill.
Cursor
- Open Cursor -> Cursor Settings -> MCP & Integrations
- In MCP Tools, click New MCP Server
- Use any name (for example
Pixso MCP), selecthttp, and set URL tohttp://127.0.0.1:3667/mcp - Or edit
mcp.jsondirectly:json{ "mcpServers": { "Pixso MCP": { "url": "http://127.0.0.1:3667/mcp", "headers": {} } } } - Save and click start in the settings panel
VS Code
VS Code's native MCP configuration uses a different structure from other IDEs: it uses the servers field instead of mcpServers.
- Open the MCP configuration file in VS Code (user-level or workspace
.vscode/mcp.json). - Add the following content and save:json
{ "servers": { "pixso": { "url": "http://127.0.0.1:3667/mcp", "type": "http" } } } - Reload VS Code or refresh in the MCP panel. Once connected, you can use Pixso MCP in chat.
CodeBuddy
CodeBuddy IDE supports MCP server configuration to extend Agent capabilities.
- In the top-right corner of the chat sidebar, open CodeBuddy Settings and switch to the MCP tab.
- Click Add MCP on the right, then add the following content to the JSON configuration file and save:json
{ "mcpServers": { "pixso": { "type": "http", "url": "http://127.0.0.1:3667/mcp" } } } - After saving, a green status on the MCP server means connected. You can also use Pixso MCP tools directly in Craft Agent.
You can also add the server via config files: user-level ~/.codebuddy/.mcp.json, or project-level .mcp.json.
Qoder
Qoder IDE extends Agent capabilities through MCP and supports STDIO, SSE, and Streamable HTTP. For local Pixso MCP, HTTP is sufficient.
- Click the user icon in the top-right corner of Qoder IDE, or use
Ctrl + Shift + ,(Windows) /⌘ + Shift + ,(macOS) to open Qoder Settings. - Select MCP in the left navigation pane, then open the My Servers tab.
- Click Add in the top-right corner, add the following content to the JSON configuration file, and save:json
{ "mcpServers": { "pixso": { "type": "http", "url": "http://127.0.0.1:3667/mcp" } } } - After saving, a link icon next to the server entry means connected. Expand the entry to view available tools.
You can also add the server via config files: user-level ~/.qoder/settings.json, project-local ${project}/.qoder/settings.local.json, or project-level ${project}/.mcp.json.
Cline (VS Code and others)
- In Cline sidebar, click MCP Servers (or click "Configure MCP Servers" under Configure tab)
- It opens
cline_mcp_settings.json - Add a Streamable HTTP MCP server config:json
{ "mcpServers": { "pixso-mcp": { "type": "streamableHttp", "url": "http://127.0.0.1:3667/mcp" } } } - Save the file, and Cline will connect automatically
Trae IDE
Trae v1.3.0+ supports MCP natively.
- Open Trae Settings and go to the MCP configuration panel; or edit the config file directly: project-level
.trae/mcp.json, or global~/.cursor/mcp.json(Trae-compatible Cursor config directory). - Add an MCP service:json
{ "mcpServers": { "pixso": { "url": "http://127.0.0.1:3667/mcp" } } } - Restart Trae, or click refresh in the MCP panel to connect.
Kiro
- Open Kiro config: global
~/.kiro/settings/mcp.jsonor workspace.kiro/settings/mcp.json - Add Pixso MCP config:json
{ "mcpServers": { "pixso-mcp": { "url": "http://127.0.0.1:3667/mcp" } } } - (Optional) Add
"autoApprove": ["getCode", "getNodeDSL"]to reduce permission prompts, then reload Kiro
Windsurf
- Open Windsurf settings -> MCP Servers -> Manage MCPs
- Click View raw config to open
mcp_config.json - Add config:json
{ "mcpServers": { "pixso": { "serverUrl": "http://127.0.0.1:3667/mcp" } } } - Refresh in settings panel; a green status means connected
TIP
After connecting MCP, we recommend installing the Pixso MCP Skill plugin for a better Agent experience. See Pixso MCP Skill.
Step 3: Chat in MCP Client
After your MCP client is connected to Pixso MCP server, you can start using it in conversations.
Pixso MCP supports two ways to get design data:
Copy Layer Link
Notes
The layer link is not a file share link and not a page link.
The item-id in the link helps the agent locate the exact target layer.
- Open a design file in Pixso desktop
- Select a container layer and copy its layer link
- In your IDE client (such as Cursor), paste the link in chat and provide instructions (for example: generate HTML code)

Paste the link into the agent chat box.

Select Container on Canvas
- Open a design file in Pixso desktop
- Select a single container layer on the canvas
- In your IDE client (such as Cursor), start chatting (for example: generate HTML code)
Notes
To keep the MCP connection stable:
- Keep Pixso desktop open
- Keep the design file tab containing the selected container active