# UI Debugger MCP server

> An autonomous agent that drives browsers, desktops, or mobile devices to find functional bugs and UX issues through structured findings.

- Repository: https://github.com/developerz-ai/ui-debugger-mcp
- Page: https://hostedmcp.org/servers/developerz-ai/ui-debugger-mcp
- Transport: stdio
- Stars: 2
- License: MIT
- Latest version: 1.9.0

## Install

### Claude Code

```sh
claude mcp add --env 'OPENAI_API_KEY=<YOUR_OPENAI_API_KEY>' ui-debugger-mcp -- npx -y @developerz.ai/ui-debugger-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "ui-debugger-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@developerz.ai/ui-debugger-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>"
      }
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "ui-debugger-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@developerz.ai/ui-debugger-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"ui-debugger-mcp","type":"stdio","command":"npx","args":["-y","@developerz.ai/ui-debugger-mcp"],"env":{"OPENAI_API_KEY":"<YOUR_OPENAI_API_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "ui-debugger-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@developerz.ai/ui-debugger-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add ui-debugger-mcp --env 'OPENAI_API_KEY=<YOUR_OPENAI_API_KEY>' -- npx -y @developerz.ai/ui-debugger-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.ui-debugger-mcp]
command = "npx"
args = ["-y", "@developerz.ai/ui-debugger-mcp"]

[mcp_servers.ui-debugger-mcp.env]
OPENAI_API_KEY = "<YOUR_OPENAI_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'OPENAI_API_KEY=<YOUR_OPENAI_API_KEY>' ui-debugger-mcp npx -- -y @developerz.ai/ui-debugger-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "ui-debugger-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@developerz.ai/ui-debugger-mcp"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `OPENAI_API_KEY` | yes | yes | API key for the LLM provider (OpenRouter default) |
| `OPENAI_BASE_URL` | no | no | Base URL for the LLM provider (defaults to OpenRouter) |

## FAQ

### How is this different from playwright-mcp?

Unlike playwright-mcp where the smart model issues every single click, this server uses a small agent to handle the entire clicking loop autonomously based on a high-level goal.
