Skip to main content

MCP Server Not Detected in IDE

If you experience issues where your IDE doesn’t recognize TestSprite MCP Server, please follow the solution below:
1

Verify JSON Configuration

Cursor Quick Check Commands
VS Code Quick Check Commands
If you don’t have jq installed:
For macOS/Linux
For Windows
If you see a parse error, fix the JSON file (missing commas, quotes, brackets, etc.)
2

Check Configuration Files

Configuration File Locations:
Project-level configuration takes precedence over global configuration
File Management Commands:
  1. Check if files exist:
  1. Create directories if missing:
  1. Check file permissions (if needed):
3

Validate Configuration

Cursor Required Configuration Format

Common Issues to Avoid

If there’s a JSON parsing error about missing commas like "command": "npx" "args": [...], make sure to add commas between JSON properties. The correct format should be "command": "npx", with a comma after each property except the last one.
If there’s an error about invalid JSON syntax with single quotes like 'command': 'npx', JSON requires double quotes for all strings. Change it to use double quotes: "command": "npx".
If there’s an error about server configuration not being recognized in Cursor, make sure you’re using the correct property name. For Cursor, use "mcpServers" instead of "servers". VS Code uses "mcp.servers".
If there’s an error about incomplete server configuration with no env section, ensure you include all required fields: command, args, and env. The env section is necessary for passing the API key to TestSprite.

Test Your Configuration

API Key Issues

If you experience issues about Invalid or missing API key, please follow the solution below:
1

Get API key

2

Update configuration

3

Verify API key format

  • Should start with sk-user-
  • Should be 32+ characters long
  • No extra spaces or characters