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

gosnap-mcp

v0.1.0

Published

MCP server for UI feedback processing by AI agents

Downloads

8

Readme

gosnap-mcp

MCP (Model Context Protocol) server for UI feedback processing by AI agents.

Receives UI annotations/feedback via HTTP API and exposes them to AI agents (Claude Code, Cursor, Copilot, Windsurf, Codex, etc.) through MCP tools.

Quick Start

npx gosnap-mcp

This starts both:

  • MCP server on stdio (for AI agent communication)
  • HTTP API on http://127.0.0.1:4747 (for receiving feedback)

Installation

npm install -g gosnap-mcp

Agent Configuration

All MCP-compatible agents use a similar JSON config:

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

Auto-setup

npx gosnap-mcp init

Detects installed agents and writes config automatically.

Config locations

| Agent | Config File | |-------|------------| | Claude Code | ~/.claude/mcp.json | | Cursor | .cursor/mcp.json | | VS Code / Copilot | .vscode/mcp.json | | Windsurf | .codeium/windsurf/mcp_config.json |

MCP Tools

| Tool | Description | |------|-------------| | list_sessions | List all active feedback sessions | | get_pending_feedback | Get unresolved feedback (optionally by session) | | acknowledge_feedback | Mark feedback as seen | | resolve_feedback | Mark as resolved with summary | | dismiss_feedback | Reject with reasoning |

HTTP API

| Method | Endpoint | Description | |--------|----------|-------------| | POST | /api/feedback | Submit new feedback | | POST | /api/webhook | Widget sync (SyncPayload) | | GET | /api/sessions | List all sessions | | GET | /api/sessions/:id | Get session with feedbacks | | GET | /api/health | Health check |

Submit feedback

curl -X POST http://127.0.0.1:4747/api/feedback \
  -H 'Content-Type: application/json' \
  -d '{
    "comment": "Fix the button color",
    "pageUrl": "https://example.com/page",
    "intent": "fix",
    "severity": "important"
  }'

CLI Commands

| Command | Description | |---------|-------------| | npx gosnap-mcp | Start servers (default) | | npx gosnap-mcp server | Start servers | | npx gosnap-mcp server --port 8080 | Custom HTTP port | | npx gosnap-mcp server --mcp-only | MCP only, no HTTP | | npx gosnap-mcp init | Auto-configure agents | | npx gosnap-mcp doctor | Verify setup |

Programmatic Usage

import { startServer } from 'gosnap-mcp';

await startServer({ port: 4747, mcpOnly: false });

License

MIT