# FixThis

Debug-only MCP server for Jetpack Compose: pick a UI element, describe the change, hand your coding agent the source context.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 5
- Author: beyondwin
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/beyondwin/FixThis
- Updated: 2026-10-20
- HTML: https://affpapa.org/en/nevibecode/mcp/fixthis

## What it does

FixThis attaches a sidekick to a debug build of a Compose app and mirrors the screen into a browser console on your machine. You click a component to select it, or drag over an area when the target is spacing or empty room, then type what should change. The result is a compact handoff for the agent: screenshot bounds, semantics, source candidates and confidence warnings.

It stays out of release builds. The Gradle plugin `io.github.beyondwin.fixthis.compose` wires the sidekick into debug only, and everything runs over ADB and `127.0.0.1` with no external API calls. JDK 21 and Node 20 or newer are required; the CLI itself comes from Homebrew, npm or GitHub Releases.

One command sets the project up: `fixthis install-agent --project-dir . --target all --verify --json`. It applies the Gradle plugin, writes the MCP config and creates `.fixthis/project.json` with the agent setup files. If `doctor` reports `NEEDS_INSTALL` or metadata is missing, run `./gradlew fixthisSetup` first and repeat the install. Restart Claude or Codex when the report asks for it, then call `fixthis_open_feedback_console`.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add fixthis -- npx -y @beyondwin/fixthis
```

### Codex

**Platform CLI**
```bash
codex mcp add fixthis -- npx -y @beyondwin/fixthis
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "fixthis": {
            "command": "npx",
            "args": [
                "-y",
                "@beyondwin/fixthis"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "fixthis": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@beyondwin/fixthis"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add fixthis npx -y @beyondwin/fixthis
```

## When to use it
- locate the source file behind a tapped component
- hand the agent layout bounds and node semantics
- tell identical list cards apart by instance
- describe a spacing or empty-area fix that has no Compose node
- keep a save tied to the screen it came from

## Example prompts
- Install FixThis in this project and configure it for my agent
- Open the feedback console and show me what can be edited on this screen
- Save this element's context to MCP for Claude

## Similar
- [clerk-android](https://affpapa.org/en/nevibecode/skills/clerk-android.md) — skill · 14400 installs
- [using-chrisbanes-skills](https://affpapa.org/en/nevibecode/skills/using-chrisbanes-skills.md) — skill · 1100 installs
- [android-development](https://affpapa.org/en/nevibecode/skills/dpconde-android-development.md) — skill · 718 installs
- [AndroJack MCP](https://affpapa.org/en/nevibecode/mcp/androjack-mcp.md) — MCP server · ★ 21
- [compose-multiplatform-patterns](https://affpapa.org/en/nevibecode/skills/compose-multiplatform-patterns.md) — skill · 4600 installs
- [android-kotlin](https://affpapa.org/en/nevibecode/skills/android-kotlin.md) — skill · 3300 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
