โ† Back to list

๐Ÿš€ I Built an AI-Native QA System That Automates the Entire STLC Using MCP, Cursor IDE, Figma MCP &โ€ฆ

Traditional QA automation is breaking.

kalidass mani ยท 2026-06-08 14:04 ยท 3 claps ยท 4.7 min read
#ai #ai-in-stlc #ai-in-testing #ai-assited-qa #qa
Open on Medium โ†—
Wiki topics: AGT ยท AI Agents AI ยท AI ยท General TLS ยท Design Tools & Workflow

๐Ÿš€ I Built an AI-Native QA System That Automates the Entire STLC Using MCP, Cursor IDE, Figma MCP & Playwright

Traditional QA automation is breaking.

โŒ Test scripts become flaky โŒ Locators fail constantly โŒ Requirements drift from automation โŒ Teams spend more time maintaining tests than building them โŒ AI copilots generate generic outputs without understanding the product

Meanwhile, AI models are becoming insanely powerful.

But thereโ€™s still one major problem:

AI doesnโ€™t understand enterprise context.

So I started building something different.

I built an AI-native QA ecosystem that automates almost the entire Software Testing Life Cycle (STLC) using:

โœ… Freshrelease MCP (Project Management tool like jira) โœ… Cursor IDE โœ… Claude โœ… .md contextual memory files โœ… .skill engineering rules โœ… Figma MCP โœ… Playwright MCP โœ… Self-healing automation

The result feels less like a test frameworkโ€ฆ

and more like having an autonomous QA engineer inside the IDE ๐Ÿคฏ

๐Ÿง  The Core Problem with Modern QA

Most QA teams today struggle with:

  • Massive manual testcase effort
  • Constant automation maintenance
  • Fragile locators
  • Weak traceability
  • Knowledge silos
  • Duplicate automation
  • Generic AI-generated testcases

Even the best LLMs fail because they lack:

  • Product understanding
  • Business rules
  • Existing automation awareness
  • Framework standards
  • Design intelligence

Without context, AI produces:

  • generic testcases
  • inconsistent scripts
  • duplicated automation
  • poor edge-case coverage

Thatโ€™s where MCP changed everything.

โšก What is MCP?

MCP (Model Context Protocol) allows LLMs to communicate with enterprise systems using structured workflows.

Instead of treating AI like a chatbotโ€ฆ

MCP transforms AI into a:

๐Ÿง  Context-aware engineering agent

Through MCP, AI can:

  • read user stories
  • fetch test artifacts
  • understand hierarchy
  • create workflows
  • connect enterprise systems

So I built my own MCP server for Freshrelease(Project Management tool like jira).

๐Ÿ”ง Freshrelease MCP

๐Ÿ”— GitHub: https://github.com/dasscoax/freshrelease_mcp

The Freshrelease MCP exposes Freshrelease APIs directly to AI systems.

The AI can now: โœ… Fetch epics and stories โœ… Analyze requirements โœ… Generate QA insights โœ… Fetch/Create testcases โœ… Link releases/sprints โœ… Track automation coverage

This became the foundation of my AI-native QA system.

๐Ÿค– Cursor IDE + MCP = Autonomous QA Workflows

The breakthrough happened when I combined:

  • Cursor IDE
  • Claude
  • Freshrelease MCP
  • Figma MCP
  • Playwright MCP

Suddenly the AI could:

โœ… Read requirements โœ… Understand designs โœ… Follow testing standards โœ… Analyze existing automation โœ… Generate testcases โœ… Generate Playwright scripts โœ… Self-heal locators

It started behaving less like a chatbotโ€ฆ

and more like a senior SDET ๐Ÿ˜…

๐Ÿ“š Using .md Files as Long-Term QA Memory

I started storing business knowledge in markdown files.

These .md files contain:

  • business rules
  • workflows
  • authentication logic
  • regression strategy
  • API contracts structure
  • reference automation scripts

Example:

# Login Rules
- MFA mandatory for admins
- Password expires every 90 days
- Lock account after 5 failed attempts
- Session timeout after 15 mins inactivity

This changed the quality of AI outputs dramatically.

Instead of generic testcasesโ€ฆ

the AI started generating domain-aware scenarios ๐Ÿง 

๐Ÿ› ๏ธ .skill Files Became AI Engineering Standards

This was one of the most powerful ideas.

I created .skill files that teach the AI:

  • framework architecture
  • test pyramid/test trophy standards
  • locator strategy
  • naming conventions
  • assertion patterns
  • retry handling
  • reporting standards
  • security validation rules

Example:

Playwright Rules:
- Prefer getByRole()
- Use data-testid
- Avoid XPath
- Avoid hard waits
- Use retry assertions
- Reuse existing page objects

Now AI generates automation like a trained QA architect ๐Ÿ‘จโ€๐Ÿ’ป

๐ŸŽจ Figma MCP Completely Changed Test Design

One huge problem in QA is converting UI designs into test scenarios.

Figma MCP solved this beautifully.

The AI can now: โœ… Read Figma designs โœ… Understand UI hierarchy โœ… Detect forms/buttons/modals โœ… Infer workflows โœ… Identify validations โœ… Generate UI test coverage automatically

Workflow:

Figma Design
      โ†“
AI UI Analysis
      โ†“
Scenario Generation
      โ†“
Automation Skeletons

This massively reduced manual testcase effort ๐Ÿš€

๐Ÿ”ฅ Playwright MCP + Self-Healing Locators

Locator maintenance is one of the biggest automation nightmares.

Traditional selectors fail because:

  • CSS changes
  • DOM hierarchy changes
  • Dynamic rendering shifts elements

With Playwright MCP + semantic AI understanding:

The system can: โœ… Understand UI intent โœ… Re-identify elements โœ… Heal broken locators โœ… Suggest stable selectors โœ… Adapt to DOM changes

