Skip to content

feat(presets): add mcp-playwright preset#17

Merged
trick77 merged 2 commits into
masterfrom
feat/mcp-playwright-preset
May 11, 2026
Merged

feat(presets): add mcp-playwright preset#17
trick77 merged 2 commits into
masterfrom
feat/mcp-playwright-preset

Conversation

@trick77
Copy link
Copy Markdown
Owner

@trick77 trick77 commented May 11, 2026

Summary

  • Add presets/mcp-playwright.conf wiring up the official @playwright/mcp server as a local stdio MCP entry (type: "local", npx -y @playwright/mcp@latest).
  • Add a row to README.md's built-in presets table.

First preset to use type: "local". No prompts — defaults to Chromium/headed; users hand-edit for --browser= or --headless.

Test plan

  • npm run build succeeds
  • opencode-presets list shows mcp-playwright
  • Install against a temp OPENCODE_CONFIG writes the expected mcp.playwright block
  • Re-install is a no-op
  • remove mcp-playwright cleans the entry and prunes the empty mcp parent

trick77 added 2 commits May 11, 2026 10:14
Adds the official @playwright/mcp server as a local stdio MCP entry
so users can install browser-automation tools without hand-editing
opencode.json. First preset using type: "local".
@trick77 trick77 merged commit cc92408 into master May 11, 2026
2 checks passed
@trick77 trick77 deleted the feat/mcp-playwright-preset branch May 11, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant