# LambdaTest MCP for AI Agents AI Agent Connect

> LambdaTest MCP lets you manage cross-browser testing and build monitoring through your AI client. It connects your account so you can check test results, view session recordings, and pull automation logs using plain English. It's designed for QA teams and developers who need to stay on top of test builds without constantly switching tabs to a dashboard.

## Overview
- **Category:** developer-tools
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_4JlG89G0mrRFQv1NEMOe3quOG8MUgnbaUJbJ9Hdc/ai-agent-connect
- **Tags:** cross-browser-testing, automated-testing, test-automation, session-recording, build-monitoring, qa-testing

## Description

This Connector lets you manage cross-browser testing and build monitoring through your AI agent. Instead of jumping between browser tabs to check if your latest build passed on Safari or Chrome, you can just ask your AI client to do the heavy lifting. This connection gives your agent a direct line to your account. You can have it pull the latest test results, identify which specific browsers are failing, and grab the execution logs for any build that hits a snag. If a test fails, you can ask for the session details to see the screenshots and recordings immediately. It turns your AI into a QA coordinator that knows exactly what's happening across your entire testing suite. By adding this to the Vinkius catalog, you're making it easy to keep your release cycle moving without the manual overhead of navigating complex testing dashboards every few minutes. You get a clear picture of your test coverage and health just by talking to your agent.

## Tools

### get_build_details
Get the metadata for a specific build. Use this to see the overall status of a test suite.

### get_test_logs
Retrieve the execution logs for a test. This helps you find the exact line where an automation script failed.

### get_session_details
Get the metadata for a test run. Use this to quickly find the browser and OS used in a session.

### list_automation_builds
List all your LambdaTest builds. You can filter these by status to find recent failures.

### list_supported_platforms
List all available OS and browser combinations. Use this to see what environments you can test on.

### list_test_sessions
List individual test runs. You can filter these by build ID to see every attempt in a suite.

### update_session_status
Set the outcome of a test. Use this to manually mark a test as passed or failed.

## Prompt Examples

**Prompt:** 
```
Did the last build pass on all browsers?
```

**Response:** 
```
### Build #104 Status

| Browser | OS | Status |
| :--- | :--- | :--- |
| **Chrome** | Windows 11 | ✅ Pass |
| **Firefox** | macOS | ✅ Pass |
| **Safari** | iOS | ❌ Failed |
| **Edge** | Windows 11 | ✅ Pass |

**Quick Summary:**
- **Total Tests:** 45
- **Pass Rate:** 91%
- **Failure:** Safari detected a 'button not clickable' error on the checkout page.
```

**Prompt:** 
```
Show me the logs for the failed login test.
```

**Response:** 
```
### Execution Logs: Login_Test_01

- **Step 1:** Page loaded successfully.
- **Step 2:** Username entered.
- **Step 3:** Password entered.
- **Step 4:** Click 'Login' button.

❌ **Error:** `TimeoutException: Element '#submit-btn' not found after 10 seconds.`

**Console Output:**
`Uncaught TypeError: Cannot read property 'value' of null` at login.js:42
```

**Prompt:** 
```
What browsers can we test on for our new mobile site?
```

**Response:** 
```
You can test on the following combinations:

**iOS:**
- Safari (latest)
- Chrome on iOS

**Android:**
- Chrome
- Samsung Internet

**Desktop Browsers:**
- Chrome (v118-124)
- Firefox (v115-121)
- Safari (v16-17)
- Edge (v118-124)
```

## Capabilities

### Check build status
See if your latest automation builds passed or failed.

### Pull execution logs
Get the raw data from a test run to debug errors.

### View session details
See screenshots and recordings for specific test runs.

### List test platforms
See which browser and OS combinations are available.

### Update test outcomes
Manually set the status of a test run.

### Track build metadata
Get specific details on any given build.

### List automation builds
Browse all your builds with status filters.

## Use Cases

### A build fails on Safari but passes everywhere else
Ask your agent to list_test_sessions for the latest build and find the specific Safari failure in seconds.

### A developer needs to know why a button click failed
Use get_test_logs to see the exact timeout or element error without digging through the dashboard.

### A lead needs to know what browsers are supported
Call list_supported_platforms to get a full list of available OS and browser combinations for a new project.

### Checking the pass rate of recent builds
Have the agent list_automation_builds and summarize the pass rates for the last 5 builds.

## Benefits

- Stop manual tab switching by using list_automation_builds to see all your test statuses in one place.
- Debug faster with get_test_logs which lets your agent pull the exact error messages from a failed run.
- See visual evidence of bugs using get_session_details to grab screenshots and video recordings instantly.
- Plan your test coverage better by using list_supported_platforms to see every available browser and OS.
- Keep your records clean by using update_session_status to mark manual test results without leaving your chat.
- Get a high-level view of your project's health by asking your agent to summarize list_test_sessions across multiple builds.

## How It Works

The bottom line is you stop hunting through dashboards and start getting answers through conversation.

1. Subscribe to the LambdaTest MCP.
2. Provide your LambdaTest Username and Access Key.
3. Ask your AI client to list builds or check test results.

## Frequently Asked Questions

**Can the LambdaTest MCP help me see my test results?**
Yes, it lets your agent list your recent builds and show you the pass and fail rates for each one.

**How do I get logs from a failed test?**
You can just ask your agent to pull the logs for a specific test session to see exactly where the script failed.

**Can I see screenshots of my tests?**
Yes, the Connector can grab session details including screenshots and video recordings so you can see the bug in action.

**Does the LambdaTest MCP work with my current account?**
Yes, it connects directly to your account using your existing username and access key.

**Can I use this to see which browsers are supported?**
You can ask your agent to list all available OS and browser combinations to plan your testing coverage.

**Can I update test results manually?**
Yes, you can use the Connector to set the outcome of a test run via your AI client instead of using the dashboard.

**Can I view test builds and session results?**
Yes. List all builds with pass/fail counts, browse individual sessions with screenshots, video recordings, and detailed execution logs.

**Does LambdaTest use Basic Auth?**
Yes. LambdaTest uses **HTTP Basic Auth** with your Username and Access Key (Base64 encoded) against `api.lambdatest.com/automation/api/v1`.

**Can I browse available browser and OS combinations?**
Yes. Access the full list of supported browsers, versions, and operating systems for cross-browser testing.