Check if the green dot shows up on the TestSprite MCP server icon, and the tools have been loaded successfully.
Cursor Sandbox Mode Configuration
Cursor Sandbox Mode Configuration
Cursor has recently updated and by default will run MCP tools in the allowlist in “Run in Sandbox” mode. This mode limits the MCP tools’ functionalities and will prevent successful invocations of TestSprite’s testing procedures.To ensure full functionality of TestSprite MCP Server in Cursor:
Go to Cursor → Settings → Cursor Settings
Go to Chat → Auto-Run → Auto-Run Mode and change the setting to “Ask Everytime” or “Run Everything”
Navigate to your project directory in terminal:
cd /path/to/your/project
Paste the installation command into your terminal:
claude mcp add TestSprite --env API_KEY=your_api_key -- npx @testsprite/testsprite-mcp@latest
Replace your_api_key with your actual TestSprite API key
Run the installation command
Verify the installation by running this command in your project directory:
Installing the MCP server this way adds TestSprite only to Claude Code under the current project directory. If you’re using Claude Code in another project directory, you’ll need to add the MCP server again. For installing the MCP server under different scopes (e.g. global), refer to the Claude Code MCP documentation
Open the MCP store via the ... dropdown at the top of the editor’s agent panel.
Click on “Manage MCP Servers”.
Click on “View raw config”.
Add the following configuration to mcp_config.json:
After installation, click the start button above the TestSprite MCP entry in the mcp.json file you have just configured. If the server started with no errors and all the tools have been loaded, you have installed the MCP server successfully.