wingman-cli
v1.0.0
Published
CLI for Wingman - Lightweight UX feedback assistant with local relay server
Maintainers
Readme
Wingman CLI
Lightweight UX feedback assistant with local relay server and MCP support for Claude Code.
Quick Start
npx wingman serveThis starts the Wingman relay server on http://localhost:8787 with:
- Annotation API for receiving UI feedback
- MCP integration for Claude Code
- Preview UI for viewing annotations
Installation
Global Installation (Recommended)
npm install -g wingman-cli
wingman serveUsing npx (No Installation)
npx wingman serveUsage
wingman serve [options]
Options:
-p, --port <number> Port to listen on (default: 8787)
-h, --host <address> Host/address to bind to (default: localhost)
--help Display help for commandFeatures
- Local Relay Server: Receives UI feedback annotations from the Wingman Chrome Extension
- MCP Integration: Built-in Model Context Protocol support for Claude Code
- Preview UI: Web interface for viewing captured annotations
- Zero Config: Works out of the box with sensible defaults
- Lightweight: Minimal dependencies, fast startup
Chrome Extension
The Wingman CLI works with the Wingman Chrome Extension to capture UI feedback.
- Install the Chrome Extension
- Start the relay server:
npx wingman serve - Click the Wingman icon in Chrome to capture feedback
- View annotations at
http://localhost:8787
Claude Code Integration
Add to your Claude Code settings:
{
"mcpServers": {
"wingman": {
"transport": "sse",
"url": "http://localhost:8787/mcp"
}
}
}This enables Claude Code to:
- List UI feedback annotations
- Review specific annotations with screenshots
- Process and fix UI issues automatically
API Endpoints
POST /annotations- Submit new annotationGET /annotations/last- Get most recent annotationGET /annotations/:id- Get specific annotationGET /mcp- MCP server endpoint (SSE)GET /- Preview UI
Development
# Clone the repository
git clone https://github.com/glamp/wingman-attempt-4.git
cd wingman-attempt-4/packages/cli
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run buildLicense
MIT
