Skip to main content
Glama

MCP QA Demo

This project demonstrates the difference between:

  • general automation: execute a browser flow with Playwright + Cucumber

  • MCP-assisted automation: run the same flow and then invoke an MCP tool for analysis

1. Setup on another machine

Prerequisites

  • Node.js 18+ installed

  • npm installed

  • Internet access for downloading Playwright browsers

Install dependencies

git clone <your-repo-url>
cd mcp-qa-demo
npm install
npx playwright install

VS Code MCP setup

  1. Open the workspace in VS Code.

  2. Make sure the folder contains .vscode/mcp.json.

  3. Restart VS Code or reload the window.

  4. Open Copilot Chat and use the MCP server from the workspace.

Related MCP server: Playwright MCP Server

2. Run the general flow

npm run test:general

3. Run the MCP flow

npm run test:mcp

4. Run both flows back to back

npm run demo:both

5. Start the MCP server directly

npm run mcp:server

6. How to use it

  1. Start the MCP server:

npm run mcp:server
  1. In Claude or another MCP-compatible chat client, send a prompt such as:

Open Google and search for automation demo
  1. The MCP tool exposed by this server will launch a real browser, perform the interaction, and generate the feature/step/page artifacts.

  2. The generated files will be written under the generated folder.

7. TypeScript prompt runner

You can also try a prompt-driven browser flow directly in TypeScript:

node -r ts-node/register/transpile-only src/demo.ts "open google and search for automation demo"

8. Quick demo summary

  • Traditional automation: write scripts manually and execute them.

  • MCP automation: describe the task in chat, let the tool observe the browser, and generate the automation assets.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables creation of reusable browser automation skills through demonstration by recording user actions in a browser while narrating, then converting those workflows into executable skills that can be invoked through natural language.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables browser automation using Playwright for web scraping, testing, and automation tasks through natural language commands.
      1,238 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables plain-English browser automation via an MCP server, allowing agents to run objectives or test suites in a real browser without selectors or scripts.
      106 npm
      3
      Apache 2.0
    • A
      license
      B
      quality
      B
      maintenance
      Enables AI assistants to control a real browser via Selenium WebDriver for web automation, including navigation, element interaction, assertions, and recording sessions. It also generates production-ready test code in Java TestFly, Python pytest, or C# NUnit from those sessions.
      88
      Apache 2.0