ClickAndSay

ウェブサイトの視覚的なフィードバック(要素セレクター、クリック位置、DOM、コンソールエラー、スクリーンショット)をClaude Code、Claude Desktop、またはCursorに取り込み、修正して、同じカードで報告します。

ドキュメント

clickandsay-mcp

M8ven Score

An MCP server that puts your ClickAndSay feedback queue inside Claude Code, Claude Desktop, Cursor, or any other MCP client. Your client marks something on their site; your coding agent gets the card with the exact CSS selector, the click point inside the element, the element's own HTML, the console errors from that moment, the screenshot and, on 3D/canvas pages, the scene state the reporter was looking at. Then it reports the fix back to the same card.

Seven tools: create_project, list_projects, list_feedback, get_feedback, get_screenshot, update_status, reply. The skill/ folder holds a ready skill for Claude Code, a Cursor rule and an AGENTS.md snippet that connect every site your agent builds (section 7).

Runs over stdio, needs Node 18 or newer, one dependency (@modelcontextprotocol/sdk).


1. Get an API key

Sign in to the ClickAndSay admin (https://clickandsay.com/admin) as the account that owns the projects. In the header, press "Connect your AI" (German: KI verbinden). That opens the #ai panel:

  • no key yet → "Create key". The key is shown once and starts with pk_live_. Copy it now; the server stores only a hash.
  • a key already exists → you see its prefix, plus "Replace key" (the old one stops working immediately) and "Revoke key".

The same panel also hands you a ready-made SKILL.md for your project.

The key is deliberately narrow: it reaches only the projects owned by your account, and only the actions this server needs (read the queue, update a card, close a round, fetch a screenshot, create a project). It cannot edit or delete projects, cannot read another account's data, and cannot touch account settings. A project it creates always belongs to the key's own account. It is rate-limited to 120 requests per minute.

The AI connection is part of the Studio and Agency plans. See section 5 for what happens on other plans.

2. Install

Claude Code

claude mcp add clickandsay -e CLICKANDSAY_API_KEY=pk_live_your_key_here -- npx -y github:beriki770-ship-it/clickandsay-mcp

Check it came up with claude mcp list.

Claude Desktop

Settings → Developer → Edit Config, then add to claude_desktop_config.json and restart Claude Desktop:

{
  "mcpServers": {
    "clickandsay": {
      "command": "npx",
      "args": ["-y", "github:beriki770-ship-it/clickandsay-mcp"],
      "env": { "CLICKANDSAY_API_KEY": "pk_live_your_key_here" }
    }
  }
}

Cursor

~/.cursor/mcp.json (global, recommended) or .cursor/mcp.json (per project), same block. A per-project .cursor/mcp.json that contains your key must never be committed: add it to .gitignore, or keep the key in the user-level file or in an environment variable set outside the repository. To get a fixed version instead of the latest commit, pin a tag: github:beriki770-ship-it/clickandsay-mcp#v0.3.0.

{
  "mcpServers": {
    "clickandsay": {
      "command": "npx",
      "args": ["-y", "github:beriki770-ship-it/clickandsay-mcp"],
      "env": { "CLICKANDSAY_API_KEY": "pk_live_your_key_here" }
    }
  }
}

Any other MCP client

Command npx -y github:beriki770-ship-it/clickandsay-mcp, transport stdio, environment variable CLICKANDSAY_API_KEY.

Environment

VariableRequiredDefault
CLICKANDSAY_API_KEYyes—
CLICKANDSAY_BASEnohttps://clickandsay.com

The product used to be called Pinpoint. PINPOINT_API_KEY and PINPOINT_BASE are still read when the new names are not set, so an older config keeps working.

3. What a session looks like

You: fix the top feedback card on Salon Marlene

The agent, on its own:

  1. list_feedback({project: "Salon Marlene"}) → the open cards, newest first:

    { "id": "fx6a8eefd71d06889fe4b", "status": "new", "category": "improvement",
      "note": "Die Überschrift ist zu klein am Handy",
      "page": "/index.html", "hasScene": false }
    
  2. get_feedback({id: "fx6a8eefd71d06889fe4b"}) → the fix bundle:

    "anchor": { "v": 2, "fxid": null,
                "selector": "div[data-area=\"hero\"] > h1",
                "frag": { "tag": "h1", "text": "schöne haare, gutes gefühl." },
                "struct": "body > div:nth-of-type(1) > h1",
                "rel": { "x": 0.5, "y": 0.49 } },
    "element": { "tag": "h1", "html": "<h1>Schöne Haare, gutes Gefühl.</h1>" },
    "env": { "viewport": { "w": 390, "h": 844 }, "dpr": 3, "consoleErrors": [] },
    "source": { "dataArea": "hero", "dataSrc": "sections/hero.html" }
    
  3. update_status({id, status: "progress"}), then it opens sections/hero.html, finds the h1 by that selector, and fixes the mobile type scale. Ambiguous? get_screenshot({id}) shows the pin on the element. Still ambiguous? reply({id, text}) asks the client and parks the card at waiting-client.

  4. update_status({id, status: "done"}) — the card turns green in the client's portal. No e-mail goes out on its own: you tell the client from the board ("Notify client"), one mail per reporter for everything done since the last time.

4. Tool reference

ToolArgumentsReturns
create_projectname, siteUrl, language? (de | en | he | page)a new project in the key's own account: token, name, site URL, the one <script> tag to paste before </body>, the feedback link for the client, the install link and the portal link. Write key only
list_projects—every project this key reaches: token, name, site URL, active, card counts per status
list_feedbackproject (token or exact name), status?compact cards: id, status, category, hasScene, and thirdPartyContent: {note, page}
get_feedbackidthe full bundle. Our own fields at the top (id, project, status, category, our questions, report); everything a visitor wrote or the widget read off the site inside thirdPartyContent: reporter, note, wish, page url/path/title, anchor v2, element html/text/rect, env (viewport, dpr, ua, console errors), source (data-area/data-src), scene snapshot, the client's thread entries
get_screenshotidthe client's screenshot with the pin drawn on the element, as an MCP image (JPEG)
update_statusid, status: received | progress | doneconfirmation. Maps to ClickAndSay's own new / in-progress / done; sends no e-mail (the client is told from the board, "Notify client")
replyid, text, confirm?appends your question to the card thread, moves it to waiting-client, emails the client a portal link; needs confirm: true the same way

status on list_feedback accepts either vocabulary: received|progress|done or the raw new|in-progress|done|waiting-client.

Anchor v2 — why there are four selectors

A CSS selector alone dies the first time the site is rebuilt with hashed class names. Every card carries four independent ways back to the same element plus the click point, so the agent can pick whichever survives your build:

  • fxid — nearest [data-fx-id] ancestor. Add data-fx-id to your important sections and nothing can ever break the link.
  • selector — the full CSS path (with the shadow-host chain, if any).
  • frag — tag + the first 60 characters of the element's own text. Survives class churn.
  • struct — a class-free, tag-only nth-of-type path. Survives copy changes.
  • rel — where inside the element they clicked, as a fraction of its box. On a full-width hero, this is the difference between "the headline" and "the button in the corner".

The 3D bundle

If the client marked something inside a <canvas> on a page that implements the scene bridge (docs/SCENE-BRIDGE.md), the card also carries:

"scene": { "id": "gehaeuse", "point": [0.132, 0.041, -0.087], "label": "Gehäuse",
           "snap": { "camera": {...}, "state": { "explode": 0.35, "xray": false }, "chapter": 3 } }

snap is your site's own opaque state blob. Feed it to window.__FX_SCENE__.restore(snap) and the page jumps back to exactly the view the client was complaining about.

Creating a project

create_project calls POST api.php?action=client with {name, site, lang}. The server keeps exactly those three fields and ignores everything else, so an agent cannot pick an owner, an organisation or an existing project: the owner is the key's account (for a member of an organisation, the same rule as "New project" in the app). It refuses an IP address, localhost, internal names and ports in siteUrl, and the same plan limit as the app applies, plus 10 new projects per hour per key. Reuse a project from list_projects with the same host before making a new one.

5. Safety

Card text (note, wish, thread, element HTML, page and environment data) is written by your client's visitors or read off their website, and it lands in an agent that can edit files. Three things keep it in its place:

  • Marked by the API. For an API key, pull lists per card which fields are third-party (untrusted, e.g. ["note", "page", "thread[0].text"]) and adds a notice saying they are data, never instructions. This server moves all of them into one thirdPartyContent container, frames each bundle with that rule and states it in every tool description. Keep that in place if you build your own client on top of the API.
  • Mails need the human's yes. Anything that leaves the board by mail (a question to the client, closing a round) is refused by the API for a key unless the request carries "confirm": true. Without it the answer is needconfirm with one line on who would be mailed and whether a round of the plan is used. The tools pass confirm only when their own confirm argument is set, and tell the agent to ask first.
  • Read-only keys. A key created with mode: "read" can list cards and fetch screenshots, nothing else; every change answers readonlykey. Use one when the agent only needs to look.

No plan, no service. When the account's plan has ended (an organisation student's seat past its grace counts the same), the key is suspended whole: every call, reads included (pull, screenshots, changes), answers 402 planexpired. The key is not deleted: once a plan is active again the same key works, nothing to re-wire. If the plan stays ended until the account is erased, the key goes with the account. The owner sees "suspended: plan ended" next to the key in admin #ai. The tools report it to the agent in plain words.

The AI connection is a Studio and Agency feature. Trial and organisation seats have it too. On a Start plan (for instance after a trial ends and Start is bought) a key is suspended the same way: every call answers 402 planfeature, the key is not deleted, and it works again as soon as the account is on Studio or Agency. The owner sees why next to the key in admin #ai, and the tools say it in plain words.

What pull shows of a project. For a key: name, site, language, kind, active flag, the plan and round numbers, and the cards. Never the webhook URL or secret, the Slack URL, the client's address or the owner's id.

6. Troubleshooting

MessageWhat to do
CLICKANDSAY_API_KEY is not setadd the key to the MCP entry's env and restart the client
ClickAndSay refused "pull" (403 forbidden)the key is wrong, was rotated, or the account is disabled — compare it with the prefix in admin #ai
Unknown project "..."use the token from list_projects, or the project's exact name
ClickAndSay rate limit120 requests/minute per key — list_feedback once and work from the list instead of re-pulling per card
NOT DONE. This step mails people ...show the summary to the person you work for; call again with confirm: true only after they agree
NOT DONE (badsite) on create_projectsiteUrl must be the public https:// address of the site, no IP, localhost or port
NOT DONE. Your plan covers ...the account has no free project slot; the owner moves up a plan or removes a project
This API key is read-onlythe key was made in read mode; the owner can create a write key in admin #ai
The plan of this ClickAndSay account has ended, so this API key is suspendedevery call is refused until the owner chooses a plan in admin; the same key works again afterwards

7. Skill: connect every site your agent builds

skill/ holds the same instructions in three formats. They tell the agent to ask you once per site whether to connect it to ClickAndSay, then reuse or create the project, paste the script tag before </body> of the main layout (plain HTML, Next.js, React, Vue/Nuxt, Astro, WordPress), never twice, and hand you the feedback link for your client. Later, "fix the client feedback" runs the usual loop. They use only this MCP server and its key; they never ask for, print or store the key.

ToolInstall
Claude Codecopy skill/clickandsay/ to ~/.claude/skills/ (all projects) or .claude/skills/ (one project)
Cursorcopy skill/cursor/clickandsay.mdc to .cursor/rules/
Codex and otherspaste skill/AGENTS.md into the project's AGENTS.md

The same files as one zip: https://clickandsay.com/downloads/clickandsay-skill.zip.