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

@cue-vin/mcp

v0.1.2

Published

MCP server exposing cue capabilities as tools for AI agents

Downloads

457

Readme

@cue-vin/mcp

MCP server exposing cue capabilities as tools for AI agents. Runs on stdio transport, compatible with Claude Desktop, Cursor, and any MCP-compatible client. Provides tools to generate, validate, export, and query demo analytics.

Install

npm install @cue-vin/mcp

Quick Start

Claude Desktop / Cursor Integration

Add to your MCP client configuration:

{
  "mcpServers": {
    "cue": {
      "command": "npx",
      "args": ["cue-mcp"]
    }
  }
}

Programmatic Usage

import { createServer, startMcpServer } from "@cue-vin/mcp";

// Start on stdio (for MCP client integration)
await startMcpServer();

// Or create a configured server instance
const server = createServer();

Tools

cue_generate

Generate a DemoScript JSON from a list of features. Delegates to @cue-vin/core's generate() function.

Parameters:

| Name | Type | Required | Description | |------|------|----------|-------------| | id | string | Yes | Unique identifier for the demo. | | title | string | Yes | Display title of the demo. | | features | array | Yes | Ordered list of features. Each becomes one DemoStep. | | features[].name | string | Yes | Feature name (slugified into step id). | | features[].description | string | Yes | Short description — becomes step caption. | | features[].screenshotPath | string | No | Path or URL to a screenshot image. | | defaultDuration | number | No | Auto-advance duration per step in ms. Default: 4000. |

Returns: DemoScript JSON string.

cue_validate

Validate a DemoScript JSON object. Returns { valid: boolean, errors: string[] }.

Parameters:

| Name | Type | Required | Description | |------|------|----------|-------------| | script | object | Yes | DemoScript JSON to validate. Must have id, title, steps[] with id. |

Returns: JSON with { valid, errors }.

cue_export_html

Export a DemoScript to a self-contained HTML file that embeds the cue player.

Parameters:

| Name | Type | Required | Description | |------|------|----------|-------------| | script | object | Yes | DemoScript JSON object. | | title | string | No | Page title. Defaults to script.title. | | width | number | No | Artboard width. Default: 840. | | height | number | No | Artboard height. Default: 520. |

Returns: Complete HTML string that can be written to a .html file.

cue_get_stats

Query analytics stats for a demo from a running @cue-vin/analytics-server.

Parameters:

| Name | Type | Required | Description | |------|------|----------|-------------| | demoId | string | Yes | Demo identifier to query. | | endpoint | string | No | Analytics server URL. Default: http://localhost:3001. |

Returns: DemoStats JSON (totalViews, completionRate, avgStepsReached, stepDropoff, hotspotClicks).

Exports

| Export | Kind | Description | |--------|------|-------------| | createServer | Function | () => McpServer — create and configure the MCP server with all tools registered. | | startMcpServer | Function | () => Promise<void> — create server and connect on stdio transport. |

Dependencies

  • @cue-vin/coregenerate(), validateDemoScript(), DemoScript type
  • @cue-vin/player — referenced for HTML template (CDN URL), not directly imported
  • @modelcontextprotocol/sdk — MCP server SDK
  • zod — tool parameter schema validation