@muggleai/mcp 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -712,55 +712,56 @@ function getCallerCredentials() {
712
712
  }
713
713
  function toolRequiresAuth(toolName) {
714
714
  const noAuthTools = [
715
- // Auth tools
716
- "muggle_auth_status",
717
- "muggle_auth_login",
718
- "muggle_auth_poll",
719
- "muggle_auth_logout",
715
+ // Auth tools (remote tools that don't require prior auth)
716
+ "muggle-remote-auth-status",
717
+ "muggle-remote-auth-login",
718
+ "muggle-remote-auth-poll",
719
+ "muggle-remote-auth-logout",
720
720
  // Local project tools (no cloud)
721
- "muggle_project_create",
722
- "muggle_project_list",
723
- "muggle_project_get",
724
- "muggle_project_update",
725
- "muggle_project_delete",
726
- "muggle_use_case_save",
727
- "muggle_use_case_list",
728
- "muggle_use_case_get",
729
- "muggle_use_case_update",
730
- "muggle_use_case_delete",
731
- "muggle_test_case_save",
732
- "muggle_test_case_list",
733
- "muggle_test_case_get",
734
- "muggle_test_case_update",
735
- "muggle_test_case_delete",
736
- "muggle_test_script_save",
737
- "muggle_test_script_list",
738
- "muggle_test_script_get",
739
- "muggle_test_script_delete",
740
- "muggle_execute_test_generation",
741
- "muggle_execute_replay",
742
- "muggle_cancel_execution",
743
- "muggle_check_status",
744
- "muggle_list_sessions",
745
- "muggle_cleanup_sessions",
746
- "muggle_get_page_state",
747
- "muggle_run_test",
748
- "muggle_explore_page",
749
- "muggle_execute_action",
750
- "muggle_get_screenshot",
751
- "muggle_run_result_list",
752
- "muggle_run_result_get",
753
- "muggle_secret_create",
754
- "muggle_secret_list",
755
- "muggle_secret_get",
756
- "muggle_secret_update",
757
- "muggle_secret_delete",
758
- "muggle_workflow_file_create",
759
- "muggle_workflow_file_list",
760
- "muggle_workflow_file_list_available",
761
- "muggle_workflow_file_get",
762
- "muggle_workflow_file_update",
763
- "muggle_workflow_file_delete"
721
+ "muggle-local-project-create",
722
+ "muggle-local-project-list",
723
+ "muggle-local-project-get",
724
+ "muggle-local-project-update",
725
+ "muggle-local-project-delete",
726
+ "muggle-local-use-case-save",
727
+ "muggle-local-use-case-list",
728
+ "muggle-local-use-case-get",
729
+ "muggle-local-use-case-update",
730
+ "muggle-local-use-case-delete",
731
+ "muggle-local-test-case-save",
732
+ "muggle-local-test-case-list",
733
+ "muggle-local-test-case-get",
734
+ "muggle-local-test-case-update",
735
+ "muggle-local-test-case-delete",
736
+ "muggle-local-test-script-save",
737
+ "muggle-local-test-script-list",
738
+ "muggle-local-test-script-get",
739
+ "muggle-local-test-script-delete",
740
+ "muggle-local-execute-test-generation",
741
+ "muggle-local-execute-replay",
742
+ "muggle-local-cancel-execution",
743
+ "muggle-local-check-status",
744
+ "muggle-local-list-sessions",
745
+ "muggle-local-cleanup-sessions",
746
+ "muggle-local-get-page-state",
747
+ "muggle-local-run-test",
748
+ "muggle-local-explore-page",
749
+ "muggle-local-execute-action",
750
+ "muggle-local-get-screenshot",
751
+ "muggle-local-run-result-list",
752
+ "muggle-local-run-result-get",
753
+ "muggle-local-secret-create",
754
+ "muggle-local-secret-list",
755
+ "muggle-local-secret-get",
756
+ "muggle-local-secret-update",
757
+ "muggle-local-secret-delete",
758
+ "muggle-local-workflow-file-create",
759
+ "muggle-local-workflow-file-list",
760
+ "muggle-local-workflow-file-list-available",
761
+ "muggle-local-workflow-file-get",
762
+ "muggle-local-workflow-file-update",
763
+ "muggle-local-workflow-file-delete",
764
+ "muggle-local-publish-test-script"
764
765
  ];
765
766
  return !noAuthTools.includes(toolName);
766
767
  }
@@ -3002,7 +3003,7 @@ var MUGGLE_TEST_PREFIX = "/v1/protected/muggle-test";
3002
3003
  var getWorkflowTimeoutMs = () => getConfig().qa.workflowTimeoutMs;
