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

@smartcase/mcp

v0.3.0

Published

SmartCase MCP server — expose AI-generated QA test suites to any MCP-compatible IDE or CI/CD pipeline

Downloads

86

Readme

@smartcase/mcp

SmartCase MCP server — expose AI-generated QA test suites to Cursor, Claude Desktop, and CI/CD pipelines via the Model Context Protocol.

Quick Start

1. Create an API Key

Go to Settings → API Keys in your SmartCase account and create a new key (sk-smrt-...).

2. Configure your IDE

Cursor / Claude Desktop

Add to your mcp.json (Cursor: ~/.cursor/mcp.json, Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "smartcase": {
      "command": "npx",
      "args": ["-y", "@smartcase/mcp"],
      "env": {
        "FLOWSPECQA_API_KEY": "sk-smrt-your-key-here",
        "FLOWSPECQA_BASE_URL": "https://www.flowspecqa.com"
      }
    }
  }
}

Restart Cursor/Claude and the SmartCase tools will appear automatically.


Available Tools

| Tool | What it does | |---|---| | list_entities | List entities (HU-xxx) in a project with their spec review status | | get_test_suite | Fetch all generated test files for a run ID | | generate_suite | Trigger AI generation for an entity, returns a run_id | | setup_and_run | Download suite + generate playwright.config.ts with HTML & JSON reporters | | push_results | Push test execution results back to SmartCase |

Example agent prompt (Cursor)

Use SmartCase to generate and run a Playwright suite for entity HU-042 in project abc-123
against https://staging.myapp.com. Push the results when done.

The agent will: generate_suite → setup_and_run → write files → run Playwright → push_results.


CI/CD — GitHub Actions

name: SmartCase + Playwright

on: [push]

jobs:
  run-tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Fetch test suite from SmartCase
        env:
          FLOWSPECQA_API_KEY: ${{ secrets.FLOWSPECQA_API_KEY }}
          FLOWSPECQA_BASE_URL: https://www.flowspecqa.com
        run: |
          npx -y @smartcase/mcp get-suite \
            --run-id ${{ vars.SMARTCASE_RUN_ID }} \
            --output ./tests/generated

      - name: Install Playwright
        run: npx playwright install --with-deps

      - name: Run tests
        run: npx playwright test ./tests/generated --reporter=json > results.json

      - name: Push results to SmartCase
        env:
          FLOWSPECQA_API_KEY: ${{ secrets.FLOWSPECQA_API_KEY }}
        run: |
          npx @smartcase/mcp push-results \
            --run-id ${{ vars.SMARTCASE_RUN_ID }} \
            --results-file results.json

Environment Variables

| Variable | Required | Default | |---|---|---| | FLOWSPECQA_API_KEY | ✅ Yes | — | | FLOWSPECQA_BASE_URL | No | https://www.flowspecqa.com |


Local Development

git clone https://github.com/pablomra/smartcase.git
cd flowspecqa-mcp
npm install
npm run build

# Test with MCP Inspector
FLOWSPECQA_API_KEY=sk-smrt-... npx @modelcontextprotocol/inspector node dist/index.js

Score Semantics

| Score | Meaning | |---|---| | Design Score | Code quality · maintainability (0–100) | | Run-Ready Score | 100 = zero BLOCKERs, safe to execute; <100 = fix issues first |

get_test_suite will warn you if the suite has BLOCKERs before you run it.