Saturday, June 20, 2026

How SDETs Can Use AI Agents, MCP & LLMs in Daily Work: A Practical Guide

 The software testing industry is undergoing a massive transformation. Just a few years ago, automation engineers focused on writing Selenium scripts, creating frameworks, and maintaining test suites. Today, a new wave of technologies—LLMs (Large Language Models), AI Agents, and MCP (Model Context Protocol)—is changing how quality engineering works.

Many engineers hear these terms daily but struggle to understand how they fit into real-world testing activities.

This article breaks down these concepts using simple examples and shows how SDETs can leverage them to become more productive, strategic, and future-ready.




The Evolution of Software Testing

Traditionally, SDETs spend significant time on activities such as:

  • Understanding requirements
  • Writing test cases
  • Creating automation scripts
  • Executing regression tests
  • Investigating failures
  • Logging defects
  • Preparing reports

While automation reduced manual testing effort, engineers still spend hours performing repetitive tasks.

This is where AI comes into the picture.

Imagine if an intelligent assistant could:

  • Read requirements
  • Generate test scenarios
  • Write Playwright scripts
  • Execute tests
  • Analyze failures
  • Create Jira defects
  • Send execution summaries

That's exactly what happens when AI Agents, LLMs, and MCP work together.

Understanding LLMs: The Brain

A Large Language Model (LLM) is the intelligence layer.

Examples include:

  • ChatGPT
  • Claude
  • Gemini
  • Llama

Think of an LLM as a highly knowledgeable engineer.

You can ask:

Generate test cases for a login feature.

The LLM can produce:

  • Positive scenarios
  • Negative scenarios
  • Boundary validations
  • Security checks

However, there is a limitation.

The LLM can think and generate answers, but it cannot directly interact with your systems.

It cannot:

  • Open Jira
  • Read Confluence pages
  • Execute Playwright scripts
  • Create defects

For that, we need AI Agents.

Understanding AI Agents: The Worker

An AI Agent is an LLM combined with:

  • Memory
  • Planning
  • Tool access
  • Decision-making capabilities

Instead of simply answering questions, it performs actions.

Think of it as:

LLM + Tools + Reasoning + Actions = AI Agent

For example:

You ask:

Create automation tests for the login page.

An AI Agent can:

  1. Read requirements.
  2. Generate test cases.
  3. Create Playwright code.
  4. Execute the tests.
  5. Analyze failures.
  6. Create bug reports.

The difference is simple:

LLMAI Agent
Thinks      Thinks + Acts
Answers Questions      Completes Tasks
Generates Content      Executes Workflows

Understanding MCP: The Universal Connector

Now imagine your agent needs access to:

  • Jira
  • GitHub
  • Confluence
  • Databases
  • APIs
  • Test Environments

Traditionally, every integration requires custom development.

This creates complexity.

MCP solves this problem.

What is MCP?

MCP (Model Context Protocol) is an open standard that enables AI systems to communicate with external tools and data sources.

Think of MCP as:

USB-C for AI

Just as one cable can connect multiple devices, MCP allows AI Agents to connect to multiple systems through a common interface.

Instead of building hundreds of custom integrations, agents can use MCP-compatible connectors.

How the Three Technologies Work Together

A simple flow looks like this:

 SDET

LLM

AI Agent

MCP

Jira / GitHub / APIs / Databases

The LLM provides intelligence.

The Agent decides what to do.

MCP provides access to tools.

Together they create intelligent automation systems. 

Real-Time Use Cases for SDETs

1. Automatic Test Case Generation

One of the most time-consuming tasks is creating test cases from requirements.

Traditional Approach

  • Read user story
  • Understand functionality
  • Create scenarios manually

AI-Powered Approach

Agent reads:

  • Jira Story
  • Acceptance Criteria
  • Confluence Documentation

Then automatically generates:

  • Functional Tests
  • Negative Tests
  • Edge Cases
  • Security Scenarios

Result:

  • Faster analysis
  • Better coverage
  • Reduced manual effort

2. Automation Script Generation

Modern LLMs can generate Playwright scripts with impressive accuracy.

Example prompt:

Create Playwright tests for login functionality using valid and invalid credentials.

The agent can generate:

  • Page Objects
  • Test Data
  • Assertions
  • Reporting Logic

The SDET simply reviews and refines.

This accelerates automation development significantly.

3. Smart Test Execution

Agents can determine:

  • Which tests should run
  • Which tests can be skipped
  • Which modules are impacted

Instead of running a 5-hour regression suite, the agent executes only relevant tests.

Benefits:

  • Faster feedback
  • Reduced execution costs
  • Quicker releases

4. Defect Management

Failure analysis often consumes more time than test execution.

AI Agents can:

  • Capture screenshots
  • Collect logs
  • Analyze stack traces
  • Compare previous executions
  • Create Jira defects

Example defect summary:

Login API returning HTTP 500 when password contains special characters.

The bug report is generated automatically with evidence attached.

5. Test Impact Analysis

One of the most exciting use cases.

Suppose a developer modifies:

User Authentication Service

The AI Agent can:

  • Analyze code changes
  • Identify impacted APIs
  • Identify impacted UI flows
  • Suggest test suites to run

This saves enormous execution time.

A Day in the Life of an AI-Powered SDET

Imagine this scenario.

A new story is added to Jira.

Step 1

Agent reads the story using MCP.

Step 2

Agent retrieves related documentation from Confluence.

Step 3

Agent generates:

  • Test cases
  • API tests
  • Playwright scripts

Step 4

Agent executes tests in the test environment.

