@logbookfordevs/waypoint
v0.1.5
Published
Global MCP server for Logbook Waypoint browser extension
Maintainers
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 | bashOr install through npm:
npm install --global @logbookfordevs/waypointFor a one-off run, use npx @logbookfordevs/waypoint --help.
Usage
Start the server
waypoint startThe server will run in the background on port 3846.
Keep it attached to the current terminal for a temporary session or debugging:
waypoint start --foregroundStop the server
waypoint stopCheck server status
waypoint statusRestart the server
waypoint restartView logs
waypoint logs
# or follow logs
waypoint logs -fWatch 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 --globalAdd 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/sseCursor
- Open Cursor → Settings → Cursor Settings
- Go to the Tools & Integrations tab
- Click + Add new global MCP server
- Enter the following configuration and save:
{
"mcpServers": {
"logbook-waypoint": {
"url": "http://127.0.0.1:3846/mcp"
}
}
}Windsurf
- Navigate to Windsurf → Settings → Advanced Settings
- Scroll down to the Cascade section
- Click "Add new server" or edit the raw JSON config file
- 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
- Install an AI extension that supports MCP (like GitHub Copilot Chat or Continue)
- Go to Code → Settings → Settings or use the shortcut ⌘,
- In the search bar, type "MCP"
- Look for MCP server configurations in your AI extension settings
- 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 startLicense
MIT
Update your installation
waypoint update
waypoint restartThe 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.
