layerdock-mcp
Official@layerdock/mcp
Read your LayerDock website feedback — with the CSS selector, the screenshot, and the console/network trace captured at report time — directly in your coding agent. Fix the bug, reply on the thread, mark it resolved, without leaving the editor.
Setup
Create a token at https://www.layerdock.io/dashboard/integrations/mcp
Warm the cache first, once, in a terminal:
npx -y @layerdock/mcp --versionnpxdownloads the package on first use, and a cold download can take longer than an editor's MCP connect timeout (30s in Claude Code) — so the very first connection fails withCONNECT_TIMEOUTon a server that is working perfectly. Running it once puts it in the npx cache; every launch after that is instant. Skip this and you may simply need to restart your editor once.Add the config for your client below.
The three clients below are the short version. The full walkthrough — config for Claude Code, Cursor, Codex CLI, Antigravity, Windsurf, VS Code and Zed, how to verify the connection, and what to check when the server does not appear — is at https://www.layerdock.io/docs/connect-your-coding-agent
Claude Code
.mcp.json in your project root:
{
"mcpServers": {
"layerdock": {
"command": "npx",
"args": ["-y", "@layerdock/mcp"],
"env": { "LAYERDOCK_TOKEN": "ldk_..." }
}
}
}Cursor
~/.cursor/mcp.json — same JSON as above.
Codex CLI
~/.codex/config.toml:
[mcp_servers.layerdock]
command = "npx"
args = ["-y", "@layerdock/mcp"]
env = { LAYERDOCK_TOKEN = "ldk_..." }Related MCP server: loopback
Tools
Tool | What it does |
| Your sites, with any codebase hints their owner declared (framework, source root, CMS) |
| Pins, filterable by status. |
| One pin as a fix brief, plus the screenshot as an image. Takes |
| Move a pin through the workflow |
| Post a reply on the thread, attributed to you and labelled as coming via a coding agent |
What get_feedback actually returns
A fix brief, ordered by how actionable each part is:
What the reporter wants changed, plus the reply thread
The component, when the reviewed site is a dev/unminified build — sometimes the source file and line
A repetition warning when the pinned element is one of N identical siblings, so an agent doesn't hardcode a one-item fix into the shared component that renders all of them
A search string that actually matches source — one contiguous run of literal text from a single text node, whitespace collapsed, never cut mid-word. This is deliberately not the element's
innerText: that spans child nodes, so it carries newlines and fragments that appear in no source file and a literal grep for it never matchesWhere it is — page URL, section, CSS selector, and the full visible text marked explicitly as context rather than as something to grep for
Structure and computed styles at pin time
Console errors and failed/slow requests from the moment of capture, each stamped with how long before the report it happened
The screenshot, as an image block the agent can actually look at — downscaled server-side, and when a pin has no capture the brief says so instead of instructing the agent to consult an image that was never attached
It also states what it cannot tell you — the brief never claims to know your
repository layout, and it instructs the agent to locate and confirm the file
before editing rather than guessing. That includes the case where the fix is not
in the repository at all: if the visible text appears nowhere in the codebase,
the content is probably CMS- or API-driven and the fix belongs in the content
source. Set a dock's cms field and the brief names the system directly.
Payload size
get_feedback defaults to detail: "auto". A pin that reads as a pure copy
change ("fix this wording") does not need ~20 computed CSS properties, device
memory, hardware concurrency and network downlink — so those are dropped, and
the brief says it dropped them. A layout or behaviour bug keeps everything. Pass
detail: "full" to override, or "minimal" to always trim.
Permissions
The token acts as you, and says so. A reply posted through reply_to_feedback
is attributed to the person the token belongs to and labelled as arriving via
a coding agent — the reviewer reading the thread is deciding whether to re-check
the page themselves, and a person promising "fixed this" is not the same claim as
an agent asserting it. Both facts are stamped server-side from the authenticated
token, so neither can be chosen by the client. Do not sign the message text
yourself.
Anything you cannot do in the dashboard, the agent cannot
do either — role gating is enforced server-side, not here. A member who is not
assigned to a pin cannot change its status, and nobody can read a dock they have
no relationship to.
Configuration
Env var | Purpose |
| Required. Your personal access token ( |
| Optional. Defaults to |
Security
Tokens are stored as a SHA-256 hash — the plaintext is shown once, at creation, and is never recoverable afterwards. Revoke a token from the same settings page; revocation takes effect immediately.
An authentication failure names its actual cause — malformed, unknown, deleted,
or expired — and echoes the first 12 characters of the token the server received
(received "ldk_AbCd-EfG…"). That prefix is the same non-secret value the
dashboard already displays next to each token, and it is what tells a stale
client process still holding a replaced token apart from a genuinely bad one.
Note that on a dev build, sourceFile in a brief may be an absolute path from
the machine that built the reviewed site. That stays within the dock's own
trust boundary, but it is worth knowing before sharing a brief outside your team.
License
MIT
Available Tools
5 toolsget_feedbackA
Get one feedback pin as a complete fix brief: WHERE it is (page URL, section, CSS selector, the component name when the framework exposed it), a SEARCH STRING that actually matches source (one contiguous run of literal text, not the element's whole innerText), WHAT the reporter wants changed, the SCREENSHOT as an image when one was captured, and the DEBUG state at the moment of capture (console errors and failed/slow requests, each stamped with how long before capture it happened). The brief tells you when a screenshot was NOT captured rather than sending you looking for one. Call this before changing any code.
Inputs: id (required), detail.
list_docksA
List the LayerDock docks (sites) you have access to, with any codebase hints their owner declared (framework, source root, CMS). Call this to get a dockId — but note that list_feedback no longer requires one, so "what is open across everything?" is a single call.
Inputs: no named parameters.
list_feedbackA
List feedback pins. Omit dockId to see open work across EVERY dock you can reach — that is the one call that answers "what needs my attention?". Pass dockId to scope to one site. Returns a lean summary; call get_feedback for the full fix brief of the one pin you pick.
Inputs: limit, dockId, status.
reply_to_feedbackA
Post a reply on a pin's thread. It is attributed to the person who owns this token AND labelled as coming via a coding agent, so the reviewer can tell your claim from that person's own — the server stamps both from the authenticated token. Do NOT sign the message text yourself; that is duplicated, and unlike the server-side stamp it is not something the reviewer can trust. Use this to say what you changed before resolving the pin, so a silent status flip does not leave them guessing.
Inputs: id (required), message (required).
update_feedback_statusA
Move a pin through the workflow: open, in_review, changes_requested, approved, resolved. Call this after you have actually made the fix. Your permission to set a given status depends on your role on the dock; the server rejects what you are not allowed to do.
Inputs: id (required), status (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a clearly distinct operation: list_feedback retrieves pins across docks, list_docks retrieves sites, get_feedback retrieves one detailed brief, update_feedback_status changes workflow state, and reply_to_feedback posts a message. Descriptions explicitly clarify boundaries (e.g., lean summary vs. full brief, server-side stamping) leaving no realistic misselection.
All names use snake_case with a consistent verb_noun pattern: list_feedback, list_docks, get_feedback, update_feedback_status, reply_to_feedback. The minor prep in reply_to_feedback does not break the overall predictable convention.
Five tools are well-scoped for an agent that fixes feedback pins: see open work, find a dock, get the fix brief, update status, and reply. No tool feels redundant or missing for the stated purpose.
The surface covers the full agent workflow: discover open pins (list_feedback), resolve dock context (list_docks), retrieve all fix details (get_feedback), change lifecycle state (update_feedback_status), and communicate with the reviewer (reply_to_feedback). No obvious dead ends for the coding-agent use case.
Maintenance
Related MCP Connectors
Client feedback pinned on live sites, Figma frames, PDFs, images and video, for Claude and agents.
Website feedback for your coding agent: comments pinned to the exact element, with its code.
Website feedback from clients pinned to elements: your coding agent reads it and fixes the code
Client feedback on websites, images and PDFs: read, answer and pin comments from your AI agent.
Related MCP Servers
- AlicenseAqualityBmaintenanceVisual feedback as agent work packets: stakeholders pin on your live app and your AI coding agent reads each pin (selector, screenshot, DOM, thread, acceptance criteria) via MCP and ships the fix.39711 npm1MIT
- AlicenseAqualityCmaintenanceInteractive feedback layer that lets users pin comments on live web apps with auto-captured context (failing requests, console, AI metadata), and coding agents fix issues via MCP, turning pins green upon verification.1073 npmMIT
- AlicenseAqualityCmaintenanceRead visual bug reports from Feedbug in your AI coding agent: screenshot, console logs, failed network requests, session replay and the DOM context of the element the tester clicked. Trace the bug to its source file, comment and resolve without leaving the editor.714 npmMIT

Jot MCP Serverofficial
AlicenseAqualityCmaintenanceEnables AI coding agents to inspect user feedback on live web apps, read full reports and recording timelines, update status, and reply in threads so fixes can be checked and confirmed by reporters.5MIT