Step 5

Failures are analyzed automatically.

Step 6

Defects are created in Jira.

Step 7

Summary is posted to Slack or Teams.

Step 8

SDET reviews results and approves.

What previously required hours can now be completed in minutes.

Building Your Own AI Test Architect

For SDETs looking to future-proof their careers, an AI Test Architect project is an excellent portfolio showcase.

Suggested features:

Requirement Analysis

Upload requirement documents and generate test scenarios.

Test Case Generator

Generate comprehensive manual test cases.

Playwright Script Generator

Create UI automation scripts.

API Test Generator

Generate REST API test suites.

Flaky Test Detection

Identify unstable automation tests.

Performance Scenario Generator

Generate load testing scenarios automatically.

Test Impact Analysis

Predict impacted tests after code changes.

MCP Integration

Connect to:

  • Jira
  • GitHub
  • Confluence
  • Databases 

Final Thoughts

The easiest way to remember these concepts is:

🧠 LLM = Thinks

πŸ€– AI Agent = Acts

πŸ”Œ MCP = Connects

πŸš€ SDET = Achieves More

The future of quality engineering isn't just automation—it's intelligent automation powered by AI Agents working seamlessly across the software development lifecycle.

As SDETs, now is the perfect time to start experimenting, building, and learning. The next generation of testing tools will be agent-driven, and the engineers who master them early will have a significant advantage.

Software Engineering Cafe ☕
Simplifying Software Engineering, Testing, AI, and Automation—One Cup at a Time.

 

Friday, June 19, 2026

AI Agents + MCP + LLMs Explained Like a Classroom Notebook Sketch πŸ“–✏️

Artificial Intelligence is evolving rapidly, and terms like LLMs, AI Agents, and MCP are becoming common in discussions around automation and intelligent systems. While these concepts may sound complex, they can be understood using a simple classroom notebook analogy.

Imagine a student trying to complete a project.

Step 1: The LLM – The Smart Student 🧠

A Large Language Model (LLM) is like a knowledgeable student who has read thousands of books.

You can ask questions such as:

  • "Explain APIs"
  • "Write a Python script"
  • "Generate test cases"

The student can answer based on what they have learned.

However, there is a limitation:

  • The student only knows information learned during training.
  • They cannot directly access your company database.
  • They cannot open applications or perform actions on their own.

Example:
Ask an LLM:

"Generate Playwright test cases for a login page."

The LLM can create the test cases, but it cannot actually execute them.


Step 2: AI Agent – The Student with Hands and Feet πŸ€–

An AI Agent is an LLM equipped with the ability to take actions.

Instead of just answering questions, it can:

  • Search documents
  • Call APIs
  • Execute scripts
  • Interact with applications
  • Make decisions based on results

Think of it as:

LLM + Tools + Memory + Reasoning = AI Agent

Example for SDETs:

An AI Test Agent can:

  1. Read requirements.
  2. Generate test cases.
  3. Create Playwright scripts.
  4. Execute tests.
  5. Analyze failures.
  6. Create defect reports automatically.

This moves from "answering" to "doing."


Step 3: MCP – The Universal Adapter πŸ”Œ

Now imagine the student needs access to multiple systems:

  • Jira
  • GitHub
  • Confluence
  • Databases
  • Test environments

Without a standard interface, the student would need a different process for each system.

This is where MCP comes in.

What is MCP?

MCP (Model Context Protocol) is a standard way for AI models to connect with external tools and data sources.

Think of MCP as:

"USB-C for AI"

Just as one USB-C cable can connect many devices, MCP allows AI Agents to connect to many tools using a common protocol.


Real-Life Example for an SDET

Suppose a new user story arrives in Jira.

Traditional Process

  1. Read Jira story.
  2. Understand requirements.
  3. Write test cases.
  4. Create automation scripts.
  5. Execute tests.
  6. Report bugs.

AI Agent + MCP Process

  1. Agent reads Jira story through MCP.
  2. Fetches related Confluence documents.
  3. Generates test cases.
  4. Creates Playwright automation.
  5. Executes tests.
  6. Analyzes failures.
  7. Creates Jira defects automatically.
  8. Sends summary to Teams/Slack.

The engineer reviews and approves.

Result:

  • Faster delivery
  • Reduced manual effort
  • Improved productivity


Example: AI Test Architect

This is a practical project every SDET can build to showcase AI skills.

Features

✅ Upload requirements

✅ Generate test cases

✅ Generate Playwright scripts

✅ Generate API tests

✅ Detect flaky tests

✅ Generate performance scenarios

✅ Test impact analysis

✅ MCP integration with Jira, GitHub, Confluence

Suggested Tech Stack

  • Python
  • FastAPI
  • LangChain
  • OpenAI APIs
  • Playwright
  • PostgreSQL
  • Docker
  • MCP Servers

Why SDETs Should Learn This

The future of testing is shifting from:

❌ Manual execution

❌ Tool-specific expertise

To:

✅ Problem solving

✅ AI-assisted automation

✅ Agentic workflows

✅ Intelligent quality engineering

The most valuable engineers in the coming years will not be those who know the most tools, but those who know how to combine LLMs, AI Agents, and MCP to solve real business problems.


Final Thoughts

Think of it this way:

  • LLM = Brain
  • AI Agent = Brain + Actions
  • MCP = Bridge to the Outside World

Together they create intelligent systems capable of understanding, reasoning, and acting across multiple applications with minimal human intervention.

As SDETs and Quality Engineers, now is the perfect time to start experimenting with AI Agents and MCP-powered testing solutions.