Skip to content

Commit d3dfa91

Browse files
update
1 parent 253a5f3 commit d3dfa91

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,8 @@ Sample Prompts:
4747

4848
## Recommended MCP Clients
4949
* BrowserStack MCP Server has been tested thoroughly on Claude Desktop and Cursor.
50-
* For use cases involving code modifications we recommend using Cursor.
50+
* For use cases involving code modifications we recommend using Cursor.
51+
52+
## Caveats
53+
* BrowserStack MCP Server is under active development and only supports a subset of the MCP protocol, so please reach out to us in case you run into any issues.
54+
* Due to non-deterministic nature of LLMs, the MCP Client may or may not always invoke the correct tools required to complete the task. We are working on improving this, if you have any suggestions please reach out to us.

src/tools/bstack-sdk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ async function bootstrapProjectWithSDK({
4747

4848
export default function addSDKTools(server: McpServer) {
4949
server.tool(
50-
"bootStrapProjectWithSDK",
51-
"Get configuration instructions for setting up a project with BrowserStack SDK. Use this to run tests on BrowserStack in case there is no browserstack.yml file in the project root",
50+
"runTestsOnBrowserStack",
51+
"Use this tool to get instructions for running tests on BrowserStack.",
5252
{
5353
detectedBrowserAutomationFramework: z
5454
.string()

src/tools/observability.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ export async function getFailuresInLastRun(
1111

1212
const observabilityUrl = buildsData.observability_url;
1313
if (!observabilityUrl) {
14-
throw new Error("No observability URL found in build data, this is likely because the build is not yet available on BrowserStack Observability.");
14+
throw new Error(
15+
"No observability URL found in build data, this is likely because the build is not yet available on BrowserStack Observability.",
16+
);
1517
}
1618

1719
let overview = "No overview available";

src/tools/sdk-utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const SUPPORTED_CONFIGURATIONS: ConfigMapping = {
3737
playwright: {
3838
jest: { instructions: nodejsInstructions },
3939
codeceptjs: { instructions: nodejsInstructions },
40-
"playwright-test-runner": { instructions: nodejsInstructions },
40+
playwright: { instructions: nodejsInstructions },
4141
},
4242
selenium: {
4343
jest: { instructions: nodejsInstructions },

src/tools/sdk-utils/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export type SDKSupportedBrowserAutomationFramework = "playwright" | "selenium";
33
export type SDKSupportedTestingFramework =
44
| "jest"
55
| "codeceptjs"
6-
| "playwright-test-runner"
6+
| "playwright"
77
| "pytest"
88
| "robot"
99
| "behave"

0 commit comments

Comments
 (0)