# ui-ticket-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/0ics-srls/ui-ticket-mcp_public  
**GitHub Stars:** 9  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/ui-ticket-mcp

## Description
Human-to-AI code review bridge. Review UI in the browser, AI agents fix code via MCP.

## Tools
Capabilities this server exposes over MCP:

- **get_review_summary** — Get a summary of all pages with open/resolved review counts.
- **get_reviews** — Get review comments, optionally filtered by page_id.
- **add_review** — Add a new review comment to a page. Optional metadata is a JSON string with element annotation context. Tag can be: bug, suggestion, question, general. Set parent_id to reply to an existing review.
- **resolve_review** — Mark a review as resolved. Only resolve after verifying your changes are scoped correctly — page-specific reviews should not cause global side effects on other pages.
- **reopen_review** — Reopen a previously resolved review.
- **batch_resolve** — Resolve all open reviews on a page. Use only after all reviews on the page have been addressed. Verify changes are scoped to this page and don't affect other pages unintentionally.
- **get_pending_work** — Get all open reviews grouped by page. Ready-to-work list for agents. Each review is scoped to a page_id — your fixes should target that specific page only. If a review is ambiguous, ask the user for clarification before making changes.
- **find_source_file_tool** — Find source files in PROJECT_ROOT that match a page_id. Use this to locate the page-specific source file before making changes. If multiple files match, prefer the page-specific file over shared/common components. Only modify shared components if the user explicitly requests a global change.
- **get_setup_guide** — Get the full setup guide for the review system (MCP server + REST API + browser UI).
- **get_annotated_reviews** — Get only reviews that have element annotation metadata. Shows full element context for targeted fixes. Use this to understand exactly which element the reviewer pointed at — includes selector, fingerprint (tag, column, text, role), source context (component > section), accessibility info, and styles. This context helps you make precise, scoped changes.
- **create_github_issue** — Create a GitHub issue on the ui-ticket-mcp repository using the gh CLI. Requires gh to be installed and authenticated (https://cli.github.com). Label must be either 'bug' or 'enhancement'.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "ui-ticket-mcp": {
    "command": "uvx",
    "args": ["ui-ticket-mcp"],
    "env": {
      "PROJECT_ROOT": "",
      "REVIEW_PORT": ""
    }
  }
}
```

**Requires environment variables:** `PROJECT_ROOT`, `REVIEW_PORT` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What ui-ticket-mcp does

The ui-ticket-mcp MCP server links visual feedback in a web application to an MCP-compatible coding agent. A reviewer can select an element, describe a problem, and attach the resulting review to a page. The agent can then inspect the review, use its captured browser context to understand the target, search the project for likely source files, and mark the work complete after making a code change.

Reviews may be general comments or annotations tied to a specific element. Annotation records can include the element label, CSS selector, DOM path, position and dimensions, nearby or selected text, filtered classes, computed styles, accessibility properties, and sibling context. Reviews also support tags such as `general`, `bug`, `suggestion`, and `question`, along with threaded replies.

## How it works

One Python process serves two interfaces. The MCP side communicates with the agent over stdio. In parallel, a local HTTP REST API serves the browser panel and receives review data. Reviews are persisted in `.reviews/reviews.db` within the configured project root. SQLite uses WAL mode, allowing concurrent readers with a single writer and a five-second busy timeout.

The browser component is a standard Web Component named `<review-panel>`. It provides filtering, full-text search, tag filtering, review actions, annotation mode, marker badges, and keyboard shortcuts. The component can be installed from npm or loaded from a CDN, and it can be used with Angular, React, Vue, Svelte, plain HTML, and supported SSR setups with client-side loading.

## Setup and configuration

The ui-ticket-mcp MCP server can be launched with `uvx`, which downloads and runs the package, or installed with pip. Add its stdio command to the project's `.mcp.json`, setting `PROJECT_ROOT` to the application directory. `REVIEW_PORT` selects the local HTTP port and defaults to 3200 when omitted in the documented setup.

Install the browser package with `npm install ui-ticket-panel`, call `defineReviewPanel()`, and place `<review-panel api-url="http://localhost:3200/api"></review-panel>` in the root template. Without a bundler, load the published bundle from unpkg instead. The API remains local; the public website is a landing page rather than the review endpoint.

## Tools and capabilities

The MCP interface provides ten tools:

- Summarize review counts by page.
- List reviews, optionally filtered by page.
- Return only reviews containing annotation metadata.
- Group open reviews into a pending-work list.
- Add reviews, tags, metadata, and threaded replies.
- Resolve one review, reopen one, or resolve all open reviews on a page.
- Search the project for files matching a page identifier.
- Return the setup guide to the agent.

The source-file search checks kebab-case, CamelCase, and glob patterns while excluding `node_modules`, `dist`, and `.git`.

## Limitations and notes

The ui-ticket-mcp MCP server exposes its REST API on localhost, so the browser and server need to run in an environment that can reach that local address. CORS is enabled for all origins according to the architecture notes. The database is created inside the project, and the documented configuration requires a usable project root. SSR applications need a client-side dynamic import for the browser panel.

_Full upstream README: https://allmcps.com/mcp/ui-ticket-mcp/readme_

