Skip to content

Playwright tests from Cursor

Connect Cursor 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 Cursor to SmoothDeploy

Takes about a minute. You need a SmoothDeploy account.

  1. Sign in to SmoothDeploy or start a free trial.
  2. Add to .cursor/mcp.json in your project, or ~/.cursor/mcp.json for all projects:

    {
      "mcpServers": {
        "smoothdeploy": {
          "url": "https://app.smoothdeploy.com/mcp"
        }
      }
    }
  3. Open Cursor Settings, find smoothdeploy under MCP and sign in through the browser.

  4. Ask Cursor 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. Cursor 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 Cursor 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 Cursor named as the client.

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

All agent features

Ready to set sail?