3003
3004
  var projectTools = [
3004
3005
  {
3005
- name: "qa_project_create",
3006
+ name: "muggle-remote-project-create",
3006
3007
  description: "Create a new QA testing project. Projects organize use cases, test cases, and test scripts.",
3007
3008
  inputSchema: ProjectCreateInputSchema,
3008
3009
  mapToUpstream: (input) => {
@@ -3019,7 +3020,7 @@ var projectTools = [
3019
3020
  }
3020
3021
  },
3021
3022
  {
3022
- name: "qa_project_get",
3023
+ name: "muggle-remote-project-get",
3023
3024
  description: "Get details of a specific project by ID.",
3024
3025
  inputSchema: ProjectGetInputSchema,
3025
3026
  mapToUpstream: (input) => {
@@ -3031,7 +3032,7 @@ var projectTools = [
3031
3032
  }
3032
3033
  },
3033
3034
  {
3034
- name: "qa_project_update",
3035
+ name: "muggle-remote-project-update",
3035
3036
  description: "Update an existing project's details.",
3036
3037
  inputSchema: ProjectUpdateInputSchema,
3037
3038
  mapToUpstream: (input) => {
@@ -3048,7 +3049,7 @@ var projectTools = [
3048
3049
  }
3049
3050
  },
3050
3051
  {
3051
- name: "qa_project_list",
3052
+ name: "muggle-remote-project-list",
3052
3053
  description: "List all projects accessible to the authenticated user.",
3053
3054
  inputSchema: ProjectListInputSchema,
3054
3055
  mapToUpstream: (input) => {
@@ -3061,7 +3062,7 @@ var projectTools = [
3061
3062
  }
3062
3063
  },
3063
3064
  {
3064
- name: "qa_project_delete",
3065
+ name: "muggle-remote-project-delete",
3065
3066
  description: "Delete a project and all associated entities. This is a soft delete.",
3066
3067
  inputSchema: ProjectDeleteInputSchema,
3067
3068
  mapToUpstream: (input) => {
@@ -3075,7 +3076,7 @@ var projectTools = [
3075
3076
  ];
3076
3077
  var useCaseTools = [
3077
3078
  {
3078
- name: "qa_use_case_discovery_memory_get",
3079
+ name: "muggle-remote-use-case-discovery-memory-get",
3079
3080
  description: "Get the use case discovery memory for a project, including all discovered use case candidates.",
3080
3081
  inputSchema: UseCaseDiscoveryMemoryGetInputSchema,
3081
3082
  mapToUpstream: (input) => {
@@ -3087,7 +3088,7 @@ var useCaseTools = [
3087
3088
  }
3088
3089
  },
3089
3090
  {
3090
- name: "qa_use_case_candidates_approve",
3091
+ name: "muggle-remote-use-case-candidates-approve",
3091
3092
  description: "Approve (graduate) selected use case candidates into actual use cases.",
3092
3093
  inputSchema: UseCaseCandidatesApproveInputSchema,
3093
3094
  mapToUpstream: (input) => {
@@ -3100,7 +3101,7 @@ var useCaseTools = [
3100
3101
  }
3101
3102
  },
3102
3103
  {
3103
- name: "qa_use_case_list",
3104
+ name: "muggle-remote-use-case-list",
3104
3105
  description: "List all use cases for a project.",
3105
3106
  inputSchema: UseCaseListInputSchema,
3106
3107
  mapToUpstream: (input) => {
@@ -3113,7 +3114,7 @@ var useCaseTools = [
3113
3114
  }
3114
3115
  },
3115
3116
  {
3116
- name: "qa_use_case_get",
3117
+ name: "muggle-remote-use-case-get",
3117
3118
  description: "Get details of a specific use case by ID.",
3118
3119
  inputSchema: UseCaseGetInputSchema,
3119
3120
  mapToUpstream: (input) => {
@@ -3125,7 +3126,7 @@ var useCaseTools = [
3125
3126
  }
3126
3127
  },
3127
3128
  {
3128
- name: "qa_use_case_prompt_preview",
3129
+ name: "muggle-remote-use-case-prompt-preview",
3129
3130
  description: "Preview a use case generated from a natural language instruction without saving.",
3130
3131
  inputSchema: UseCasePromptPreviewInputSchema,
3131
3132
  mapToUpstream: (input) => {
@@ -3138,7 +3139,7 @@ var useCaseTools = [
3138
3139
  }
3139
3140
  },
3140
3141
  {
3141
- name: "qa_use_case_create_from_prompts",
3142
+ name: "muggle-remote-use-case-create-from-prompts",
3142
3143
  description: "Create one or more use cases from natural language instructions.",
3143
3144
  inputSchema: UseCaseCreateFromPromptsInputSchema,
3144
3145
  mapToUpstream: (input) => {
@@ -3151,7 +3152,7 @@ var useCaseTools = [
3151
3152
  }
3152
3153
  },
3153
3154
  {
3154
- name: "qa_use_case_update_from_prompt",
3155
+ name: "muggle-remote-use-case-update-from-prompt",
3155
3156
  description: "Update an existing use case by regenerating its fields from a new instruction.",
3156
3157
  inputSchema: UseCaseUpdateFromPromptInputSchema,
3157
3158
  mapToUpstream: (input) => {
@@ -3166,7 +3167,7 @@ var useCaseTools = [
3166
3167
  ];
3167
3168
  var testCaseTools = [
3168
3169
  {
3169
- name: "qa_test_case_list",
3170
+ name: "muggle-remote-test-case-list",
3170
3171
  description: "List test cases for a project.",
3171
3172
  inputSchema: TestCaseListInputSchema,
3172
3173
  mapToUpstream: (input) => {
@@ -3179,7 +3180,7 @@ var testCaseTools = [
3179
3180
  }
3180
3181
  },
3181
3182
  {
3182
- name: "qa_test_case_get",
3183
+ name: "muggle-remote-test-case-get",
3183
3184
  description: "Get details of a specific test case.",
3184
3185
  inputSchema: TestCaseGetInputSchema,
3185
3186
  mapToUpstream: (input) => {
@@ -3191,7 +3192,7 @@ var testCaseTools = [
3191
3192
  }
3192
3193
  },
3193
3194
  {
3194
- name: "qa_test_case_list_by_use_case",
3195
+ name: "muggle-remote-test-case-list-by-use-case",
3195
3196
  description: "List test cases for a specific use case.",
3196
3197
  inputSchema: TestCaseListByUseCaseInputSchema,
3197
3198
  mapToUpstream: (input) => {
@@ -3203,7 +3204,7 @@ var testCaseTools = [
3203
3204
  }
3204
3205
  },
3205
3206
  {
3206
- name: "qa_test_case_generate_from_prompt",
3207
+ name: "muggle-remote-test-case-generate-from-prompt",
3207
3208
  description: "Generate test cases from a natural language prompt. Returns preview test cases.",
3208
3209
  inputSchema: TestCaseGenerateFromPromptInputSchema,
3209
3210
  mapToUpstream: (input) => {
@@ -3216,7 +3217,7 @@ var testCaseTools = [
3216
3217
  }
3217
3218
  },
3218
3219
  {
3219
- name: "qa_test_case_create",
3220
+ name: "muggle-remote-test-case-create",
3220
3221
  description: "Create a new test case for a use case.",
3221
3222
  inputSchema: TestCaseCreateInputSchema,
3222
3223
  mapToUpstream: (input) => {
@@ -3245,7 +3246,7 @@ var testCaseTools = [
3245
3246
  ];
3246
3247
  var testScriptTools = [
3247
3248
  {
3248
- name: "qa_test_script_list",
3249
+ name: "muggle-remote-test-script-list",
3249
3250
  description: "List test scripts for a project.",
3250
3251
  inputSchema: TestScriptListInputSchema,
3251
3252
  mapToUpstream: (input) => {
@@ -3258,7 +3259,7 @@ var testScriptTools = [
3258
3259
  }
3259
3260
  },
3260
3261
  {
3261
- name: "qa_test_script_get",
3262
+ name: "muggle-remote-test-script-get",
3262
3263
  description: "Get details of a specific test script.",
3263
3264
  inputSchema: TestScriptGetInputSchema,
3264
3265
  mapToUpstream: (input) => {
@@ -3270,7 +3271,7 @@ var testScriptTools = [
3270
3271
  }
3271
3272
  },
3272
3273
  {
3273
- name: "qa_test_script_list_paginated",
3274
+ name: "muggle-remote-test-script-list-paginated",
3274
3275
  description: "List test scripts with full pagination support.",
3275
3276
  inputSchema: TestScriptListPaginatedInputSchema,
3276
3277
  mapToUpstream: (input) => {
@@ -3285,7 +3286,7 @@ var testScriptTools = [
3285
3286
  ];
3286
3287
  var workflowTools = [
3287
3288
  {
3288
- name: "qa_workflow_start_website_scan",
3289
+ name: "muggle-remote-workflow-start-website-scan",
3289
3290
  description: "Start a website scan workflow to discover use cases from a URL.",
3290
3291
  inputSchema: WorkflowStartWebsiteScanInputSchema,
3291
3292
  mapToUpstream: (input) => {
@@ -3305,7 +3306,7 @@ var workflowTools = [
3305
3306
  }
3306
3307
  },
3307
3308
  {
3308
- name: "qa_workflow_list_website_scan_runtimes",
3309
+ name: "muggle-remote-workflow-list-website-scan-runtimes",
3309
3310
  description: "List website scan workflow runtimes.",
3310
3311
  inputSchema: WorkflowListRuntimesInputSchema,
3311
3312
  mapToUpstream: (input) => {
@@ -3318,7 +3319,7 @@ var workflowTools = [
3318
3319
  }
3319
3320
  },
3320
3321
  {
3321
- name: "qa_workflow_get_website_scan_latest_run",
3322
+ name: "muggle-remote-workflow-get-website-scan-latest-run",
3322
3323
  description: "Get the latest run status for a website scan workflow runtime.",
3323
3324
  inputSchema: WorkflowGetLatestRunInputSchema,
3324
3325
  mapToUpstream: (input) => {
@@ -3330,7 +3331,7 @@ var workflowTools = [
3330
3331
  }
3331
3332
  },
3332
3333
  {
3333
- name: "qa_workflow_start_test_case_detection",
3334
+ name: "muggle-remote-workflow-start-test-case-detection",
3334
3335
  description: "Start a test case detection workflow to generate test cases from use cases.",
3335
3336
  inputSchema: WorkflowStartTestCaseDetectionInputSchema,
3336
3337
  mapToUpstream: (input) => {
@@ -3351,7 +3352,7 @@ var workflowTools = [
3351
3352
  }
3352
3353
  },
3353
3354
  {
3354
- name: "qa_workflow_list_test_case_detection_runtimes",
3355
+ name: "muggle-remote-workflow-list-test-case-detection-runtimes",
3355
3356
  description: "List test case detection workflow runtimes.",
3356
3357
  inputSchema: WorkflowListRuntimesInputSchema,
3357
3358
  mapToUpstream: (input) => {
@@ -3364,7 +3365,7 @@ var workflowTools = [
3364
3365
  }
3365
3366
  },
3366
3367
  {
3367
- name: "qa_workflow_get_test_case_detection_latest_run",
3368
+ name: "muggle-remote-workflow-get-test-case-detection-latest-run",
3368
3369
  description: "Get the latest run status for a test case detection workflow runtime.",
3369
3370
  inputSchema: WorkflowGetLatestRunInputSchema,
3370
3371
  mapToUpstream: (input) => {
@@ -3376,7 +3377,7 @@ var workflowTools = [
3376
3377
  }
3377
3378
  },
3378
3379
  {
3379
- name: "qa_workflow_start_test_script_generation",
3380
+ name: "muggle-remote-workflow-start-test-script-generation",
3380
3381
  description: "Start a test script generation workflow.",
3381
3382
  inputSchema: WorkflowStartTestScriptGenerationInputSchema,
3382
3383
  mapToUpstream: (input) => {
@@ -3401,7 +3402,7 @@ var workflowTools = [
3401
3402
  }
3402
3403
  },
3403
3404
  {
3404
- name: "qa_workflow_get_test_script_generation_latest_run",
3405
+ name: "muggle-remote-workflow-get-test-script-generation-latest-run",
3405
3406
  description: "Get the latest run status for a test script generation workflow runtime.",
3406
3407
  inputSchema: WorkflowGetLatestRunInputSchema,
3407
3408
  mapToUpstream: (input) => {
@@ -3413,7 +3414,7 @@ var workflowTools = [
3413
3414
  }
3414
3415
  },
3415
3416
  {
3416
- name: "qa_workflow_get_latest_test_script_generation_runtime_by_test_case",
3417
+ name: "muggle-remote-workflow-get-latest-test-script-generation-runtime-by-test-case",
3417
3418
  description: "Get the latest test script generation runtime for a specific test case.",
3418
3419
  inputSchema: WorkflowGetLatestScriptGenByTestCaseInputSchema,
3419
3420
  mapToUpstream: (input) => {
@@ -3425,7 +3426,7 @@ var workflowTools = [
3425
3426
  }
3426
3427
  },
3427
3428
  {
3428
- name: "qa_workflow_start_test_script_replay",
3429
+ name: "muggle-remote-workflow-start-test-script-replay",
3429
3430
  description: "Start a test script replay workflow to execute a single test script.",
3430
3431
  inputSchema: WorkflowStartTestScriptReplayInputSchema,
3431
3432
  mapToUpstream: (input) => {
@@ -3446,7 +3447,7 @@ var workflowTools = [
3446
3447
  }
3447
3448
  },
3448
3449
  {
3449
- name: "qa_workflow_get_test_script_replay_latest_run",
3450
+ name: "muggle-remote-workflow-get-test-script-replay-latest-run",
3450
3451
  description: "Get the latest run status for a test script replay workflow runtime.",
3451
3452
  inputSchema: WorkflowGetLatestRunInputSchema,
3452
3453
  mapToUpstream: (input) => {
@@ -3458,7 +3459,7 @@ var workflowTools = [
3458
3459
  }
3459
3460
  },
3460
3461
  {
3461
- name: "qa_workflow_start_test_script_replay_bulk",
3462
+ name: "muggle-remote-workflow-start-test-script-replay-bulk",
3462
3463
  description: "Start a bulk test script replay workflow to execute multiple test scripts.",
3463
3464
  inputSchema: WorkflowStartTestScriptReplayBulkInputSchema,
3464
3465
  mapToUpstream: (input) => {
@@ -3482,7 +3483,7 @@ var workflowTools = [
3482
3483
  }
3483
3484
  },
3484
3485
  {
3485
- name: "qa_workflow_list_test_script_replay_bulk_runtimes",
3486
+ name: "muggle-remote-workflow-list-test-script-replay-bulk-runtimes",
3486
3487
  description: "List bulk test script replay workflow runtimes.",
3487
3488
  inputSchema: WorkflowListRuntimesInputSchema,
3488
3489
  mapToUpstream: (input) => {
@@ -3495,7 +3496,7 @@ var workflowTools = [
3495
3496
  }
3496
3497
  },
3497
3498
  {
3498
- name: "qa_workflow_get_test_script_replay_bulk_latest_run",
3499
+ name: "muggle-remote-workflow-get-test-script-replay-bulk-latest-run",
3499
3500
  description: "Get the latest run status for a bulk test script replay workflow runtime.",
3500
3501
  inputSchema: WorkflowGetLatestRunInputSchema,
3501
3502
  mapToUpstream: (input) => {
@@ -3507,7 +3508,7 @@ var workflowTools = [
3507
3508
  }
3508
3509
  },
3509
3510
  {
3510
- name: "qa_workflow_get_replay_bulk_run_batch_summary",
3511
+ name: "muggle-remote-workflow-get-replay-bulk-run-batch-summary",
3511
3512
  description: "Get the summary of a bulk replay run batch.",
3512
3513
  inputSchema: WorkflowGetReplayBulkBatchSummaryInputSchema,
3513
3514
  mapToUpstream: (input) => {
@@ -3519,7 +3520,7 @@ var workflowTools = [
3519
3520
  }
3520
3521
  },
3521
3522
  {
3522
- name: "qa_workflow_cancel_run",
3523
+ name: "muggle-remote-workflow-cancel-run",
3523
3524
  description: "Cancel a running workflow run.",
3524
3525
  inputSchema: WorkflowCancelRunInputSchema,
3525
3526
  mapToUpstream: (input) => {
@@ -3531,7 +3532,7 @@ var workflowTools = [
3531
3532
  }
3532
3533
  },
3533
3534
  {
3534
- name: "qa_workflow_cancel_runtime",
3535
+ name: "muggle-remote-workflow-cancel-runtime",
3535
3536
  description: "Cancel a workflow runtime and all its runs.",
3536
3537
  inputSchema: WorkflowCancelRuntimeInputSchema,
3537
3538
  mapToUpstream: (input) => {
@@ -3545,7 +3546,7 @@ var workflowTools = [
3545
3546
  ];
3546
3547
  var reportTools = [
3547
3548
  {
3548
- name: "qa_project_test_results_summary_get",
3549
+ name: "muggle-remote-project-test-results-summary-get",
3549
3550
  description: "Get a summary of test results for a project.",
3550
3551
  inputSchema: ProjectTestResultsSummaryInputSchema,
3551
3552
  mapToUpstream: (input) => {
@@ -3557,7 +3558,7 @@ var reportTools = [
3557
3558
  }
3558
3559
  },
3559
3560
  {
3560
- name: "qa_project_test_scripts_summary_get",
3561
+ name: "muggle-remote-project-test-scripts-summary-get",
3561
3562
  description: "Get a summary of test scripts for a project.",
3562
3563
  inputSchema: ProjectTestScriptsSummaryInputSchema,
3563
3564
  mapToUpstream: (input) => {
@@ -3569,7 +3570,7 @@ var reportTools = [
3569
3570
  }
3570
3571
  },
3571
3572
  {
3572
- name: "qa_project_test_runs_summary_get",
3573
+ name: "muggle-remote-project-test-runs-summary-get",
3573
3574
  description: "Get a summary of test runs for a project.",
3574
3575
  inputSchema: ProjectTestRunsSummaryInputSchema,
3575
3576
  mapToUpstream: (input) => {
@@ -3581,7 +3582,7 @@ var reportTools = [
3581
3582
  }
3582
3583
  },
3583
3584
  {
3584
- name: "qa_report_stats_summary_get",
3585
+ name: "muggle-remote-report-stats-summary-get",
3585
3586
  description: "Get report statistics summary for a project.",
3586
3587
  inputSchema: ReportStatsSummaryInputSchema,
3587
3588
  mapToUpstream: (input) => {
@@ -3594,7 +3595,7 @@ var reportTools = [
3594
3595
  }
3595
3596
  },
3596
3597
  {
3597
- name: "qa_report_cost_query",
3598
+ name: "muggle-remote-report-cost-query",
3598
3599
  description: "Query cost/usage data for a project over a date range.",
3599
3600
  inputSchema: ReportCostQueryInputSchema,
3600
3601
  mapToUpstream: (input) => {
@@ -3613,7 +3614,7 @@ var reportTools = [
3613
3614
  }
3614
3615
  },
3615
3616
  {
3616
- name: "qa_report_preferences_upsert",
3617
+ name: "muggle-remote-report-preferences-upsert",
3617
3618
  description: "Update report delivery preferences for a project.",
3618
3619
  inputSchema: ReportPreferencesUpsertInputSchema,
3619
3620
  mapToUpstream: (input) => {
@@ -3633,7 +3634,7 @@ var reportTools = [
3633
3634
  }
3634
3635
  },
3635
3636
  {
3636
- name: "qa_report_final_generate",
3637
+ name: "muggle-remote-report-final-generate",
3637
3638
  description: "Generate a final test report for a project.",
3638
3639
  inputSchema: ReportFinalGenerateInputSchema,
3639
3640
  mapToUpstream: (input) => {
@@ -3652,7 +3653,7 @@ var reportTools = [
3652
3653
  ];
3653
3654
  var secretTools = [
3654
3655
  {
3655
- name: "qa_secret_list",
3656
+ name: "muggle-remote-secret-list",
3656
3657
  description: "List all secrets for a project. Secret values are not returned for security.",
3657
3658
  inputSchema: SecretListInputSchema,
3658
3659
  mapToUpstream: (input) => {
@@ -3665,7 +3666,7 @@ var secretTools = [
3665
3666
  }
3666
3667
  },
3667
3668
  {
3668
- name: "qa_secret_create",
3669
+ name: "muggle-remote-secret-create",
3669
3670
  description: "Create a new secret (credential) for a project.",
3670
3671
  inputSchema: SecretCreateInputSchema,
3671
3672
  mapToUpstream: (input) => {
@@ -3684,7 +3685,7 @@ var secretTools = [
3684
3685
  }
3685
3686
  },
3686
3687
  {
3687
- name: "qa_secret_get",
3688
+ name: "muggle-remote-secret-get",
3688
3689
  description: "Get details of a specific secret. The secret value is not returned for security.",
3689
3690
  inputSchema: SecretGetInputSchema,
3690
3691
  mapToUpstream: (input) => {
@@ -3696,7 +3697,7 @@ var secretTools = [
3696
3697
  }
3697
3698
  },
3698
3699
  {
3699
- name: "qa_secret_update",
3700
+ name: "muggle-remote-secret-update",
3700
3701
  description: "Update an existing secret.",
3701
3702
  inputSchema: SecretUpdateInputSchema,
3702
3703
  mapToUpstream: (input) => {
@@ -3713,7 +3714,7 @@ var secretTools = [
3713
3714
  }
3714
3715
  },
3715
3716
  {
3716
- name: "qa_secret_delete",
3717
+ name: "muggle-remote-secret-delete",
3717
3718
  description: "Delete a secret from a project.",
3718
3719
  inputSchema: SecretDeleteInputSchema,
3719
3720
  mapToUpstream: (input) => {
@@ -3727,7 +3728,7 @@ var secretTools = [
3727
3728
  ];
3728
3729
  var prdFileTools = [
3729
3730
  {
3730
- name: "qa_prd_file_upload",
3731
+ name: "muggle-remote-prd-file-upload",
3731
3732
  description: "Upload a PRD file to a project. File content should be base64-encoded.",
3732
3733
  inputSchema: PrdFileUploadInputSchema,
3733
3734
  mapToUpstream: (input) => {
@@ -3745,7 +3746,7 @@ var prdFileTools = [
3745
3746
  }
3746
3747
  },
3747
3748
  {
3748
- name: "qa_prd_file_list_by_project",
3749
+ name: "muggle-remote-prd-file-list-by-project",
3749
3750
  description: "List all PRD files associated with a project.",
3750
3751
  inputSchema: PrdFileListInputSchema,
3751
3752
  mapToUpstream: (input) => {
@@ -3757,7 +3758,7 @@ var prdFileTools = [
3757
3758
  }
3758
3759
  },
3759
3760
  {
3760
- name: "qa_prd_file_delete",
3761
+ name: "muggle-remote-prd-file-delete",
3761
3762
  description: "Delete a PRD file from a project.",
3762
3763
  inputSchema: PrdFileDeleteInputSchema,
3763
3764
  mapToUpstream: (input) => {
@@ -3769,7 +3770,7 @@ var prdFileTools = [
3769
3770
  }
3770
3771
  },
3771
3772
  {
3772
- name: "qa_workflow_start_prd_file_process",
3773
+ name: "muggle-remote-workflow-start-prd-file-process",
3773
3774
  description: "Start a PRD file processing workflow to extract use cases.",
3774
3775
  inputSchema: PrdFileProcessStartInputSchema,
3775
3776
  mapToUpstream: (input) => {
@@ -3791,7 +3792,7 @@ var prdFileTools = [
3791
3792
  }
3792
3793
  },
3793
3794
  {
3794
- name: "qa_workflow_get_prd_file_process_latest_run",
3795
+ name: "muggle-remote-workflow-get-prd-file-process-latest-run",
3795
3796
  description: "Get the latest run status of a PRD file processing workflow.",
3796
3797
  inputSchema: PrdFileProcessLatestRunInputSchema,
3797
3798
  mapToUpstream: (input) => {
@@ -3805,7 +3806,7 @@ var prdFileTools = [
3805
3806
  ];
3806
3807
  var walletTools = [
3807
3808
  {
3808
- name: "qa_wallet_topup",
3809
+ name: "muggle-remote-wallet-topup",
3809
3810
  description: "Create a Stripe checkout session to purchase a token package.",
3810
3811
  inputSchema: WalletTopUpInputSchema,
3811
3812
  mapToUpstream: (input) => {
@@ -3822,7 +3823,7 @@ var walletTools = [
3822
3823
  }
3823
3824
  },
3824
3825
  {
3825
- name: "qa_wallet_payment_method_create_setup_session",
3826
+ name: "muggle-remote-wallet-payment-method-create-setup-session",
3826
3827
  description: "Create a Stripe setup session to add a payment method.",
3827
3828
  inputSchema: WalletPaymentMethodCreateSetupSessionInputSchema,
3828
3829
  mapToUpstream: (input) => {
@@ -3838,7 +3839,7 @@ var walletTools = [
3838
3839
  }
3839
3840
  },
3840
3841
  {
3841
- name: "qa_wallet_auto_topup_set_payment_method",
3842
+ name: "muggle-remote-wallet-auto-topup-set-payment-method",
3842
3843
  description: "Set the saved payment method used by wallet auto top-up.",
3843
3844
  inputSchema: WalletAutoTopUpSetPaymentMethodInputSchema,
3844
3845
  mapToUpstream: (input) => {
@@ -3851,7 +3852,7 @@ var walletTools = [
3851
3852
  }
3852
3853
  },
3853
3854
  {
3854
- name: "qa_wallet_payment_method_list",
3855
+ name: "muggle-remote-wallet-payment-method-list",
3855
3856
  description: "List saved payment methods.",
3856
3857
  inputSchema: WalletPaymentMethodListInputSchema,
3857
3858
  mapToUpstream: () => {
@@ -3862,7 +3863,7 @@ var walletTools = [
3862
3863
  }
3863
3864
  },
3864
3865
  {
3865
- name: "qa_wallet_auto_topup_update",
3866
+ name: "muggle-remote-wallet-auto-topup-update",
3866
3867
  description: "Update wallet auto-topup settings.",
3867
3868
  inputSchema: WalletAutoTopUpUpdateInputSchema,
3868
3869
  mapToUpstream: (input) => {
@@ -3881,7 +3882,7 @@ var walletTools = [
3881
3882
  ];
3882
3883
  var recommendationTools = [
3883
3884
  {
3884
- name: "qa_recommend_schedule",
3885
+ name: "muggle-remote-recommend-schedule",
3885
3886
  description: "Get recommendations for test scheduling based on project needs.",
3886
3887
  inputSchema: RecommendScheduleInputSchema,
3887
3888
  requiresAuth: false,
@@ -3934,7 +3935,7 @@ var recommendationTools = [
3934
3935
  }
3935
3936
  },
3936
3937
  {
3937
- name: "qa_recommend_cicd_setup",
3938
+ name: "muggle-remote-recommend-cicd-setup",
3938
3939
  description: "Get recommendations and templates for CI/CD integration.",
3939
3940
  inputSchema: RecommendCicdSetupInputSchema,
3940
3941
  requiresAuth: false,
@@ -3985,7 +3986,7 @@ var recommendationTools = [
3985
3986
  var API_KEY_PREFIX = "/v1/protected/api-keys";
3986
3987
  var apiKeyTools = [
3987
3988
  {
3988
- name: "qa_auth_api_key_create",
3989
+ name: "muggle-remote-auth-api-key-create",
3989
3990
  description: "Create a new API key for the authenticated user. Requires existing authentication.",
3990
3991
  inputSchema: ApiKeyCreateInputSchema,
3991
3992
  mapToUpstream: (input) => {
@@ -4020,7 +4021,7 @@ var apiKeyTools = [
4020
4021
  }
4021
4022
  },
4022
4023
  {
4023
- name: "qa_auth_api_key_list",
4024
+ name: "muggle-remote-auth-api-key-list",
4024
4025
  description: "List all API keys for the authenticated user. Shows key metadata but not the secret values.",
4025
4026
  inputSchema: ApiKeyListInputSchema,
4026
4027
  mapToUpstream: () => {
@@ -4047,7 +4048,7 @@ var apiKeyTools = [
4047
4048
  }
4048
4049
  },
4049
4050
  {
4050
- name: "qa_auth_api_key_get",
4051
+ name: "muggle-remote-auth-api-key-get",
4051
4052
  description: "Get details of a specific API key by ID.",
4052
4053
  inputSchema: ApiKeyGetInputSchema,
4053
4054
  mapToUpstream: (input) => {
@@ -4074,7 +4075,7 @@ var apiKeyTools = [
4074
4075
  }
4075
4076
  },
4076
4077
  {
4077
- name: "qa_auth_api_key_revoke",
4078
+ name: "muggle-remote-auth-api-key-revoke",
4078
4079
  description: "Revoke an API key. The key will immediately stop working. Use qa_auth_api_key_list to find the key ID first.",
4079
4080
  inputSchema: ApiKeyRevokeInputSchema,
4080
4081
  mapToUpstream: (input) => {
@@ -4094,7 +4095,7 @@ var apiKeyTools = [
4094
4095
  ];
4095
4096
  var authTools = [
4096
4097
  {
4097
- name: "qa_auth_status",
4098
+ name: "muggle-remote-auth-status",
4098
4099
  description: "Check current authentication status. Shows if you're logged in and when your session expires.",
4099
4100
  inputSchema: EmptyInputSchema,
4100
4101
  requiresAuth: false,
@@ -4107,7 +4108,7 @@ var authTools = [
4107
4108
  if (!status.authenticated) {
4108
4109
  return {
4109
4110
  authenticated: false,
4110
- message: "Not authenticated. Use qa_auth_login to authenticate."
4111
+ message: "Not authenticated. Use muggle-remote-auth-login to authenticate."
4111
4112
  };
4112
4113
  }
4113
4114
  return {
@@ -4120,8 +4121,8 @@ var authTools = [
4120
4121
  }
4121
4122
  },
4122
4123
  {
4123
- name: "qa_auth_login",
4124
- description: "Start authentication with the Muggle Test service. Opens a browser-based login flow and waits for confirmation by default. If login is still pending after the wait timeout, use qa_auth_poll to finish authentication.",
4124
+ name: "muggle-remote-auth-login",
4125
+ description: "Start authentication with the Muggle Test service. Opens a browser-based login flow and waits for confirmation by default. If login is still pending after the wait timeout, use muggle-remote-auth-poll to finish authentication.",
4125
4126
  inputSchema: AuthLoginInputSchema,
4126
4127
  requiresAuth: false,
4127
4128
  mapToUpstream: () => {
@@ -4139,7 +4140,7 @@ var authTools = [
4139
4140
  userCode: deviceCodeResponse.userCode,
4140
4141
  verificationUri: deviceCodeResponse.verificationUri,
4141
4142
  browserOpened: deviceCodeResponse.browserOpened,
4142
- message: "Login started. Complete authentication in your browser, then call qa_auth_poll."
4143
+ message: "Login started. Complete authentication in your browser, then call muggle-remote-auth-poll."
4143
4144
  };
4144
4145
  }
4145
4146
  const pollResult = await authService.waitForDeviceCodeAuthorization({
@@ -4162,8 +4163,8 @@ var authTools = [
4162
4163
  }
4163
4164
  },
4164
4165
  {
4165
- name: "qa_auth_poll",
4166
- description: "Poll for login completion after starting the login flow with qa_auth_login. Call this after the user completes authentication in their browser.",
4166
+ name: "muggle-remote-auth-poll",
4167
+ description: "Poll for login completion after starting the login flow with muggle-remote-auth-login. Call this after the user completes authentication in their browser.",
4167
4168
  inputSchema: AuthPollInputSchema,
4168
4169
  requiresAuth: false,
4169
4170
  mapToUpstream: () => {
@@ -4176,7 +4177,7 @@ var authTools = [
4176
4177
  if (!deviceCode) {
4177
4178
  return {
4178
4179
  error: "NO_PENDING_LOGIN",
4179
- message: "No pending login found. Please start a new login with qa_auth_login."
4180
+ message: "No pending login found. Please start a new login with muggle-remote-auth-login."
4180
4181
  };
4181
4182
  }
4182
4183
  const result = await authService.pollDeviceCode(deviceCode);
@@ -4195,7 +4196,7 @@ var authTools = [
4195
4196
  }
4196
4197
  },
4197
4198
  {
4198
- name: "qa_auth_logout",
4199
+ name: "muggle-remote-auth-logout",
4199
4200
  description: "Log out and clear stored credentials.",
4200
4201
  inputSchema: EmptyInputSchema,
4201
4202
  requiresAuth: false,
@@ -4447,12 +4448,12 @@ function createChildLogger2(correlationId) {
4447
4448
  };
4448
4449
  }
4449
4450
  var checkStatusTool = {
4450
- name: "muggle_check_status",
4451
+ name: "muggle-local-check-status",
4451
4452
  description: "Check the status of Muggle Test Local. This verifies the connection to web-service and shows current session information.",
4452
4453
  inputSchema: EmptyInputSchema2,
4453
4454
  execute: async (ctx) => {
4454
4455
  const logger5 = createChildLogger2(ctx.correlationId);
4455
- logger5.info("Executing muggle_check_status");
4456
+ logger5.info("Executing muggle-local-check-status");
4456
4457
  const authService = getAuthService();
4457
4458
  const storageService = getStorageService();
4458
4459
  const authStatus = authService.getAuthStatus();
@@ -4471,12 +4472,12 @@ var checkStatusTool = {
4471
4472
  }
4472
4473
  };
4473
4474
  var listSessionsTool = {
4474
- name: "muggle_list_sessions",
4475
+ name: "muggle-local-list-sessions",
4475
4476
  description: "List all stored testing sessions. Shows session IDs, status, and metadata for each session.",
4476
4477
  inputSchema: ListSessionsInputSchema,
4477
4478
  execute: async (ctx) => {
4478
4479
  const logger5 = createChildLogger2(ctx.correlationId);
4479
- logger5.info("Executing muggle_list_sessions");
4480
+ logger5.info("Executing muggle-local-list-sessions");
4480
4481
  const input = ListSessionsInputSchema.parse(ctx.input);
4481
4482
  const storageService = getStorageService();
4482
4483
  const sessions = storageService.listSessionsWithMetadata();
@@ -4499,12 +4500,12 @@ var listSessionsTool = {
4499
4500
  }
4500
4501
  };
4501
4502
  var runResultListTool = {
4502
- name: "muggle_run_result_list",
4503
+ name: "muggle-local-run-result-list",
4503
4504
  description: "List run results (test generation and replay history), optionally filtered by cloud test case ID.",
4504
4505
  inputSchema: RunResultListInputSchema,
4505
4506
  execute: async (ctx) => {
4506
4507
  const logger5 = createChildLogger2(ctx.correlationId);
4507
- logger5.info("Executing muggle_run_result_list");
4508
+ logger5.info("Executing muggle-local-run-result-list");
4508
4509
  const input = RunResultListInputSchema.parse(ctx.input);
4509
4510
  const storage = getRunResultStorageService();
4510
4511
  let results = storage.listRunResults();
@@ -4524,12 +4525,12 @@ var runResultListTool = {
4524
4525
  }
4525
4526
  };
4526
4527
  var runResultGetTool = {
4527
- name: "muggle_run_result_get",
4528
+ name: "muggle-local-run-result-get",
4528
4529
  description: "Get detailed information about a run result including screenshots and action script output.",
4529
4530
  inputSchema: RunResultGetInputSchema,
4530
4531
  execute: async (ctx) => {
4531
4532
  const logger5 = createChildLogger2(ctx.correlationId);
4532
- logger5.info("Executing muggle_run_result_get");
4533
+ logger5.info("Executing muggle-local-run-result-get");
4533
4534
  const input = RunResultGetInputSchema.parse(ctx.input);
4534
4535
  const storage = getRunResultStorageService();
4535
4536
  const result = storage.getRunResult(input.runId);
@@ -4550,12 +4551,12 @@ var runResultGetTool = {
4550
4551
  }
4551
4552
  };
4552
4553
  var testScriptListTool = {
4553
- name: "muggle_test_script_list",
4554
+ name: "muggle-local-test-script-list",
4554
4555
  description: "List locally generated test scripts, optionally filtered by cloud test case ID.",
4555
4556
  inputSchema: TestScriptListInputSchema2,
4556
4557
  execute: async (ctx) => {
4557
4558
  const logger5 = createChildLogger2(ctx.correlationId);
4558
- logger5.info("Executing muggle_test_script_list");
4559
+ logger5.info("Executing muggle-local-test-script-list");
4559
4560
  const input = TestScriptListInputSchema2.parse(ctx.input);
4560
4561
  const storage = getRunResultStorageService();
4561
4562
  let scripts = storage.listTestScripts();
@@ -4571,12 +4572,12 @@ var testScriptListTool = {
4571
4572
  }
4572
4573
  };
4573
4574
  var testScriptGetTool = {
4574
- name: "muggle_test_script_get",
4575
+ name: "muggle-local-test-script-get",
4575
4576
  description: "Get details of a locally generated test script including action script steps.",
4576
4577
  inputSchema: TestScriptGetInputSchema2,
4577
4578
  execute: async (ctx) => {
4578
4579
  const logger5 = createChildLogger2(ctx.correlationId);
4579
- logger5.info("Executing muggle_test_script_get");
4580
+ logger5.info("Executing muggle-local-test-script-get");
4580
4581
  const input = TestScriptGetInputSchema2.parse(ctx.input);
4581
4582
  const storage = getRunResultStorageService();
4582
4583
  const testScript = storage.getTestScript(input.testScriptId);
@@ -4597,12 +4598,12 @@ var testScriptGetTool = {
4597
4598
  }
4598
4599
  };
4599
4600
  var executeTestGenerationTool = {
4600
- name: "muggle_execute_test_generation",
4601
+ name: "muggle-local-execute-test-generation",
4601
4602
  description: "Execute test script generation for a test case. First call qa_test_case_get to get test case details, then pass them here along with the localhost URL. Requires explicit approval before launching electron-app in explore mode.",
4602
4603
  inputSchema: ExecuteTestGenerationInputSchema,
4603
4604
  execute: async (ctx) => {
4604
4605
  const logger5 = createChildLogger2(ctx.correlationId);
4605
- logger5.info("Executing muggle_execute_test_generation");
4606
+ logger5.info("Executing muggle-local-execute-test-generation");
4606
4607
  const input = ExecuteTestGenerationInputSchema.parse(ctx.input);
4607
4608
  if (!input.approveElectronAppLaunch) {
4608
4609
  return {
@@ -4649,12 +4650,12 @@ var executeTestGenerationTool = {
4649
4650
  }
4650
4651
  };
4651
4652
  var executeReplayTool = {
4652
- name: "muggle_execute_replay",
4653
+ name: "muggle-local-execute-replay",
4653
4654
  description: "Execute test script replay. First call qa_test_script_get to get test script details (including actionScript), then pass them here along with the localhost URL. Requires explicit approval before launching electron-app in engine mode.",
4654
4655
  inputSchema: ExecuteReplayInputSchema,
4655
4656
  execute: async (ctx) => {
4656
4657
  const logger5 = createChildLogger2(ctx.correlationId);
4657
- logger5.info("Executing muggle_execute_replay");
4658
+ logger5.info("Executing muggle-local-execute-replay");
4658
4659
  const input = ExecuteReplayInputSchema.parse(ctx.input);
4659
4660
  if (!input.approveElectronAppLaunch) {
4660
4661
  return {
@@ -4702,12 +4703,12 @@ var executeReplayTool = {
4702
4703
  }
4703
4704
  };
4704
4705
  var cancelExecutionTool = {
4705
- name: "muggle_cancel_execution",
4706
+ name: "muggle-local-cancel-execution",
4706
4707
  description: "Cancel an active test generation or replay execution.",
4707
4708
  inputSchema: CancelExecutionInputSchema,
4708
4709
  execute: async (ctx) => {
4709
4710
  const logger5 = createChildLogger2(ctx.correlationId);
4710
- logger5.info("Executing muggle_cancel_execution");
4711
+ logger5.info("Executing muggle-local-cancel-execution");
4711
4712
  const input = CancelExecutionInputSchema.parse(ctx.input);
4712
4713
  const cancelled = cancelExecution({ runId: input.runId });
4713
4714
  if (cancelled) {
@@ -4717,12 +4718,12 @@ var cancelExecutionTool = {
4717
4718
  }
4718
4719
  };
4719
4720
  var publishTestScriptTool = {
4720
- name: "muggle_publish_test_script",
4721
+ name: "muggle-local-publish-test-script",
4721
4722
  description: "Publish a locally generated test script to the cloud. Uses the run ID from muggle_execute_test_generation to find the script and uploads it to the specified cloud test case.",
4722
4723
  inputSchema: PublishTestScriptInputSchema,
4723
4724
  execute: async (ctx) => {
4724
4725
  const logger5 = createChildLogger2(ctx.correlationId);
4725
- logger5.info("Executing muggle_publish_test_script");
4726
+ logger5.info("Executing muggle-local-publish-test-script");
4726
4727
  const input = PublishTestScriptInputSchema.parse(ctx.input);
4727
4728
  const storage = getRunResultStorageService();
4728
4729
  const runResult = storage.getRunResult(input.runId);
@@ -4819,5 +4820,5 @@ function isLocalOnlyTool(toolName) {
4819
4820
  }
4820
4821
 
4821
4822
  export { __export, __require, createApiKeyWithToken, createChildLogger, createUnifiedMcpServer, deleteCredentials, getAuthStatus, getBundledElectronAppVersion, getCallerCredentials, getConfig, getCredentialsFilePath, getDataDir, getDownloadBaseUrl, getElectronAppChecksums, getElectronAppDir, getElectronAppVersion, getElectronAppVersionSource, getLocalQaTools, getLogger, getQaTools, getValidCredentials, isCredentialsExpired, isElectronAppInstalled, loadCredentials, local_qa_exports, openBrowserUrl, performLogin, performLogout, pollDeviceCode, qa_exports, registerTools, resetConfig, resetLogger, saveCredentials, server_exports, startDeviceCodeFlow, startStdioServer, toolRequiresAuth };
4822
- //# sourceMappingURL=chunk-RXCZWOOD.js.map
4823
- //# sourceMappingURL=chunk-RXCZWOOD.js.map
4823
+ //# sourceMappingURL=chunk-UKMTQHS2.js.map
4824
+ //# sourceMappingURL=chunk-UKMTQHS2.js.map