About Compose Bridge
Compose Bridge is an MCP server published by TechsOneAi in the Blockchain category: real-time on-device visual editor for Jetpack Compose + MCP Server for AI agents. Live UI tuning, AST-guided surgical source splicing, and standalone AI-driven code edits — no phone needed. Conduid read 36 tools from its source: add_token, analyze_design_scatter, approve_all_files, approve_change, approve_file_changes, clean_cache and 30 more. No package is published for it, so it installs from a source checkout.
The repository has 38 stars and 5 forks, is licensed Apache-2.0, and its last commit was on 27 Nov 2026. The latest release is v1.0.0 (17 Oct 2026): 🚀 ComposeBridge v1.0.0 — Official Release ComposeBridge connects live Jetpack Compose Android apps with IDEs (Android Studio / IntelliJ) and AI agents (Claude Desktop, C… The release before it was v0.4.0 (24 Sep 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include android-development-kotlin, android-studios, ast-manipulation, code-generation-ai-agents, compose-multiplatform and declarative-ui.
Install
git clone https://github.com/TechsOneAi/ComposeLintAITools (36)
add_tokenConvert a hardcoded value to a design token.| Parameter | Type | Description |
|---|---|---|
| file * | string | |
| force_create | boolean | |
| line * | integer | |
| preferred_token_file | string | |
| token_name * | string | |
| token_type * | string | |
| value * | string |
analyze_design_scatterAnalyzes scattered hardcoded design tokens (colors, dimensions, strings) across the project.| Parameter | Type | Description |
|---|---|---|
| category | string | 'all', 'colors', 'dimensions', or 'strings'. |
| limit | integer | Maximum number of files to return per category (default: 10). |
| project_root | string | Optional path to project root. |
approve_all_filesDestructive: Approves ALL pending changes permanently. Removes them from journal.approve_changeApproves a single granular change (hunk) in a file.| Parameter | Type | Description |
|---|---|---|
| change_id * | string | |
| file_path * | string |
approve_file_changesApproves pending changes for a SPECIFIC file. Removes its entry from journal.| Parameter | Type | Description |
|---|---|---|
| file_path * | string |
clean_cacheSafely cleans temporary cache, state files, and logs (.composebridge-state, .composebridge-journal.json, *.tmp)detect_conditional_variantsDetect repeated conditional patterns.| Parameter | Type | Description |
|---|---|---|
| token_name | string |
find_token_by_colorReverse lookup: Find token(s) matching an exact hex color.| Parameter | Type | Description |
|---|---|---|
| hex_color * | string |
get_all_token_groupsRead-only. Returns ALL semantic token groups in the project.get_design_file_mappingsReturns current design/registry file mappings configured in .composebridge/config.json.| Parameter | Type | Description |
|---|---|---|
| project_root | string | Optional path to project root. |
get_file_diffRead-only. Returns before/after content and unified diff for a specific modified file.| Parameter | Type | Description |
|---|---|---|
| file_path * | string |
get_gradle_statusCheck the status and result of a Gradle build job.| Parameter | Type | Description |
|---|---|---|
| job_id * | string | ID returned by run_gradle_build. |
get_ide_diagnosticsFetches real-time compilation, unresolved reference, and syntax errors directly from Android Studio / IntelliJ IDE without running Gradle.| Parameter | Type | Description |
|---|---|---|
| file_path | string | Optional relative or absolute path to .kt file. If omitted, checks currently active editor file in Android Studio. |
| include_warnings | boolean | If True, returns both warnings and errors. Default is False (errors only). |
| timeout_seconds | number | Max seconds to wait for IDE response (default 5.0s). |
get_naming_conventionRead-only analysis. Detects if project uses camelCase, snake_case, or PascalCase for tokens.| Parameter | Type | Description |
|---|---|---|
| token_type | string |
get_sync_statusGet the current sync status from the Bridge Server.get_token_impactGet impact analysis for a specific token.| Parameter | Type | Description |
|---|---|---|
| project_path | string | |
| token_name * | string |
get_token_siblingsRead-only. Returns semantically related tokens.| Parameter | Type | Description |
|---|---|---|
| token_name * | string |
list_allowed_gradle_tasksList gradle tasks that can be run via run_gradle_build.list_applied_patternsList all applied patterns that can be rolled back.list_modified_filesRead-only. Lists files modified by recent replace_pattern operations in the current session.list_orphansList all orphan tokens (registered but never used).| Parameter | Type | Description |
|---|---|---|
| project_path | string |
list_tokensList all design tokens in the project.| Parameter | Type | Description |
|---|---|---|
| project_path | string |
reject_all_filesDestructive: Reverts ALL pending changes using byte-level backup (.bridge.bak).reject_all_files_forceDestructive + Forceful. Clears the entire journal EVEN IF some rollbacks fail.reject_changeReverts a single granular change (hunk) in a file while keeping other changes intact.| Parameter | Type | Description |
|---|---|---|
| change_id * | string | |
| file_path * | string |
reject_file_changesDestructive: Reverts pending changes for a SINGLE file using .bridge.bak backup.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | |
| force | boolean |
replace_patternDESTRUCTIVE BATCH OPERATION: Replaces ALL occurrences of a pattern across the project.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| pattern_id * | string |
rollback_lastReverts the LAST surgical edit made in the current session.rollback_patternRolls back ALL changes made by a specific replace_pattern call.| Parameter | Type | Description |
|---|---|---|
| pattern_id * | string |
run_gradle_buildRun a Gradle task with async tracking support.| Parameter | Type | Description |
|---|---|---|
| async_mode | boolean | if true (default), returns job_id immediately so agent can poll with get_gradle_status. |
| task | string | gradle task to run (whitelist enforced: assembleDebug, assembleRelease, test, lint, clean, etc.). |
| timeout_seconds | integer | max execution time (default 5 min). |
scan_project_diagnosticsSequentially scans all Kotlin files in the project workspace to collect compilation errors and technical debt warnings without running Gradle.| Parameter | Type | Description |
|---|---|---|
| include_warnings | boolean | If True, returns both warnings and errors. Default is False (errors only). |
| max_files | integer | Maximum number of Kotlin files to inspect (default: 100). |
| timeout_seconds | number | Max seconds to wait for IDE response (default: 30.0s). |
set_design_file_mappingSets a designated design/registry file in .composebridge/config.json for a token type.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Relative path to the Kotlin file (e.g. 'composeApp/src/commonMain/kotlin/.../Color.kt'). |
| project_root | string | Optional path to project root. |
| token_type * | string | 'color', 'dimension', 'string', or 'all'. |
set_textDESTRUCTIVE: Modifies .kt files. Surgically edit text content with automatic BridgeTextRegistry wrapping.| Parameter | Type | Description |
|---|---|---|
| file_path | string | |
| line | integer | |
| new_value * | string | |
| token_name * | string |
set_tokenDESTRUCTIVE: Modifies .kt files. Surgically edit a design token value in source code.| Parameter | Type | Description |
|---|---|---|
| token_name * | string | |
| value * | string |
suggest_token_splitRead-only analysis. Suggests splitting tokens used in multiple contexts.| Parameter | Type | Description |
|---|---|---|
| project_path | string | |
| token_name | string |
trigger_user_syncTrigger user_sync on the Bridge Server.Security checks
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- ✓No dynamic code executionScanned 54 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.1K words, fetched a month ago. The original in the repository is authoritative.
Read full README