Installation
Get TestSprite MCP Server up and running in your IDE in under 2 minutes.
Prerequisites
Before installing TestSprite MCP Server, ensure you have:
- Compatible IDE - Cursor or VSCode with MCP support
- TestSprite Account - Sign up for free (opens in a new tab)
Get Your API Key
First, you'll need a TestSprite API key for any installation method:
- Sign in to your TestSprite Dashboard (opens in a new tab)
- Navigate to API Keys under Settings
- Click "New API Key"
- Copy your API key (you'll need it for installation)
One-Click Installation (Cursor)
The easiest way to install TestSprite MCP Server in Cursor:
- Get your API key (see above)
- Click the one-click install link - Install TestSprite MCP Server
- Enter your API key in Cursor
- Start testing!
Manual Installation
Configure Your IDE
For Cursor
- Open Cursor Settings (cmd/ctrl + shift + j)
- Navigate to Tools & Integration
- Click Add custom MCP
- Add the following configuration:
{
"mcpServers": {
"TestSprite": {
"command": "npx",
"args": ["@testsprite/testsprite-mcp@latest"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
For VSCode
- Open the Command Palette (cmd/ctrl + shift + p)
- Run the MCP: Add Server command
- Choose Command (stdio) installation type
- Type
npx @testsprite/testsprite-mcp@latest
for Command to run - Type TestSprite for the MCP server identifier/name
- Choose the scope where you want the MCP server to be configured
- 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
No "command not found" errors
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:
- Remove the configuration from your IDE's MCP settings
- Restart your IDE
Next Steps
Installation Complete!
Now you're ready to run your first test. Continue to Your First Test to see TestSprite MCP Server in action.