Skip to main content
Glama

@feedbug/mcp

npm version license feedbug-mcp MCP server

Visual bug reports your AI agent can actually fix.

Feedbug lets your testers report bugs by clicking on them. Each report captures a screenshot, the console logs, the failed network requests, a session replay, and the HTML/DOM context of the element they clicked, then opens an issue in your Linear project or your GitHub repository automatically. When a code source is connected, the issue also carries a link to the source file the bug most likely came from.

This MCP server plugs that data straight into your AI coding agent (Claude Code, Cursor, Windsurf, VS Code). The agent reads the bug, gets the exact CSS selector and component path, traces it to the source file, proposes the patch, and marks the bug resolved.

Full write-up of the product side: feedbug.app/mcp-bug-tracking.

Point at the bug. Ship the fix.

Quick start

npx @feedbug/mcp init

The installer asks for your client and your project key, then writes the config for you. Non-interactive:

npx @feedbug/mcp init --client claude pk_your_project_key

Supported clients: claude (Claude Code), cursor, windsurf. Grab your project key (pk_...) from your project page on feedbug.app.

Restart your client and the tools are live.

Related MCP server: talkthrough-mcp

Manual configuration

Add this to your client's MCP config (.mcp.json, .cursor/mcp.json, .windsurf/mcp.json, etc.):

{
  "mcpServers": {
    "feedbug": {
      "command": "npx",
      "args": ["-y", "@feedbug/mcp"],
      "env": {
        "FEEDBUG_API_URL": "https://api.feedbug.app",
        "FEEDBUG_PROJECT_KEY": "pk_your_project_key"
      }
    }
  }
}

Run with Docker

docker build -t feedbug-mcp .
{
  "mcpServers": {
    "feedbug": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "FEEDBUG_PROJECT_KEY", "feedbug-mcp"],
      "env": {
        "FEEDBUG_PROJECT_KEY": "pk_your_project_key"
      }
    }
  }
}

Environment variables

Variable

Required

Default

Description

FEEDBUG_PROJECT_KEY

Yes

none

Your project key (pk_...), from the Feedbug dashboard.

FEEDBUG_API_URL

No

https://api.feedbug.app

Override the API base URL (self-hosting / staging).

Tools

