
mcp
io.github.umarker/mcp
Visual bug reports from your website, handed to your AI coding agent as a safe summary.
Documentation
uMarker MCP server
An MCP server for uMarker, the visual feedback and bug reporting tool. It lets an AI coding agent (Claude Code, Cursor, or any MCP client) list the bug reports in a uMarker project and read one as a safe summary, and, only if you switch it on, move a report to a new status or leave a comment on it.
- On npm as
@umarker/mcp:npx -y @umarker/mcp. - One file,
umarker-mcp.mjs. No dependencies. Node 18 or newer. - Runs on your machine and speaks JSON-RPC 2.0 over stdio. It is a thin wrapper around uMarker's
key-authenticated REST API (
/api/v1). - Read-only by default. The two write tools are not registered unless you pass
--allow-writes. - Never hands the agent visitor-written text. See Security.
Full documentation: https://docs.umarker.com/en/integrations/mcp-server/ (Arabic: https://docs.umarker.com/integrations/mcp-server/).
What you need
- A uMarker account on a plan that includes API access (Professional and above).
- An API key from Dashboard → API Keys. A key is account-wide or scoped to one project; a project-scoped key is the simplest way to let an agent see a single project.
Connect
Claude or ChatGPT (no install)
uMarker also runs this server for you at https://mcp.umarker.com/mcp. Add it as a connector in
Claude or ChatGPT and sign in with your uMarker account; no key and no install. See
Connect Claude or ChatGPT.
Claude Code
claude mcp add umarker \
-e UMARKER_API_KEY=um_live_your_key_here \
-- npx -y @umarker/mcp
To let the agent close reports after a fix, add a second entry in write mode and keep the first one read-only:
claude mcp add umarker-write \
-e UMARKER_API_KEY=um_live_your_key_here \
-- npx -y @umarker/mcp --allow-writes
Cursor
~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"umarker": {
"command": "npx",
"args": ["-y", "@umarker/mcp"],
"env": {
"UMARKER_API_KEY": "um_live_your_key_here"
}
}
}
}
Any other MCP client
Configure a stdio server:
- command:
npx - arguments:
-y @umarker/mcp(add--allow-writesfor write mode) - environment:
UMARKER_API_KEY
Settings
| Variable | Required | Value |
|---|---|---|
UMARKER_API_KEY | yes | Your um_live_… API key. |
UMARKER_MCP_ALLOW_WRITES | no | 1 lets the agent update a report's status and comment on it. Same as the --allow-writes flag. Unset: read-only. |
Tools
| Tool | Mode | Arguments | What it does |
|---|---|---|---|
list_projects | read | none | The projects the API key can see. Use it to find a project id. |
list_reports | read | project_id (required), per_page (default 25, cap 100), page | Reports in a project, newest first, as the safe summary. |
get_report | read | id (required) | One report as the safe summary: status, priority, labels, the page host and path, browser and OS, counts of console messages and failed requests, failed request methods and status codes, pin positions, any linked issue, and a ready-to-use markdown block. |
update_report_status | write | id, status | Moves a report to new, in_progress, waiting, resolved or archived. Registered only in write mode. |
add_comment | write | id, body (max 5000 characters) | Adds a comment to a report, for example a summary of the fix or a PR link. Registered only in write mode. |
In read-only mode the two write tools do not exist: tools/list does not return them, and calling one
by name returns an "Unknown tool" error.
Security
- The API key goes only to the uMarker API, over
https. - Safe summary only. Most of a bug report is written by an anonymous visitor to a website, and an
agent that reads it may be holding a shell and your repository. So the server only ever reads the
API's safe summary, which leaves out every free-form field the visitor wrote: the description,
comments, pin notes, console messages, the page title and custom field values. There is no setting,
flag or tool argument that asks for that text. If a response ever claims to carry it
(
visitor_text_included: true), the server returns an error instead of passing it on. A person reads the visitor's own words signed in to the uMarker dashboard. - Marked as untrusted data. What
list_reportsandget_reportreturn reaches the agent between two markers that carry a random value generated for that call, under a fixed instruction that the content is data and not instructions. This does not make prompt injection impossible; it makes the boundary explicit. - Ids are checked.
id,project_id,per_pageandpagemust be positive integers; anything else is refused before a request is made. - Write tools are opt-in. Start the server with
--allow-writes(orUMARKER_MCP_ALLOW_WRITES=1) to register them. Running a read-only entry and a separate write entry lets you decide per task which one the agent gets. - The key's own scope and your plan still apply: the server can do nothing the key cannot do through the REST API.
Troubleshooting
Set UMARKER_API_KEY in the MCP server environment.: the key is missing from the client config.uMarker API 401: …: the key is wrong or has been revoked. Create a new one in Dashboard → API Keys.uMarker API 403: …: the key cannot do this, for example because the account's plan does not include API access or the project is outside the key's scope. The message names the reason.uMarker API 404: …: there is no such report for this key (a project-scoped key cannot see reports in other projects).
License
MIT. See LICENSE.
@umarker/mcpnpm install @umarker/mcp