npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

shiptested-mcp

v0.2.2

Published

MCP server for ShipTested - AI-powered test generation for IDE integrations

Readme

shiptested-mcp

MCP (Model Context Protocol) server for ShipTested. Integrates AI-powered test generation, fixing, and analysis directly into your IDE through Cursor, Claude Code, Claude Desktop, and any MCP-compatible tool.

Quick Start

Install and run via npx:

npx shiptested-mcp

Or install globally:

npm install -g shiptested-mcp

Configuration

All requests are routed through the ShipTested API. Set your API key via the SHIPTESTED_API_KEY environment variable:

SHIPTESTED_API_KEY=sk_live_...
SHIPTESTED_API_URL=https://api.shiptested.app  # optional, this is the default

IDE Configuration

Claude Code

Create a .mcp.json file in your project root:

{
  "mcpServers": {
    "shiptested": {
      "command": "npx",
      "args": ["shiptested-mcp"],
      "env": {
        "SHIPTESTED_API_KEY": "sk_live_..."
      }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "shiptested": {
      "command": "npx",
      "args": ["shiptested-mcp"],
      "env": {
        "SHIPTESTED_API_KEY": "sk_live_..."
      }
    }
  }
}

Claude Desktop

Add to your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "shiptested": {
      "command": "npx",
      "args": ["shiptested-mcp"],
      "env": {
        "SHIPTESTED_API_KEY": "sk_live_..."
      }
    }
  }
}

Do not commit files containing API keys to version control. Use environment variables or add the config file to .gitignore.

Available Tools

analyze_project

Analyze a project's structure, detecting language, framework, test framework, and testable files.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | projectPath | string | No | Path to the project root. Defaults to cwd. |

list_testable_files

List files in the project that can have tests generated. Optionally filter to only untested files.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | projectPath | string | No | Path to the project root. Defaults to cwd. | | untestedOnly | boolean | No | If true, only return files without existing tests. |

generate_tests

Generate a test file for a given source file using AI.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | filePath | string | Yes | Path to the source file to generate tests for. | | projectPath | string | No | Path to the project root. Defaults to cwd. |

fix_tests

Fix a failing test file given the error output.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | testFilePath | string | Yes | Path to the failing test file. | | errorOutput | string | Yes | The error output from the test runner. | | sourceFilePath | string | Yes | Path to the source file being tested. | | projectPath | string | No | Path to the project root. Defaults to cwd. |

run_tests

Run a test file and return pass/fail status, test counts, and error output.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | testFilePath | string | Yes | Path to the test file to run. | | projectPath | string | No | Path to the project root. Defaults to cwd. |

generate_and_run

Full test generation loop: generate tests, run them, fix failures, and iterate until they pass.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | filePaths | string[] | Yes | Array of source file paths to generate tests for. | | projectPath | string | No | Path to the project root. Defaults to cwd. | | maxFixAttempts | number | No | Maximum fix iterations per file. Defaults to 3. |

Available Resources

shiptested://analysis

Returns the current project analysis including language, framework, test framework, testable files, and dependency graph. Results are cached for the session.

shiptested://runs/latest

Returns the latest test run results from the ShipTested dashboard. Only available in proxy mode (requires SHIPTESTED_API_KEY).

Available Prompts

test_strategy

Analyze a source file and suggest a comprehensive testing strategy based on the project context.

| Argument | Type | Description | |----------|------|-------------| | filePath | string | Path to the source file to analyze. |

review_test

Review an existing test file for completeness and correctness by comparing it against its source file.

| Argument | Type | Description | |----------|------|-------------| | testFilePath | string | Path to the test file to review. |

Requirements

  • Node.js >= 18
  • A ShipTested API key (SHIPTESTED_API_KEY)

License

MIT