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 🙏

© 2025 – Pkg Stats / Ryan Hefner

pointa-server

v0.3.0

Published

Global MCP server for Pointa browser extension

Readme

pointa-server

Global MCP server for Pointa browser extension.

Quick Start

No installation required! Just add the MCP server to your AI coding tool:

Cursor (Recommended)

  1. Open Cursor → Settings → Cursor Settings
  2. Go to the Tools & Integrations tab
  3. Click + Add new global MCP server
  4. Enter the following configuration and save:
{
  "mcpServers": {
    "pointa": {
      "command": "npx",
      "args": ["-y", "pointa-server"]
    }
  }
}

That's it! The server will auto-start when Cursor opens and works with the Chrome extension.


Port Configuration (Optional)

By default, the server runs on port 4242 (a nod to "42" - the answer to life, the universe, and everything 🌌).

If this port is already in use, you can change it:

# Use a custom port
POINTA_PORT=4243 pointa-server start

# Or set it permanently in your shell config
export POINTA_PORT=4243

Note: If you change the port, you'll also need to update:

  1. Chrome extension settings (to connect to the new port)
  2. Any custom configurations pointing to the server

Manual Server Management (Optional)

For advanced users who want to manually control the server:

Start the server

npx pointa-server start

The server will run in the background on port 4242.

Stop the server

npx pointa-server stop

Check server status

npx pointa-server status

Restart the server

npx pointa-server restart

View logs

npx pointa-server logs
# or follow logs
npx pointa-server logs -f

AI Coding Agent Integration

The server supports multiple AI coding tools via MCP (Model Context Protocol).

Claude Code

Option 1: Manual start (recommended for Claude Code):

# Start server once
npx pointa-server start

# Then add MCP connection
claude mcp add --transport http pointa http://127.0.0.1:4242/mcp

Option 2: Auto-start (experimental):

claude mcp add --command "npx -y pointa-server"

Cursor (Auto-start)

Recommended setup - server starts automatically:

{
  "mcpServers": {
    "pointa": {
      "command": "npx",
      "args": ["-y", "pointa-server"]
    }
  }
}

Alternative - manual server management:

First start the server manually: npx pointa-server start

Then use:

{
  "mcpServers": {
    "pointa": {
      "url": "http://127.0.0.1:4242/mcp"
    }
  }
}

Windsurf

Recommended setup - server starts automatically:

{
  "mcpServers": {
    "pointa": {
      "command": "npx",
      "args": ["-y", "pointa-server"]
    }
  }
}

Alternative - manual server management:

First start the server: npx pointa-server start

Then use:

{
  "mcpServers": {
    "pointa": {
      "serverUrl": "http://127.0.0.1:4242/mcp"
    }
  }
}

VS Code

  1. Install an AI extension that supports MCP (like GitHub Copilot Chat or Continue)
  2. Start the server manually: npx pointa-server start
  3. Configure your AI extension with the MCP endpoint: http://127.0.0.1:4242/mcp

Note: MCP support and configuration varies by AI extension. Check your extension's documentation for specific setup instructions.

Other Editors

For other code editors that support MCP:

If your editor supports command-based MCP:

{
  "mcpServers": {
    "pointa": {
      "command": "npx",
      "args": ["-y", "pointa-server"]
    }
  }
}

If your editor only supports URL-based MCP:

Start the server manually: npx pointa-server start

Then configure your editor with: http://127.0.0.1:4242/mcp

Note: The Pointa MCP server supports HTTP, SSE, and stdio transports for maximum compatibility.

Architecture

The server provides:

  • SSE Endpoint (/sse): For AI coding agent MCP connections
  • HTTP API (/api/annotations): For Chrome extension communication
  • Image Upload (/api/upload-image): For uploading annotation images
  • Health Check (/health): For status monitoring

Data is stored in:

  • Annotations: ~/.pointa/annotations.json
  • Images: ~/.pointa/images/{annotationId}/{filename}

Development

# Clone the repository
git clone <repo-url>
cd pointa/annotations-server

# Install dependencies
npm install

# Run in development mode
npm run dev

License

MIT