MCP Server (IDE Integration)
Installation

Installation

Get TestSprite MCP Server up and running in your IDE in under 2 minutes.

Prerequisites

Before installing TestSprite MCP Server, ensure you have:

Get Your API Key

First, you'll need a TestSprite API key for any installation method:

  1. Sign in to your TestSprite Dashboard (opens in a new tab)
  2. Navigate to API Keys under Settings
  3. Click "New API Key"
  4. Copy your API key (you'll need it for installation)

One-Click Installation (Cursor)

The easiest way to install TestSprite MCP Server in Cursor:

  1. Get your API key (see above)
  2. Click the one-click install link - Install TestSprite MCP Server
  3. Enter your API key in Cursor
  4. Start testing!

Manual Installation

Configure Your IDE

For Cursor

  1. Open Cursor Settings (cmd/ctrl + shift + j)
  2. Navigate to Tools & Integration
  3. Click Add custom MCP
  4. Add the following configuration:
{
  "mcpServers": {
    "TestSprite": {
      "command": "npx",
      "args": ["@testsprite/testsprite-mcp@latest"],
      "env": {
        "API_KEY": "your-api-key"
      }
    }
  }
}

For VSCode

  1. Open the Command Palette (cmd/ctrl + shift + p)
  2. Run the MCP: Add Server command
  3. Choose Command (stdio) installation type
  4. Type npx @testsprite/testsprite-mcp@latest for Command to run
  5. Type TestSprite for the MCP server identifier/name
  6. Choose the scope where you want the MCP server to be configured
  7. Add the env configuration:
{
  "mcpServers": {
    "TestSprite": {
      "command": "npx",
      "args": ["@testsprite/testsprite-mcp@latest"],
      "env": {
        "API_KEY": "your-api-key"
      }
    }
  }
}

For Other MCP-Compatible IDEs

Add this configuration to your MCP settings:

{
  "mcpServers": {
    "TestSprite": {
      "command": "npx",
      "args": ["@testsprite/testsprite-mcp@latest"],
      "env": {
        "API_KEY": "your-api-key"
      }
    }
  }
}

Installation Verification

For Cursor

Check if the green dot shows up on the TestSprite MCP server icon, and the tools have been loaded successfully.

For VSCode

After installation, click the start button above the TestSprite MCP entry in the mcp.json file you have jsut confifured. If the server started with no errors and all the tools have been loaded, you have installed the MCP server successfully.

Success Indicators

check_circle Your AI assistant can see TestSprite MCP tools
check_circle No "command not found" errors
check_circle Ready to start testing your projects

Quick Test

Try prompting: "Help me test this project with TestSprite" - your assistant should offer to use TestSprite MCP tools.

Uninstallation

To remove TestSprite MCP Server:

  1. Remove the configuration from your IDE's MCP settings
  2. Restart your IDE

Next Steps

check_circle Installation Complete!

Now you're ready to run your first test. Continue to Your First Test to see TestSprite MCP Server in action.