# Wishlist

A public board where your customers ask for features and vote on each other's requests. You set what's planned, building and shipped, voters hear when it ships, and your coding agent can read the list over MCP and build the top request.

## Switch it on

Open a site or app, then its **Wishlist** tab, choose an address and switch it on. The board lives at `pagebee.ai/wishlist/<address>`. Or ask your agent, in dev mode:

```text
Switch on the Pagebee wishlist for tally.studio at pagebee.ai/wishlist/tally, then add a "Request a feature" link to the footer.
```

Link the board from where your customers already are: the footer, your app's menu or settings, a support reply, a changelog.

## How voting works

- **No account, no cookie.** Anyone can ask, vote and comment.
- **Nothing is stored until someone acts.** The first time a person votes, asks or comments, the API returns a random voter token and the board keeps it in that browser's local storage, so it can show their votes next time. Pagebee stores only a SHA-256 of the token. Someone who only reads leaves nothing behind.
- **A name and an email are optional.** A name is shown with their request or comment. An email is never shown; it's used once, to say a request they voted for has shipped.
- **Never joined to anything else.** Voters aren't linked to your analytics, to the support messenger or to each other.
- **Votes are a signal, not a ballot.** Someone can vote again from another browser. Requests, votes and comments are limited per network to stop floods.

## Statuses and the roadmap

| Status | Means |
| --- | --- |
| Under review | New, not decided yet (the default) |
| Planned | You mean to build it. Routines build from here |
| Building | Someone, or something, is on it |
| Shipped | It's live. Voters who asked are emailed |
| Closed | You won't build it. Say why in a note |

Change a status on the request's page with a note: the note is posted as a team comment, marked with the new status, and voters see it. The board's **Roadmap** tab shows planned, building and shipped.

## Keeping it tidy

- **Similar requests** appear while someone types, with their vote buttons, so most people vote instead of asking again.
- **Merge** a duplicate into the request you keep. Its votes move across (each person counted once), its page redirects, and the kept request lists what was merged into it.
- **Approve new requests first** holds requests from the board until you approve them. Approve or hide them from the **To approve** filter.
- **Hide** a request or a comment to take it off the board without deleting it.
- **Add a vote for someone** who asked in support or by email: on the request's page, or with `voter_email` over MCP. They're emailed when it ships.

## When it ships

Moving a request to **shipped**:

- emails each voter who left an email and asked to hear, once per request, with your note. This needs email to be on for Pagebee and counts toward your workspace's [support sending limits](/docs/messenger);
- posts "Shipped: ..." to a `wishlist` channel in the [live feed](/docs/live-feed). New requests from the board post there too.

Untick the email box (or pass `notify: false` over MCP) to ship quietly.

## Over MCP

Every MCP mode can read the wishlist. Dev mode can change it.

| Tool | Mode | What it does |
| --- | --- | --- |
| `list_wishlist` | Every mode | Requests by votes, newest or trending, filtered by status or words |
| `get_wishlist_request` | Every mode | One request in full with comments and voters, plus `brief`, a build brief in markdown |
| `set_up_wishlist` | Dev | Switch the board on, or change its address, title, intro and approval setting |
| `add_wishlist_request` | Dev | Add a request, with the person who asked as its first voter |
| `update_wishlist_request` | Dev | Status with a note, edit, approve, hide, or add a vote by email |
| `merge_wishlist_requests` | Dev | Merge a duplicate into the request to keep |

Ask things like:

```text
What are customers asking for most on the Tally wishlist this month?
Someone in support asked for CSV export. Add their vote: sam@harbour.co.
Mark #12 shipped and say it's in the Reports menu.
```

## Routines

A routine is a prompt your agent runs on a schedule. This one builds the most voted planned request, marks it building, opens a pull request, and marks it shipped once you've merged it. The Wishlist tab shows it with your site's id filled in.

```text
Every weekday at 9am: use the Pagebee MCP to read the wishlist for Tally (site <your site id>).
Take the most voted request with status "planned". If none, stop.
Call get_wishlist_request for its build brief, then update_wishlist_request with status "building" and a short note.
Build it on a new branch in this repo, run the tests, and open a pull request that links the request.
When a pull request for a wishlist request has been merged and deployed, set it to "shipped" with a note in plain words saying what changed.
```

You stay in charge: the agent only builds what you've marked planned, and nothing ships until you merge. A key in dev mode is needed to change statuses; a read-only key can still read the list and write the code.

### Claude Code

Connect Pagebee once (see [MCP](/docs/mcp)), then in the repo run `/schedule` and paste the prompt to make it a routine that runs in the cloud on your schedule. To run it on your own machine instead, use `/loop` with an interval.

### Codex and Cursor

Connect Pagebee in Codex or Cursor (see [MCP](/docs/mcp)), then start the prompt as a Codex cloud task or a Cursor background agent, by hand or from a scheduled job.

### GitHub Actions

Add a dev-mode Pagebee API key as the repository secret `PAGEBEE_KEY` and an Anthropic API key as `ANTHROPIC_API_KEY`, then add this workflow:

```yaml
name: Build from the wishlist
on:
  schedule:
    - cron: "0 9 * * 1-5"
  workflow_dispatch:
permissions:
  contents: write
  pull-requests: write
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Connect Pagebee
        run: |
          cat > .mcp.json <<'JSON'
          { "mcpServers": { "pagebee": { "type": "http", "url": "https://api.pagebee.ai/mcp",
            "headers": { "Authorization": "Bearer ${PAGEBEE_KEY}" } } } }
          JSON
      - name: Build the top planned request
        env:
          ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
          PAGEBEE_KEY: ${{ secrets.PAGEBEE_KEY }}
          GH_TOKEN: ${{ github.token }}
        run: |
          npx -y @anthropic-ai/claude-code -p "$(cat .github/wishlist-routine.md)" \
            --mcp-config .mcp.json --permission-mode acceptEdits \
            --allowedTools "mcp__pagebee,Bash(git:*),Bash(gh pr create:*),Bash(npm test:*)"
```

Keep the routine prompt in `.github/wishlist-routine.md`. The agent opens a pull request for your review; once it's merged and deployed, the next run marks the request shipped.

## Public API

The board is also a JSON API, so you can draw it in your own app. Any origin can call it, without credentials.

| Method and path | What it does |
| --- | --- |
| `GET /v1/wishlists/<address>` | The board: title, intro, counts by status and requests. `sort` (top, new or trending) and `status` in the query |
| `GET /v1/wishlists/<address>/similar?q=...` | Requests like the text, for duplicate suggestions |
| `GET /v1/wishlists/<address>/requests/<number>` | One request with its comments |
| `POST /v1/wishlists/<address>/requests` | Ask: `{ "title", "body"?, "name"?, "email"?, "notify"? }`. The asker's vote is added |
| `POST /v1/wishlists/<address>/requests/<number>/vote` | Vote: `{ "email"?, "notify"? }` |
| `DELETE /v1/wishlists/<address>/requests/<number>/vote` | Take a vote back |
| `POST /v1/wishlists/<address>/requests/<number>/comments` | Comment: `{ "body", "name"? }` |

Send the voter token in the `X-Pagebee-Voter` header. The first vote, request or comment from a browser without one returns a new token as `voter_token` in the body (and in the `X-Pagebee-Voter` response header): keep it, and only then. Limits: 6 new requests an hour, 60 votes a minute and 10 comments in 10 minutes per network.
