> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qa.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Chat Assistant

> Natural language interface for managing your QA.tech projects

The AI Chat Assistant is your intelligent testing companion, built directly into the QA.tech platform. It uses natural language processing to help you manage tests, analyze your application, and get QA guidance without clicking through menus.

You can access the chat assistant by clicking the chat icon in your project dashboard. Just describe what you want to do in plain English, and the assistant will use its 20+ specialized tools to help you accomplish your goal.

## Quick Start Examples

| What you want | Ask this | What happens |
| - | - | - |
| Create tests for a feature | "Generate 5 tests for the checkout flow" | Shows suggestions you can review, edit, and add |
| Run tests | "Run the login test" | Starts in background, notifies when complete |
| Edit a test | "Add a logout step to the checkout test" | Shows visual diff for approval, then validates |
| Use existing tests as templates | "Create tests for returns similar to my checkout tests" | Analyzes your checkout tests' structure and applies the pattern |
| Crawl behind authentication | "Crawl admin panel from the Login test" | Uses login test's session - no re-authentication needed |
| Bulk edit multiple tests | "Add logout step to all checkout tests" | Edits multiple tests at once, shows individual diffs to review |
| Skip repetitive setup | "Make this test resume from Login" | Inherits browser state, cookies, and session from another test |
| Search tracker issues | "Find Linear issues about checkout" | Searches your connected Linear or Jira for matching issues |
| Create a tracker issue | "Create a Jira ticket for the broken nav menu" | Creates a new issue in your connected Linear team or Jira project |

## Core Workflows

### Creating Tests

Ask the assistant to generate tests for specific flows or features. It will suggest test cases that you can review, edit, or accept.

> "Generate 5 tests for the checkout flow"

> "Create a test that validates user registration with email verification"

You can also provide the assistant with a set of test cases (as text, a document, or by referencing existing tests) and have it create new tests or update current ones based on those examples.

> "Create tests for the returns flow similar to my checkout tests"

> "Here are my test cases: \[paste list]. Generate tests based on these patterns or update current ones"

The assistant analyzes your application's [knowledge graph](https://docs.qa.tech/core-concepts/knowledge-graph.md) and any examples you provide to suggest relevant tests. Tests appear as interactive suggestions - click "Add Selected Tests" to commit them to your project.

### Running Tests

Ask the assistant to run tests and you'll be notified when they complete.

> "Run the login test"

> "Execute all checkout tests against the staging environment"

**What happens:** The assistant validates your test cases, starts execution in the background, and you'll see results when the run completes. Test runs typically take a few minutes depending on complexity.

### Accessing Test Run Results

The assistant can access detailed step-by-step results for test runs, but with an important limitation:

**What the assistant CAN access:**

* Detailed step-by-step results (screenshots, actions, step descriptions) for test runs it triggered in the current chat conversation
* Action logs showing what happened during test execution
* Visual evidence of test steps and outcomes

**What the assistant CANNOT access yet:**

* Runs triggered from the UI dashboard
* Runs triggered via API
* Scheduled test plan runs
* Runs from previous chat conversations
* Runs by run ID or test case ID (only runs linked to the current conversation)

**How it works:** When you ask the assistant to run tests in chat, it creates a link between the chat conversation and the test run. After the run completes, you can ask questions like "What happened in that test run?" or "Show me screenshots from the failed steps" and the assistant will retrieve detailed action logs and screenshots from that specific run.

