@testsprite/testsprite-mcp

0.0.13 • Public • Published

TestSprite MCP Server

npm version license downloads

Let your AI code - we'll make it work

This npm package provides the Model Context Protocol (MCP) server for TestSprite, enabling AI assistants in your IDE to automatically test, debug, and fix your code. No manual test writing, no complex prompts, no testing expertise required.

✨ Recognition: TestSprite has been recognized as one of the Top 10 AI tools of 2025 on Product Hunt.

Prerequisites

Before getting started, ensure you have:

What This Package Provides

  • MCP Server - Model Context Protocol server for IDE integration
  • One-Command Testing - Just say "Help me test this project with TestSprite"
  • AI-Driven - Automatically generates PRDs, test plans, and test code
  • IDE Integration - Works with Cursor, VSCode, and other MCP-compatible editors
  • Cloud Execution - Tests run in secure TestSprite cloud environments

For detailed features and capabilities, see our full documentation.

10-Minute Demo Video

TestSprite MCP Demo

Watch TestSprite automatically test an entire project with just one command.

Installation

NPM Installation

# Global installation (recommended)
npm install -g @testsprite/testsprite-mcp@latest

# Or use directly with npx
npx @testsprite/testsprite-mcp@latest

IDE Configuration

Add TestSprite MCP Server to your IDE's MCP configuration:

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

For detailed setup instructions for your specific IDE:

Usage

Once configured, simply drag your project into the chat and say:

Help me test this project with TestSprite

TestSprite will automatically:

  1. Analyze your code structure and provided PRD
  2. Generate test plans and test code
  3. Execute tests in the cloud
  4. Provide detailed results and fix suggestions

For comprehensive usage examples and advanced features, see our documentation.

What TestSprite Tests

  • Functional Testing - Core business logic and user workflows
  • Error Handling Testing - Exception handling and error recovery
  • Security Testing - Vulnerability scanning and security validation
  • Authorization & Authentication - User permissions and access control
  • Boundary Testing - Input validation and data limits
  • Edge Case Testing - Unusual scenarios and corner cases
  • Response Content Testing - Data validation and format verification
  • UI/UX Testing - User interface interactions and user experience flows

Supported Technologies: React, Vue, Angular, Svelte, Next.js, Node.js, Python, Java, Go, Express, FastAPI, Spring Boot, REST APIs, and more.

For complete testing capabilities and supported frameworks, see our documentation.

Example Output

TestSprite Analysis Complete

Generated:
├── Standardized Product Requirements Document (PRD)
├── 16 Frontend Test Cases  
├── 12 Backend Test Cases
├── Tests Execution Reports
└── Comprehensive Test Plan

Coverage: 90%+ Designed Features Delivered

Troubleshooting

Common Issues:

  • MCP Server Not Connecting: Check installation with npm list -g @testsprite/testsprite-mcp
  • API Key Issues: Verify your API key in TestSprite API Key Page
  • IDE Integration: Restart your IDE after configuration changes

For detailed troubleshooting, see our troubleshooting guide.

Getting Help

/@testsprite/testsprite-mcp/

    Package Sidebar

    Install

    npm i @testsprite/testsprite-mcp

    Weekly Downloads

    3,917

    Version

    0.0.13

    License

    BUSL-1.1

    Unpacked Size

    4.84 MB

    Total Files

    48

    Last publish

    Collaborators

    • lrui_ts
    • sherryyang