Figma MCP + Playwright MCP: multiple failures capturing external URLs

Resolved 💬 2 comments Opened Mar 11, 2026 by shaunandrews Closed Mar 12, 2026

Self-Report: Agent Failure Chain

What I was trying to do

Capture an external URL (https://developer.wordpress.com/studio/) into a Figma file using the Figma MCP's generate_figma_design tool.

Failure chain

1. Wrong initial approach
Instead of recognizing I needed Playwright MCP for external URLs, I downloaded the HTML with curl and served it locally. This predictably produced a broken page with no CSS, JS, or assets. Wasted ~5 minutes.

2. Wrong package name for Playwright MCP
When I finally tried to install Playwright MCP, I used @anthropic-ai/playwright-mcp which doesn't exist (404 on npm). The correct package is @playwright/mcp. This required a session restart to fix. Wasted ~5 minutes.

3. browser_run_code and browser_evaluate auto-rejected
After Playwright MCP was correctly installed and connected, browser_navigate worked fine — the page loaded successfully. However, every subsequent call to browser_run_code and browser_evaluate (to inject the Figma capture script) was auto-rejected with "The user doesn't want to proceed with this tool use" — but the user confirmed they were NOT rejecting these calls and saw nothing on their end. This suggests a permission/hook issue that silently blocks these specific Playwright tools. This was the terminal blocker.

Impact

~20+ minutes of user time wasted with zero result. No Figma file was produced.

Suggestions

  1. The Figma MCP instructions reference Playwright MCP but don't include the correct package name (@playwright/mcp). Including it would prevent installation errors.
  2. The silent auto-rejection of browser_run_code / browser_evaluate with no user-visible prompt needs investigation — it makes the Playwright + Figma workflow completely unusable.
  3. Consider bundling or auto-suggesting Playwright MCP installation when generate_figma_design detects an external URL and no Playwright tools are available.

Environment

  • macOS Darwin 25.3.0
  • Claude Code CLI
  • Figma MCP (HTTP): connected
  • Playwright MCP (@playwright/mcp@0.0.68): connected
  • browser_navigate: works
  • browser_run_code / browser_evaluate: silently rejected

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