Instead of:

.page > div:nth-child(2) > button

The AI generates:

getByRole('button', { name: 'Submit' })

or:

getByTestId('submit-btn')

This dramatically reduced flaky automation ๐ŸŽฏ

๐Ÿงช AI-Generated Testcases Directly from User Stories

This became my favorite workflow.

Example Story:

โ€œAs a user, I should be able to reset my password using email verification.โ€

The AI now automatically:

1๏ธโƒฃ Reads the User story 2๏ธโƒฃ Analyzes Figma screens 3๏ธโƒฃ Applies .md business rules 4๏ธโƒฃ Follows .skill standards 5๏ธโƒฃ Generates:

  • functional scenarios
  • negative cases
  • edge cases
  • API validations
  • accessibility tests
  • security checks
  • automation scripts

The output quality became shockingly good ๐Ÿคฏ

๐Ÿ“ Auto-Creating Testcases in Freshrelease(PM tool)

The AI doesnโ€™t just generate testcases anymore.

It directly creates them inside project management tool.

The system now: โœ… Creates testcase entities โœ… Links stories โœ… Assigns priorities โœ… Maps regression suites โœ… Tracks automation coverage

Workflow:

Requirement
    โ†“
AI Analysis
    โ†“
Scenario Generation
    โ†“
Freshrelease MCP
    โ†“
Automatic Testcase Creation

No spreadsheets. No manual testcase management. No disconnected QA docs.

โš™๏ธ AI-Generated Automation Using Existing Framework Standards

One massive issue with AI-generated automation is duplication.

To solve this, the AI first analyzes:

  • existing scripts
  • page objects
  • helper utilities
  • fixtures
  • reporting hooks
  • framework architecture

before generating code.

This enables: โœ… Reuse-first automation โœ… Framework consistency โœ… Reduced duplication โœ… Better maintainability

๐Ÿ’ป Example AI-Generated Playwright Script

import { test, expect } from '@playwright/test';
import { LoginPage } from '../pages/LoginPage';
import { ForgotPasswordPage } from '../pages/ForgotPasswordPage';
test('Verify user can reset password successfully', async ({ page }) => {
const loginPage = new LoginPage(page);
    const forgotPasswordPage = new ForgotPasswordPage(page);
await loginPage.navigate();
await loginPage.clickForgotPassword();
await forgotPasswordPage.requestPasswordReset(
        'testuser@example.com'
    );
await expect(
        forgotPasswordPage.successMessage
    ).toBeVisible();
});

The AI already follows: โœ… Existing framework patterns โœ… Locator strategy โœ… Reporting integrations โœ… Retry handling โœ… Shared utilities

๐Ÿ”„ Automating the Entire STLC

This system now automates:

โœ… Requirement Analysis โœ… Test Planning โœ… Scenario Design โœ… Testcase Generation โœ… Traceability โœ… Automation Development โœ… Locator Healing โœ… Test Execution โœ… Failure Analysis โœ… Regression Optimization โœ… Defect Insights

This is no longer just โ€œautomationโ€.

Itโ€™s becoming:

๐Ÿค– AI-native STLC engineering

๐Ÿ—๏ธ Final Architecture

Freshrelease(Project management tool)
        โ†“
Freshrelease MCP
        โ†“
Cursor IDE + Claude
        โ†“
.md Business Context
        โ†“
.skill QA Standards
        โ†“
Figma MCP Analysis
        โ†“
AI Requirement Understanding
        โ†“
Test Scenario Generation
        โ†“
Freshrelease Testcase Creation
        โ†“
Playwright Automation Generation
        โ†“
Self-Healing Execution
        โ†“
AI Defect Analysis
        โ†“
Regression Optimization

๐Ÿ’ก Key Learnings

1๏ธโƒฃ Context > Prompting

The biggest improvements came from:

  • structured memory
  • engineering standards
  • business context
  • framework awareness

not prompt engineering alone.

2๏ธโƒฃ AI Needs Governance

Without standards, AI creates chaos.

.skill files became critical for: โœ… consistency โœ… maintainability โœ… scalability โœ… framework quality

3๏ธโƒฃ MCP is the Missing Enterprise AI Layer

MCP transforms AI from:

โ€œassistantโ€

into:

โ€œengineering systemโ€

4๏ธโƒฃ QA Engineers Are Evolving

The future role of QA is shifting from: โŒ writing scripts

to: โœ… designing intelligent validation ecosystems

๐Ÿš€ Final Thoughts

Building this ecosystem completely changed how I think about automation.

The combination of:

  • Freshrelease MCP
  • Cursor IDE
  • .md contextual memory
  • .skill engineering rules
  • Figma MCP
  • Playwright MCP
  • Self-healing automation

created a workflow where AI behaves like an experienced SDET teammate.

This is no longer traditional automation.

This is the beginning of:

๐Ÿค– AI-Native QA Engineering

And honestlyโ€ฆ

weโ€™re only getting started ๐Ÿ”ฅ


๋ฉ”ํƒ€๋ฐ์ดํ„ฐ
post_id
215ef7bc18e9
slug
i-built-an-ai-native-qa-system-that-automates-the-entire-stlc-using-mcp-cursor-ide-figma-mcp-215ef7bc18e9
url
https://medium.com/@dasschamp/i-built-an-ai-native-qa-system-that-automates-the-entire-stlc-using-mcp-cursor-ide-figma-mcp-215ef7bc18e9
canonical_url
https://medium.com/@dasschamp/i-built-an-ai-native-qa-system-that-automates-the-entire-stlc-using-mcp-cursor-ide-figma-mcp-215ef7bc18e9
author_url
https://medium.com/@dasschamp
status
ok
fetched_at
2026-06-10 08:17:25