# MCP server for AI tools

> Connect Claude Code, Cursor and other AI tools to Commentpin through MCP: create an API key, add the endpoint, then list, read and triage feedback.

Source: https://commentpin.com/docs/mcp-server
Last updated: 2026-12-02

Connect AI tools (Claude, Cursor, VS Code and others that support MCP) to your feedback. They can list and read reports, and with a write key change status, comment and create issues.

## Connect

1. In the dashboard, open **API keys** and create a key. Choose **Read only** or **Read and write**. The key is shown once.
2. Add the server to your tool. The endpoint is `<APP_URL>/api/mcp` (Streamable HTTP). Send the key as `Authorization: Bearer <key>`.

Claude Code:

```sh
claude mcp add --transport http feedback https://feedback.example.com/api/mcp \
  --header "Authorization: Bearer wfk_..."
```

Other clients: add an HTTP MCP server with that URL and header.

## Tools

| Tool              | Key   | What it does                                                                |
| ----------------- | ----- | --------------------------------------------------------------------------- |
| `list_projects`   | read  | Projects with open feedback counts                                          |
| `list_feedback`   | read  | Newest first. Filters: project, status, page URL. Paged with `cursor`       |
| `get_feedback`    | read  | One report: page, browser, element, console errors, comments, linked issues |
| `update_feedback` | write | Status, priority, assignee (by email)                                       |
| `add_comment`     | write | Comment or reply, optionally internal                                       |
| `create_issue`    | write | GitHub or Linear issue in the project's chosen repository or team           |

Find a report by its id (`fb_...`) or by `projectId` and `number`.

## Notes

- A key covers every project in its organization. Revoke it on the API keys page at any time.
- Each key can make 120 requests a minute.
- Report text comes from website visitors. Tool descriptions tell the AI to treat it as data, but review what an agent does with a write key.
- Changes made through MCP show in the audit log with the key, and trigger webhooks and notifications like changes made in the dashboard.