Every tool accepts either the feedback UUID or the tracker identifier (e.g. PRE-13 on Linear, owner/repo#42 on GitHub).

Tool

What it does

feedbug_list_bugs

List reported bugs (filter by status or page URL).

feedbug_get_bug

Full details: screenshot, viewport, user agent, HTML context.

feedbug_get_html_context

DOM context of the clicked element: CSS selector path, framework component path (Vue/React/Angular/Svelte), attributes, ancestors, siblings. This is what lets the agent find the source.

feedbug_get_diagnostics

Browser diagnostics: page URL, viewport, user agent, reporter.

feedbug_get_replay

Session replay URL (last 30 seconds before the report).

feedbug_add_comment

Add a comment to the bug's Linear issue.

feedbug_resolve_bug

Mark a bug resolved once it's fixed.

How it works

When a tester clicks a bug, the Feedbug widget snapshots the DOM around the clicked element: the CSS selector path, the framework component name when detectable, the element's attributes and text, plus its ancestors and siblings. That snapshot travels with the Linear ticket.

Through this MCP server, your agent reads that context and maps the bug to the exact file and line, instead of guessing from a vague "it's broken on the dashboard" description.

License

MIT

Available Tools

7 tools
feedbug_add_commentComment on the tracker issue of a bugA

Post a comment on the tracker issue linked to a bug.

Returns: a confirmation message once the tracker accepted the comment. Use when: you want to document a fix, ask the reporter for a reproduction, or leave an update the whole team can read on the issue. Do not use when: the bug is tracked in GitHub — only Linear-routed bugs accept comments today and the call errors otherwise. Never use it to talk to the user running you; answer them directly instead. Behavior: writes to Linear and is NOT idempotent — every call adds another comment, and this server can neither edit nor delete one. The comment is public to everyone with access to the issue and is authored by the Linear account that installed Feedbug, so send a single finished comment rather than successive drafts.

Inputs: id (required), body (required).

feedbug_get_bugRead a bug reportA
Read-onlyIdempotent

Read one bug report in full.

Returns: a JSON object with the title, the Feedbug and tracker statuses, the tracker issue URL, the page URL, the screenshot URL, the session replay URL, the viewport, the user agent, the click coordinates as percentages, and the captured DOM context. Use when: you picked a bug out of feedbug_list_bugs and are about to reproduce or fix it. Do not use when: you only need the DOM tree (feedbug_get_html_context), only the browser environment (feedbug_get_diagnostics) or only the replay link (feedbug_get_replay). Behavior: read-only and idempotent, scoped by FEEDBUG_PROJECT_KEY to a single project. An unknown id, or one belonging to another project, returns a "Bug not found" error.

Inputs: id (required).

feedbug_get_diagnosticsRead the browser environment of a bugA
Read-onlyIdempotent

Read the browser environment a bug was reported from.

Returns: a JSON object with the page URL, the viewport size, the user agent and the name of the reporter. Use when: you need to reproduce a bug under the same browser, screen size or account, or to judge whether a report is device-specific. Do not use when: you also want the screenshot, the DOM or the tracker link — this is a strict subset of feedbug_get_bug, so one call there replaces this one. Behavior: read-only and idempotent, scoped by FEEDBUG_PROJECT_KEY to a single project. Fields the widget could not capture come back null; an unknown id returns a "Bug not found" error.

Inputs: id (required).

feedbug_get_html_contextRead the DOM context of a bugA
Read-onlyIdempotent

Read the HTML and DOM context captured at the instant the tester clicked on the bug.

Returns: a JSON object with the CSS selector path, the framework component path (Vue, React, Angular, Svelte), the clicked element itself (tag, id, classes, text, attributes), its ancestors and its siblings. Use when: you need to map a report onto a source file — this is the shortest path from a bug to the component that renders it. Do not use when: the bug is about a behaviour rather than one element; feedbug_get_replay shows what the tester actually did. Behavior: read-only and idempotent, scoped by FEEDBUG_PROJECT_KEY to a single project. A report captured without DOM context errors with "No HTML context captured for this bug" rather than returning an empty tree. Component paths survive a Vue build but are often absent from minified React, in which case fall back to the selector path.

Inputs: id (required).

feedbug_get_replayGet the session replay link of a bugA
Read-onlyIdempotent

Read the session replay URL of a bug, an rrweb recording of the last 30 seconds of activity before the report was sent.

Returns: a one-line message holding the URL to open in a browser. The recording itself is never inlined, so it costs no context. Use when: the written report is not enough to reproduce the bug and you want to hand the user a link to watch it happen. Do not use when: you already called feedbug_get_bug, which returns the same URL alongside the rest of the record. Behavior: read-only and idempotent, scoped by FEEDBUG_PROJECT_KEY to a single project. A bug with no recording returns "No session replay available" as an ordinary result rather than an error, so the call is always safe to attempt.

Inputs: id (required).

feedbug_list_bugsList bug reportsA
Read-onlyIdempotent

List the bug reports captured by the Feedbug widget, newest first.

Returns: a JSON array carrying, per bug, its UUID, tracker identifier (e.g. PRE-13), title, status, page URL, framework component path, session replay URL and creation date. Use when: you are looking for a bug to work on, checking what is still open, or reviewing every report filed on one page. Do not use when: you already hold a bug id — feedbug_get_bug returns that one report with its screenshot and DOM context. Behavior: read-only and idempotent. The server authenticates with the FEEDBUG_PROJECT_KEY environment variable and can only ever see that single project. There is no pagination: the API truncates to limit, so narrow the set with status or page_url instead of paging. No match returns an empty array, not an error.

Inputs: limit, status, page_url.

feedbug_resolve_bugMark a bug as resolvedA
Idempotent

Mark a bug as resolved in Feedbug, once its fix is verified.

Returns: a confirmation message. Use when: you have shipped and checked the fix for that exact report. Do not use when: the fix is only proposed or not yet verified — this server exposes no way to reopen a bug. Behavior: writes to Feedbug and is idempotent, since resolving an already resolved bug leaves it resolved. It flips the status of the report and hides its marker from the widget, but does NOT close the linked Linear or GitHub issue: the tracker stays the source of truth, and moving that issue back to an open state syncs the report open again through the webhook.

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.7/5.0

    Scored across 7 tools

    Disambiguation4/5

    Each tool has a clearly named purpose, and the list/get distinction plus the specialized context getters are explicit. The only real overlap is that feedbug_get_bug returns replay URLs, diagnostics, and DOM context that also have dedicated getters, but the descriptions directly call out when to use the subsets instead.

    Naming Consistency5/5

    All tools share the consistent feedbug_ prefix and follow a clear verb_noun pattern: list_bugs, get_bug, get_html_context, get_diagnostics, get_replay, add_comment, resolve_bug. The naming is predictable and makes the toolset easy to navigate.

    Tool Count5/5

    Seven tools is well-scoped for a bug-reporting server. Each tool covers a distinct retrieval path or action without redundancy, and there is no padding or unnecessary surface area.

    Completeness4/5

    The server covers the core bug-report workflow: list, inspect in full, drill into DOM/browser/replay, comment, and resolve. Minor gaps exist—there is no reopen, update, or comment listing—but the descriptions acknowledge these limitations and the tracker remains the source of truth for broader lifecycle management.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      F
      maintenance
      Unleashes LLM-powered agents to autonomously execute and debug web apps directly in your code editor, with features like webapp navigation, network traffic capture, and console error collection.
      2
      1,232
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables coding agents to pull structured UI feedback captured in the browser — including element selectors, bounding boxes, computed styles, screenshots, and annotations — and to mark issues as fixed.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Read Layerdock website feedback in your coding agent. Each pin comes with the CSS selector, screenshot, page URL and the console and network trace captured when the client reported it. Fix the bug, reply on the thread and mark it resolved without leaving the editor. Works with Claude Code, Cursor, Codex CLI, Windsurf, VS Code, Zed and Antigravity.
      5
      MIT