Skip to content

Add MCP screenshots for Compose dev tools - #33

Draft
alexstyl wants to merge 1 commit into
mainfrom
agent/devtools-buffer-screenshots
Draft

Add MCP screenshots for Compose dev tools#33
alexstyl wants to merge 1 commit into
mainfrom
agent/devtools-buffer-screenshots

Conversation

@alexstyl

Copy link
Copy Markdown
Member

What changed

  • Added a devtools automation HTTP server that exposes readiness and direct preview-buffer screenshots.
  • Added a runDevToolsMcpServer Gradle task that exposes status and take_screenshot MCP tools.
  • Wired generated devtools hosts to start the automation server and run Compose Hot Reload devtools headless.
  • Added local Maven publishing metadata for the devtools modules so consuming repos can use the local plugin/runtime.

Why

This lets automation inspect the Composables Dev Tools preview directly without relying on macOS window screenshots, which can capture the wrong top-level window.

Validation

  • ./gradlew --console=plain test
  • ./gradlew --console=plain spotlessCheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant