Skip to content

Playwright tests from Codex

Connect Codex to SmoothDeploy over MCP. Your agent creates tests from typed steps, runs them in the cloud, reads the results and fixes what broke. Every test is real Playwright, and you can export it anytime.

Connect Codex to SmoothDeploy

Takes about a minute. You need a SmoothDeploy account.

  1. Sign in to SmoothDeploy or start a free trial.
  2. Run in your terminal:

    codex mcp add smoothdeploy --url https://app.smoothdeploy.com/mcp
  3. Then sign in:

    codex mcp login smoothdeploy
  4. Ask Codex to list your SmoothDeploy tests. If it answers, you are connected.

Sign-in uses OAuth. The agent gets a token tied to your account, and the token expires after 30 days. Full reference in the MCP docs.

Things to ask

Plain requests. Codex picks the SmoothDeploy tools it needs.

  • Create a test that signs up on staging with a new inbox address and checks the welcome email.
  • Run every test tagged smoke and tell me which ones failed and why.
  • The checkout test failed on the last run. Read the error and screenshots and fix the step.
  • Schedule the regression directory to run every night at 2am.
  • Show me the Playwright code for the sign-in test.

What Codex can do

The same actions you have in the console, under your role.

  • Build and edit tests: create tests and directories, add, update, group and reorder steps, manage shared steps.
  • Run tests: one test, a directory, a tag or a list. Rerun, cancel, read pass/fail, screenshots and the HTML report.
  • Manage schedules, branches, tags, config presets and webhooks.
  • Read email inboxes for OTP, verification and password reset flows.
  • Export tests as Playwright code or a zip.

See every tool in the tools reference.

Safe by default

The agent cannot do more than you can.

  • Bound by your organization role. Removing a member or lowering a role takes effect on the next request.
  • Secret values, API keys and webhook signing secrets are never returned.
  • Agents cannot create API keys, invite or remove members, or change organization settings.
  • Every write is in the audit log, with Codex named as the client.

Also works with Claude Code, Cursor, OpenCode and any MCP client.

All agent features

Ready to set sail?