The stable command surface for launch.
Pincushion exposes a local CLI, slash-command prompts, MCP tools, and a local health endpoint. This page documents the parts you can rely on in the repo today without advertising internal transport endpoints as a public API.
CLI usage
npx pincushion-mcp [--project-dir /path/to/project]
[--sync-url https://...]
[--api-key KEY]
[--license-key KEY]
[--cloud-sync]
[--rest --port 3456]
--rest --port 3456 exposes a local health check and bridge for tools that cannot speak MCP directly. The transport used by MCP clients is intentionally not documented here as a public HTTP API.
Slash commands
These are the built-in prompt surfaces shipped for MCP-aware IDEs.
| Command | Purpose |
|---|---|
| /pins | Show all open feedback pins grouped by page. |
| /my-pins @username | Filter pins where a given user has been @mentioned. |
| /resolve <pin-id> | Claim and resolve a feedback pin. |
| /feedback-summary | Return a project-wide feedback overview. |
| /setup | Register project URLs so the extension auto-activates. |
| /implement | Pull stakeholder-approved pins, create branches, and implement them. |
Supported MCP tools
This is the launch-ready public surface exposed by pincushion-mcp.
| Tool | Purpose |
|---|---|
| get_annotations | List feedback pins from the local .feedback directory with filters. |
| search_annotations | Full-text search across comments, selectors, component names, and tags. |
| get_feedback_summary | Roll up open feedback counts by status, page, and component. |
| get_component_feedback | Summarize feedback targeting a specific component. |
| get_actionable_pins | Return the developer queue for review, follow-up, and auto-agent modes. |
| implement_approved_pins | Fetch the stakeholder-approved work queue, grouped into implementation packets (one packet per page URL with aggregated selectors + pin count). |
| get_implementation_packet | Get a single implementation packet for one page URL — used to batch-fix one page at a time. |
| claim_pin | Mark an approved pin as being worked on. |
| approve_pin | Move a pin from open to approved. |
| assign_pin_to_agent | Dispatch a pin straight to your local coding agent via the .feedback/.agent-queue/ trigger file. Auto-promotes the pin to ready + marks pending_implementation. |
| fix_and_resolve, resolve_annotation | Close the loop after the fix lands. fix_and_resolve accepts optional commitSha, branchName, and prUrl so the dashboard can show "Resolved in PR #142". |
| link_pin_deploy | Link a deploy URL to a resolved pin (typically called by the deploy-hook). Stakeholders see "Deployed to <url>" on the pin. Pro/Team feature when auto-triggered by the deploy-hook. |
| record_pin_verification | Record Pincushion AI's post-deploy verdict (verified / regressed / inconclusive) on a resolved pin. Pro/Team feature when run via the deploy-triggered critique queue. |
| get_time_to_fix_metrics | Compute median + p25/p75 time-to-fix for resolved pins. Pro/Team only for the full payload — Free tier sees sample size + upgrade hint (minimum 5 pins regardless). |
| add_agent_reply | Add a thread reply without resolving the pin. |
| configure_project | Associate project URLs with the extension activation rules. |
| get_setup_instructions | Return launch-ready connection instructions for supported IDEs. |
Local health endpoint
npx pincushion-mcp --rest --port 3456
curl http://localhost:3456/health
Use the health endpoint to verify that the local bridge is alive. It is the only HTTP endpoint documented here. Tool invocation over HTTP remains an internal transport detail for MCP clients, not a public integration contract.