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

# Deploy MCP Tests

> Learn how to deploy and run your MCP tests against staging and production environments.

Once you've created and validated tests, you can deploy them to run against your staging or production environments. This guide walks you through pushing your tests to the MCP Tests web portal for continuous monitoring of your deployed applications.

## Prerequisites

Before deploying your tests, ensure you have:

* Successfully created and run tests locally using MCP
* Access to the MCP Tests web portal
* The URL of your deployed application (staging or production)

## Deployment Steps

<Steps>
  <Step title="Access the MCP Tests Web Portal">
    Log in to the MCP Tests web portal and navigate to your project. You'll see a list of all test suites that have been created locally.

    <Frame>
      <img src="https://mintcdn.com/testspriteinc/ReL5WaX10_vGG0UW/images/mcp-portal.png?fit=max&auto=format&n=ReL5WaX10_vGG0UW&q=85&s=52af80ac28fc9919d9c8404471bc4966" alt="plan" width="2888" height="1200" data-path="images/mcp-portal.png" />
    </Frame>
  </Step>

  <Step title="Initiate Test Deployment">
    Locate the test suite you want to deploy and click the **"Deploy Tests"** button next to it. This opens the test selection interface.

    <Frame>
      <img src="https://mintcdn.com/testspriteinc/ReL5WaX10_vGG0UW/images/initiate-deploy.png?fit=max&auto=format&n=ReL5WaX10_vGG0UW&q=85&s=c1a2080d920d819633a1ea5cbf61b7a7" alt="plan" width="2888" height="922" data-path="images/initiate-deploy.png" />
    </Frame>
  </Step>

  <Step title="Select Tests to Deploy">
    Review the available tests and use the checkboxes to select which ones you want to deploy. You can select individual tests or multiple tests at once depending on your deployment strategy.

    <Tip>Consider starting with a subset of critical tests before deploying your entire test suite to production.</Tip>

    <Frame>
      <img src="https://mintcdn.com/testspriteinc/ReL5WaX10_vGG0UW/images/select-test.png?fit=max&auto=format&n=ReL5WaX10_vGG0UW&q=85&s=aa1d6efd6792b011d87fc8e8454ee5d3" alt="plan" width="2888" height="1292" data-path="images/select-test.png" />
    </Frame>
  </Step>

  <Step title="Confirm Test Selection">
    After selecting your tests, click the **"Deploy Tests"** button in the upper right corner to proceed with the deployment.

    <Frame>
      <img src="https://mintcdn.com/testspriteinc/ReL5WaX10_vGG0UW/images/select-deploy.png?fit=max&auto=format&n=ReL5WaX10_vGG0UW&q=85&s=e6a2c1f6b49e9b0a71a2b5e06f7279d6" alt="plan" width="2888" height="1292" data-path="images/select-deploy.png" />
    </Frame>
  </Step>

  <Step title="Configure Target Environment">
    Enter the URL of your deployed application where the tests will run (e.g., `https://your-app.com` or `https://staging.your-app.com`). This URL becomes the target environment for all test executions.

    <Warning>Ensure the URL is accessible and that any required authentication credentials are properly configured.</Warning>

    <Frame>
      <img src="https://mintcdn.com/testspriteinc/3tFsKENc_ol65zBe/images/configure-env.png?fit=max&auto=format&n=3tFsKENc_ol65zBe&q=85&s=93067c07e9ec9e3b92d77479d960ae43" alt="plan" width="934" height="630" data-path="images/configure-env.png" />
    </Frame>
  </Step>

  <Step title="Monitor Test Execution">
    Navigate to the **"All Tests"** page to monitor your test results in real-time.

    <Frame>
      <img src="https://mintcdn.com/testspriteinc/3tFsKENc_ol65zBe/images/depoly-all-test.png?fit=max&auto=format&n=3tFsKENc_ol65zBe&q=85&s=56d15a4543fd83a6883f2eec909e1ad8" alt="plan" width="4446" height="1814" data-path="images/depoly-all-test.png" />
    </Frame>

    Here you can:

    * View detailed test execution logs
    * Analyze test visualizations and screenshots
    * Review any failures or issues
    * Track test performance over time
  </Step>
</Steps>

## Next Steps

After deploying your tests to production, you can **configure alerts to notify your team of test failures**, or follow the steps below:

<Columns cols={2}>
  <Card title="Set up continuous monitoring" href="/mcp/core/continuous-monitoring">
    Run tests automatically on a schedule
  </Card>

  <Card title="Review test maintenance guide" href="/mcp/maintenance/test-maintenance">
    Best practices for keeping your tests up to date
  </Card>
</Columns>
