Manage tests in BrowserStack Test Management with the MCP server
Manage your entire testing lifecycle in BrowserStack Test Management using simple, natural language commands with the BrowserStack MCP server.
The BrowserStack MCP server brings BrowserStack Test Management directly into your IDE, letting you manage your entire testing lifecycle with simple prompts.
You can use your AI coding assistant including GitHub Copilot, Claude, and Cursor to create test cases, run tests, and view results without ever switching context. This gives you direct access to BrowserStack’s powerful testing infrastructure from right where you code
To use Test Management tools on the BrowserStack MCP server, you need a BrowserStack Test Management license. Contact BrowserStack support support to enable a license for your account.
Tool reference
Use these example prompts to interact with BrowserStack Test Management from your AI assistant. The prompt calls the corresponding MCP server tool to execute the action. You can verify the calling of the tool in the logs of the MCP server.
The MCP server logs all tool invocations. For example, the prompt Create a new Test Management project named ‘Shopping App’ with two folders - Login and Checkout
maps to the createProjectOrFolder
tool, and its execution can be confirmed by observing the corresponding log entry from the server.
Example Prompt | Description | Invoked Tool |
---|---|---|
Create a new Test Management project named ‘Shopping App’ with two folders - Login and Checkout | Creates a project or folder to structure your testing hierarchy. Returns: Folder ID, Project ID, and a link to the project dashboard. |
createProjectOrFolder |
Add a test case named ‘Invalid Login Scenario’ to the Login folder in the ‘Shopping App’ project with PR-53617, Folder ID: 117869 | Creates a manual test case within a specified folder. Requires:<ul><li>Project ID (e.g., PR-53617)</li><li>Folder ID</li></ul>Returns: Test Case ID and a link to the test case. |
createTestCase |
List all high-priority test cases in the ‘Shopping App’ project with project_identifier: “PR-59457” | Lists test cases in a specified project. Supports optional filtering by status, priority, or custom tags. | listTestCases |
Create a test run for the Login folder in the ‘Shopping App’ project and name it ‘Release v1.0 Login Flow’ | Creates a test run, which is a collection of test cases to be executed as a suite. | createTestRun |
List all test runs from the ‘Shopping App’ project that were executed last week and are currently marked in-progress | Lists all test runs for a given project. Supports filtering by date range, assignee, or state (e.g., in-progress). | listTestRuns |
Update test run ID 1043 in the ‘Shopping App’ project and mark it as complete with the note ‘Regression cycle done’ | Updates specific fields of an existing test run, such as status, tags, or notes. Requires:<ul><li>Project identifier</li><li>Test Run ID</li></ul> |
updateTestRun |
Mark the test case ‘Invalid Login Scenario’ as passed in test run ID 1043 of the ‘Shopping App’ project | Adds a test result (e.g., passed, failed, blocked) to a specific test case within a test run. | addTestResult |
Upload test cases from ‘/Users/usrname/testcases.pdf’ to the ‘Shopping App’ project in Test Management | Creates test cases in bulk by uploading a file (e.g., PDF, CSV). Ideal for large-scale test case migration. | createTestCasesFromFile |
More example prompts
Here are a few more examples of how you can use natural language to manage your testing workflow with BrowserStack Test Management and the MCP server:
Goal | Example Prompt |
---|---|
Create project & folder structure | create new Test management project named My Demo Project with two sub folders - Login & Checkout |
Add test cases | add invalid login test case in Test Management project named My Demo Project |
List added test cases | list high priority Login test cases from Test Management project - My Demo Project |
Create test run | create a test run for Login tests from Test Management project - My Demo Project |
Update test results | update test results as passed for Login tests test run from My Demo Project |
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!