If you need to analyze runs triggered outside of chat (from the UI, API, or scheduled plans), use the [Test Results dashboard](https://docs.qa.tech/core-concepts/tests-and-results.md) instead.

### Editing Existing Tests

Describe changes to tests in natural language. The assistant shows a visual diff for you to review before applying.

> "Change step 3 to wait for the spinner first"

> "Add verification that the success message appears"

> "Make this test resume from my Login test"

After you approve changes, the test runs automatically to validate the updates. See [Creating Tests](https://docs.qa.tech/best-practices/creating-tests.md#refine-tests-via-chat) for more editing examples.

### Analyzing Your Application

Ask the assistant to crawl and analyze your site to expand its knowledge of your application's features.

> "Crawl my admin panel"

> "Analyze the checkout flow to find features I should test"

The assistant can start from a specific URL or resume from a test's output state (useful for authenticated areas). Results include screenshots and discovered interactions. See [Crawling Sessions](https://docs.qa.tech/core-concepts/crawling.md) for configuration details.

## Make the Assistant More Effective

The assistant understands context and can handle follow-up questions, so you can have natural back-and-forth conversations about your testing needs. It relies on [Crawling](https://docs.qa.tech/core-concepts/crawling.md), [tests](https://docs.qa.tech/core-concepts/tests-and-results.md), and Knowledge for context gathering.

> [!NOTE]
>
> **Add Knowledge to improve test creation**: The Chat Assistant works best when it understands your application. Add documentation URLs, project context, and domain-specific information to your [Knowledge Base](https://docs.qa.tech/core-concepts/knowledge.md) so the assistant can provide more accurate test suggestions and better understand your unique workflows.
>
> The assistant automatically searches your knowledge base and [knowledge graph](https://docs.qa.tech/core-concepts/knowledge-graph.md) when generating tests and answering questions, giving you context-aware responses tailored to your specific application.
>
> **Note:** Knowledge and the knowledge graph are used when creating tests through chat, but not during test execution. When tests run, the agent only uses the test's goal, steps, and a targeted subset of knowledge - [Agent Rules](https://docs.qa.tech/core-concepts/knowledge.md#rules), Agent Visuals, the Project Summary, and any knowledge items attached to the test - to navigate and verify results.

## Uploading Files and Documents

You can upload files directly into chat to give the assistant additional context for test creation.

**Supported Formats:**

| Format | How It's Processed |
| - | - |
| **PDF** | Text and images are both extracted and understood |
| **Images** (PNG, JPEG, GIF, WebP) | Analyzed visually by the AI |
| **Text files** | Content is read and used as context |

**PDF Processing:**

When you upload a PDF, the AI reads both the text content and any images, diagrams, or screenshots within the document. This means you can upload:

* Product specifications with annotated screenshots
* Design documents with wireframes
* Requirements documents with flowcharts
* Bug reports with visual evidence

The AI understands the full content, not just the text.

**Context Persistence:**

* Files remain available throughout your chat conversation
* You can reference uploaded content in follow-up messages
* Very long conversations may compress older file content to stay within limits, but recent uploads are always fully available

**When to Upload to Chat vs Project Knowledge:**

| Upload to Chat | Add to Project Knowledge |
| - | - |
| Experimental specs | Official documentation |
| PR descriptions | Stable requirements |
| One-time references | Compliance guidelines |
| Work in progress | Permanent product rules |

Files uploaded in chat are isolated to that conversation - other team members cannot see them. For shared documentation, use [Project Knowledge](https://docs.qa.tech/core-concepts/knowledge.md) instead.

## What Can You Do with the Chat Assistant

**Test Management**

The assistant can list your existing [tests](https://docs.qa.tech/core-concepts/tests-and-results.md), generate new test cases based on your requirements, run tests in the background, and fetch detailed information about specific tests including their steps, [configurations](https://docs.qa.tech/core-concepts/configs.md), and [dependencies](https://docs.qa.tech/core-concepts/dependencies.md). It understands test scenarios (grouping folders) and [test plans](https://docs.qa.tech/core-concepts/test-plans.md), making it easy to organize and trigger your test suite. You can also edit existing tests through conversation - describe changes, review a visual diff, and apply with one click.

**Application Analysis**

It can crawl and analyze your website to discover features, search through the [knowledge graph](https://docs.qa.tech/core-concepts/knowledge-graph.md) to find specific functionality from previous crawls, and search your project's [knowledge base](https://docs.qa.tech/core-concepts/knowledge.md). This helps the assistant provide context-aware suggestions tailored to your application.

**Configuration Management**

The assistant can show you what [configurations](https://docs.qa.tech/core-concepts/configs.md) are available in your project, help you create new configurations for credentials and test data, and display interactive forms right in the chat to collect configuration details. It supports config types like username/password, username/password with 2FA, file uploads, API keys, and API calls.

**Issue Tracking**

If you have [Linear](https://docs.qa.tech/integrations/linear.md) or [Jira](https://docs.qa.tech/integrations/jira.md) connected, the assistant can search for issues by keyword, fetch a specific issue by key (e.g. `PROJ-42`), list recent issues, and create new ones in your configured team or project. For Jira, it reads title, description, status, assignee, priority, issue type, and labels from your configured project — see [Jira integration](https://docs.qa.tech/integrations/jira.md) for what is and is not read. Jira users can also filter by issue type such as Epic, Bug, Story, or Task. If both integrations are connected, mention which tracker you want (e.g. "search **Jira**"); otherwise the assistant defaults to Linear.

**Help & Support**

The assistant can search QA.tech's documentation to answer questions about platform features and capabilities, and provide you with contact information for customer support when you need help beyond what the AI can provide.

**Safe Experimentation**

Tests generated in chat aren't committed until you explicitly click "Add Selected Tests" - you can review, edit, or reject them without affecting your project. Files uploaded in chat are isolated to that conversation only, so you can experiment freely without impacting teammates. See [How Knowledge Works](https://docs.qa.tech/core-concepts/knowledge.md#how-knowledge-works) for details on chat isolation and when to move knowledge to your project.

## How the Assistant Adapts

The Chat Assistant automatically adjusts its approach based on what you're trying to accomplish:

| When you ask to... | The assistant will... |
| - | - |
| Create or suggest tests | Prioritize revenue-critical flows first (checkout, payments, bookings), then secondary features |
| Run tests | Validate test cases, start execution in background, notify you when complete |
| Analyze your site | Crawl pages, discover features, build understanding of your application |
| Edit existing tests | Show visual diffs for approval, then run tests to validate changes |

You don't need to specify how - just describe what you want naturally and the assistant handles the details.

## What the Assistant Can Access

The assistant has access to your project's data and can perform actions on your behalf:

| Capability | What it can do |
| - | - |
| **Tests** | List, inspect, create, edit, and run your test cases |
| **Site Analysis** | Crawl pages, discover features, search what it learned |
| **Configurations** | View existing configs, create new ones, show forms for credential input |
| **Knowledge** | Search your project's knowledge base and QA.tech documentation |
| **Source code** | Search mapped [GitHub](https://docs.qa.tech/configuration/github-app.md#code-access) or [GitLab](https://docs.qa.tech/pr-testing/gitlab.md#code-access) repositories when code access is enabled |
| **Project Info** | Access applications, environments, device presets, test plans |
| **Issue Trackers** | Search, fetch, and create issues in connected [Linear](https://docs.qa.tech/integrations/linear.md) or [Jira](https://docs.qa.tech/integrations/jira.md) |
| **Support** | Connect you with customer support when needed |

## Custom MCP servers

Custom MCP servers let the AI chat use tools from services you already work with. You connect a remote [MCP](https://modelcontextprotocol.io) server, choose which of its tools the chat agent may use, and the agent picks them up alongside its built-in tools. Ask it to sync test cases, look up records, or file items in your other systems, and it calls your server's tools to do it.

> [!NOTE]
>
> This is the reverse direction of the [MCP Server](https://docs.qa.tech/integrations/mcp.md)
> integration. That one lets your AI editor call QA.tech. This one lets the
> QA.tech chat call your services.

> [!NOTE]
>
> For TestRail and Xray specifically, you do not need a Custom MCP server. Use
> the built-in [TestRail](https://docs.qa.tech/integrations/testrail.md) and [Xray](https://docs.qa.tech/integrations/xray.md)
> integrations instead. Reach for Custom MCP to connect any other MCP server,
> whether you host it yourself or point at a hosted one.

### Set it up

**1. Add a server**

Go to **Settings → Integrations → Custom MCP Integrations** and click **Add
server**. Give it a name and enter the server URL, which must be a
Streamable HTTP MCP endpoint reachable over HTTPS.

**2. Choose authentication**

**OAuth** is the default: after saving, you sign in to the service in your
browser and QA.tech handles the rest — no keys to paste. See [OAuth](#oauth)
below for how it works. If your server uses static credentials instead, pick
**Bearer token or API key** and paste the credential your server expects. It
is sent as an `Authorization: Bearer` header on every request and stored
encrypted. Servers without authentication are also supported, and you can
add extra headers such as `X-Api-Key` under **Additional headers** if your
server needs them.

**3. Test the connection**

Click **Test connection**. QA.tech connects to the server, lists its tools,
and shows each one with a permission control.

**4. Set tool permissions**

Decide per tool whether the chat agent may use it freely, must ask you
first, or may not use it at all. New tools default to **Needs approval**.

**5. Use it in chat**

Open the project chat and ask for something the tools can do, for example
"look up the TestRail cases for the checkout suite". Enabled tools are
available to the agent automatically.

### OAuth

Many MCP servers do not issue static API keys and instead use OAuth — the
same flow as a "Sign in with ..." button. QA.tech implements the
[MCP authorization specification](https://modelcontextprotocol.io/specification/2025-06-18/basic/authorization),
so connecting is fully automatic:

* **No configuration.** QA.tech discovers the server's OAuth settings and
  registers itself as a client. You never enter endpoints or client IDs.
* **Browser sign-in.** **Add and connect** (or **Connect** on the server card)
  sends you to the service's own sign-in page, and back to QA.tech when you
  approve. Your password never passes through QA.tech.
* **Automatic refresh.** Tokens are stored encrypted and refreshed in the
  background. You only sign in again if the service revokes access — the
  server card then shows **OAuth not connected**.

**Reconnect** on the server card repeats the sign-in at any time. Changing the
server URL resets the connection, since the stored tokens only apply to the
original server. The service's authorization server must support automatic
client registration; most MCP servers do, and QA.tech shows a clear error when
one does not.

#### Who connects

OAuth servers ask **who connects**:

* **Each member connects their own account** (the default). Tools run with
  each person's own permissions in the connected service, so nobody acts
  through a teammate's account. When a member opens a chat before connecting,
  a banner above the message box asks them to sign in — one click, the
  service's sign-in page, and straight back to the chat. If a connection
  stops working mid-conversation (for example after a password change), the
  failed tool call shows a **Reconnect** button right in the chat.
* **Everyone shares one connection.** One account — typically a service
  account — is used for the whole project. Whoever clicks Connect provides
  it. Pick this for servers where individual identity doesn't matter.

The server card in settings shows your own connection state for personal
servers ("connected as you") and how many members have connected. Switching
between the two modes signs everyone out of that server.

### Tool permissions

Every tool runs with the permission you assign. The server-level default
applies to tools that appear later, so a server update never silently gains
unrestricted access.

| Permission | Behavior |
| - | - |
| Allowed | The agent calls the tool without asking. |
| Needs approval | The chat shows an approval card before each call. Approve or deny it directly in the chat. |
| Denied | The tool is hidden from the agent entirely. |

An approval request expires after 4 minutes. If you deny it or let it expire,
the tool is not executed and the agent is told the call was not permitted.

### Requirements and limits

| Requirement | Value |
| - | - |
| Transport | Streamable HTTP (stdio-only servers are not supported) |
| URL | HTTPS, reachable from the internet, not a private network address |
| Auth | OAuth (recommended), bearer token, API key, or custom headers |

| Limit | Value |
| - | - |
| Servers per project | 8 |
| Tools per server | 40 |
| Tools across all servers | 60 |
| Headers per server | 16 |
| Header value length | 4,096 characters |

If a server exposes more tools than the limit, the extra tools are skipped.

### Security

* Credentials are stored encrypted and are never shown again after saving. Editing a server keeps the stored values unless you enter new ones.
* OAuth uses the standard authorization-code flow with PKCE. Tokens and the client registration are stored encrypted, and access tokens are refreshed automatically. Signing in happens on the service's own pages, so QA.tech never sees your password.
* Server URLs must resolve to public addresses. Private and internal network ranges are blocked, and redirects are followed at most 5 times with the same checks on every hop.
* Tool output is treated as untrusted input: the agent is instructed not to follow instructions embedded in it.
* An unreachable or misconfigured server never breaks the chat. Its tools are simply unavailable for that conversation. Run **Test connection** to see the error.

### Troubleshooting

| Symptom | Likely cause |
| - | - |
| Test connection fails | The URL is not a Streamable HTTP MCP endpoint, or the credential is wrong. Check both and retest. |
| "The server URL must use https" | Only HTTPS endpoints are accepted. Expose the server behind TLS. |
| A tool never shows up in chat | Its permission is **Denied**, or the server is disabled. Check the toggle and per-tool permissions. |
| Tools changed after a server update | Run **Test connection** again to refresh the tool list, then review permissions for new tools. |
| The card shows **OAuth not connected** | The sign-in was never completed, or the service revoked access. Click **Connect** to sign in again. |
| "does not support automatic client registration" | The service's authorization server lacks dynamic client registration. Use a bearer token or API key instead, or ask the vendor to enable it. |
| Chat says tools need authentication | The server uses personal connections and you haven't signed in yet. Use the banner above the message box, or Connect on the server card in settings. |

For anything else, [contact support](https://qa.tech/contact).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.