Skip to content

Add Figma to WP - #2781

Draft
mtias wants to merge 6 commits into
trunkfrom
add/figma-to-wp
Draft

Add Figma to WP#2781
mtias wants to merge 6 commits into
trunkfrom
add/figma-to-wp

Conversation

@mtias

@mtias mtias commented Mar 12, 2026

Copy link
Copy Markdown
Member

WIP

Adds figma mcp support and command workflow to convert a figma design to a WP site. It's minimal footprint, requires a frame in figma to be named with WP_ and it'd be treated as a page source.

Comment thread apps/cli/index.ts
@@ -1,3 +1,4 @@
process.env.ENABLE_STUDIO_AI = 'true';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should remove this :)

@wpmobilebot

wpmobilebot commented Mar 12, 2026

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 664b2a6 vs trunk

app-size

Metric trunk 664b2a6 Diff Change
App Size (Mac) 1279.97 MB 1279.98 MB +0.01 MB ⚪ 0.0%

site-editor

Metric trunk 664b2a6 Diff Change
load 1875 ms 1854 ms 21 ms ⚪ 0.0%

site-startup

Metric trunk 664b2a6 Diff Change
siteCreation 6141 ms 6099 ms 42 ms ⚪ 0.0%
siteStartup 3941 ms 3933 ms 8 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

mtias added 3 commits March 14, 2026 11:35
Handle Figma MCP OAuth directly in the Studio CLI so users don't need
to configure anything separately. When a user runs /figma for the first
time, the CLI opens their browser for Figma authorization, receives the
callback on a local server, exchanges the code for tokens, and stores
them for future use.
@mtias
mtias force-pushed the add/figma-to-wp branch from db91ceb to 1361cb3 Compare March 14, 2026 10:55
@sejas

sejas commented Apr 7, 2026

Copy link
Copy Markdown
Member

@mtias , I see this PR says is a WIP. Let me know when it's ready for review, or if you prefer to delegate it to another person, or close it. Thank you!

If it’s still a work in progress, it would be great if we could convert the PR to a draft.

Screenshot 2026-04-07 at 14 42 53
@sejas
sejas marked this pull request as draft April 8, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants