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

@logbookfordevs/waypoint

v0.1.5

Published

Global MCP server for Logbook Waypoint browser extension

Readme

waypoint

Global MCP server for Logbook Waypoint browser extension.

Installation

Install the latest checksummed release directly:

curl -fsSL https://waypoint.logbookfordevs.com/install.sh | bash

Or install through npm:

npm install --global @logbookfordevs/waypoint

For a one-off run, use npx @logbookfordevs/waypoint --help.

Usage

Start the server

waypoint start

The server will run in the background on port 3846.

Keep it attached to the current terminal for a temporary session or debugging:

waypoint start --foreground

Stop the server

waypoint stop

Check server status

waypoint status

Restart the server

waypoint restart

View logs

waypoint logs
# or follow logs
waypoint logs -f

Watch one project

Run a foreground Watch consumer for a loopback project, Page, or View State:

waypoint watch http://localhost:3000/

Use --json for complete NDJSON MCP result envelopes and --once for one bounded result. Resume from the cursor of the last envelope the downstream consumer actually processed:

waypoint watch http://localhost:3000/ --json --once --cursor '<opaque-cursor>'

The command reconnects with bounded backoff and reads from the existing durable Watch journal. It is a foreground consumer, not another daemon or event store. Whether its output wakes an idle agent remains a capability of the coding-agent harness.

AI Coding Agent Integration

After starting the server, connect it to your AI coding agent. The server supports multiple agents via MCP (Model Context Protocol) using both HTTP and SSE transports.

Recommended: Add MCP

The fastest setup for supported coding agents is Add MCP:

npx add-mcp http://127.0.0.1:3846/mcp --name logbook-waypoint --global

Add MCP detects supported agents and guides you through the configurations it will update. The --global option makes Waypoint available across projects. It configures the MCP connection but does not install or start Waypoint, so run waypoint start first.

Manual configuration

Claude Code

In your project directory, run:

# Recommended (HTTP transport - more stable)
claude mcp add --transport http logbook-waypoint http://127.0.0.1:3846/mcp

# Alternative (SSE transport - for compatibility)
claude mcp add --transport sse logbook-waypoint http://127.0.0.1:3846/sse

Cursor

  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": {
    "logbook-waypoint": {
      "url": "http://127.0.0.1:3846/mcp"
    }
  }
}

Windsurf

  1. Navigate to Windsurf → Settings → Advanced Settings
  2. Scroll down to the Cascade section
  3. Click "Add new server" or edit the raw JSON config file
  4. Add the following configuration:
{
  "mcpServers": {
    "logbook-waypoint": {
      "serverUrl": "http://127.0.0.1:3846/mcp"
    }
  }
}

Codex

Add to ~/.codex/config.toml:

[mcp_servers.logbook-waypoint]
url = "http://127.0.0.1:3846/mcp"

Pi

Pi uses MCP through an extension. After installing one, add to ~/.pi/agent/mcp.json:

{
  "mcpServers": {
    "logbook-waypoint": {
      "url": "http://127.0.0.1:3846/mcp"
    }
  }
}

OpenCode

Add to ~/.config/opencode/opencode.json:

{
  "mcp": {
    "logbook-waypoint": {
      "type": "remote",
      "url": "http://127.0.0.1:3846/mcp",
      "enabled": true
    }
  }
}

VS Code

  1. Install an AI extension that supports MCP (like GitHub Copilot Chat or Continue)
  2. Go to Code → Settings → Settings or use the shortcut ⌘,
  3. In the search bar, type "MCP"
  4. Look for MCP server configurations in your AI extension settings
  5. Add the following HTTP configuration:
{
  "mcpServers": {
    "logbook-waypoint": {
      "type": "http",
      "url": "http://127.0.0.1:3846/mcp"
    }
  }
}

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

Other Editors

Other editors and tools can connect when they support MCP over streamable HTTP or legacy SSE. Check the client's documentation for its exact configuration shape. Prefer the HTTP endpoint when both transports are available:

{
  "mcpServers": {
    "logbook-waypoint": {
      "url": "http://127.0.0.1:3846/mcp"
    }
  }
}

Note: The Logbook Waypoint MCP server supports both HTTP and SSE transports. HTTP transport is recommended for better stability. Use the URL: http://127.0.0.1:3846/mcp (HTTP) or http://127.0.0.1:3846/sse (SSE).

Architecture

The server provides:

  • MCP HTTP Endpoint (/mcp): Recommended streamable HTTP connection for coding agents
  • SSE Endpoint (/sse): For AI coding agent MCP connections
  • HTTP API (/api/annotations): For Chrome extension communication
  • Health Check (/health): For status monitoring

The HTTP API and MCP tools share one Annotation lifecycle: Pending Annotations may be claimed, Claims may be refreshed by the same owner or released, and Claimed Annotations may be resolved. Pending or owner-claimed Annotations may be discarded. Resolved and Discarded records are retained; deletion is a separate permanent operation.

Annotation context workflow

Use read_annotations to receive user requests from the Queue. Continue from the scoped read through Claim, implementation, verification, and resolution or safe release unless the user explicitly requests a read-only or observation-only result. Saying “read my annotations” alone still requests the normal implementation workflow. An unfiltered call discovers projects without returning Annotation bodies, even when only one project exists. Select one recommended URL filter and repeat the read. Scoped reads return compact summaries normalized across legacy single-Target and multi-Target records. Compact describes response size, not an incomplete brief: Survey should usually provide enough context to implement the request. The Read call itself is side-effect-free and does not create a Claim.

Use inspect_annotations with one or more Annotation IDs when selected work needs complete diagnostic context such as computed styles, exact placement, full ancestry, Source Identity hints, or Target relationships. Batch IDs for Annotations being understood or implemented together. Inspection is optional when the compact summary already makes the work clear.

Survey and Inspect report screenshot and attachment availability without embedding media bytes. Retrieve a screenshot or attachment separately when its evidence is needed. The canonical Annotation Context contract defines the projection, batching, compatibility, and trust boundaries.

See Use Waypoint through MCP for the normal workflow, concrete calls, response boundary, and complete 20-tool reference.

Design Actions workflow

Impeccable is an external dependency for executing Design Actions. Waypoint does not install it, detect it, or promise compatibility with a particular coding agent or future Impeccable version.

Developers author the request in the browser extension. See Use Design Actions for the action catalog, authoring flow, Variant behavior, and user-visible recovery states.

Waypoint owns the workflow and lifecycle. Design Intent records Freeform or one named Design Action on an ordinary Annotation. Variant Intent separately asks an agent to generate alternatives; once complete browser-presentable candidates exist, Waypoint owns the resulting Variant Set, Active Variant, atomic candidate replacement, cancellation, and Finalization decision. The coding agent removes temporary source Scaffold after Keep or Cancel.

An unavailable workflow or recoverable execution failure returns the Annotation to Pending with the latest safe Work Notice. A successful Design Action requires and retains a provider-neutral Resolution Record with its outcome and verification evidence; ordinary Annotations resolve without one. Application routes and repository-relative source paths are valid evidence, while machine-specific absolute paths and provider-internal material are not. When Variant Intent produced a Variant Set, that set must reach Finalization before resolution. Survey returns compact Queue context, Inspect returns complete selected evidence, and Watch reactively delivers that same Survey-grade context with revision metadata.

Data is stored in ~/.logbook-waypoint/annotations.json.

Development

# From the repository root
pnpm install
pnpm --filter @logbookfordevs/waypoint start

License

MIT

Update your installation

waypoint update
waypoint restart

The update command detects npm global installations and GitHub installer installations and updates through the same channel. Older GitHub installs need one rerun of their original installer command to enable detection. Source checkouts and other package managers should use their original update workflow. Reconnect your agent if it launches the MCP server directly. Browser extension updates are separate.