mirror of
https://github.com/morluto/rea.git
synced 2026-11-05 06:45:22 +00:00
[GH-ISSUE #4081] compare_web_captures tool fails to register in Claude Desktop Windows - problem with that connector #1614
Closed
opened 2026-10-16 21:07:59 +00:00 by bsakaguchi
·
8 comments
No Branch/Tag specified
main
codex/procedure-reference-stacked
release-please--branches--main--components--rea-agents
release-please--branches--main--components--rea-agents--release-notes
codex/kuna-independent-retry
codex/byte-search-overlay-coverage
codex/open-failure-target-receipt
codex/kuna-xref-evidence
codex/ghidra-ambiguous-procedure-recovery
codex/function-source-bundle
codex/trace-function-integration-prototype
codex/snapshot-source-closure
codex/recorded-evidence-array-pages
codex/evidence-recovery-redesign
codex/trace-feature-address-scope
codex/call-discovery-scope
codex/ghidra-literal-candidate-evidence
codex/decompile-directory-independent-retry
codex/retry-provenance-base
codex/value-flow-capability-experiment
codex/ghidra-containing-instruction
cursor/readme-discord-button-ef9f
dependabot/github_actions/actions/setup-node-7.1.0
dependabot/github_actions/actions/upload-artifact-7.0.2
dependabot/npm_and_yarn/npm-minor-and-patch-d8d97ce6df
codex/kuna-1989
fix/8559-native-ui-fixture-ownership
fix/8555-go-verifier-mcp-ownership
codex/provider-capability-recovery
fix/8642-rizin-target-stdin
codex/ghidra-memory-effect-scope
codex/ghidra-annotation-entry-selector
codex/ghidra-readonly-recovery
codex/ghidra-regex-verifier-recovery
codex/evidence-discovery-view-guidance
fix/8545-bulk-append-overflow
fix/8428-navigation-refusal-alternatives
codex/address-context-recovery
codex/matching-member-limitations
codex/unknown-scope-contract
codex/evidence-view-guidance
feat/8373-native-trace-views
codex/ghidra-snapshot-verifier-binding
codex/elf-export-visibility
codex/evidence-view-recovery
codex/native-reference-cli-help
codex/provider-candidate-observation-scope
codex/kuna-session-verification
codex/ghidra-switch-lifetime-guidance
codex/pseudocode-paging-discovery
codex/clarify-evidence-view-support
codex/kuna-xrefs-selector-recovery
codex/context-capacity-recovery
codex/evidence-closure-large-links
codex/same-function-evidence-identity
codex/ghidra-verifier-inspected-jdk
codex/audit-guided-workflows
codex/crash-prompt-retained-dossiers
codex/analysis-view-error-recovery
codex/kuna-verifier-target-selection
codex/ghidra-selected-project-call-coverage
codex/docs-native-analysis-scope
codex/ghidra-java-socket-boundary
codex/ghidra-retained-snapshot-verifier
codex/ghidra-search-inventory-facts
fix/8284-zero-argument-parameter-bindings
fix/8198-ui-action-handler-offset
fix/8257-elf-entry-label-identity
fix/8304-deferred-output-schema-projection
fix/8277-call-path-computed-target-uncertainty
fix/pr-8089-conflicts
fix/ci-static-duplicate-export
dependabot/npm_and_yarn/lint-staged-17.6.0
dependabot/github_actions/actions/download-artifact-8.0.2
dependabot/npm_and_yarn/write-file-atomic-8.0.0
dependabot/npm_and_yarn/canonicalize-5.1.0
dependabot/github_actions/actions/cache/restore-6.1.0
dependabot/npm_and_yarn/toon-format/toon-4.4.0
dependabot/github_actions/actions/deploy-pages-5.0.1
codex/review-fixes-pr-2403
codex/review-fixes-pr-2400
codex/process-terminal-width
codex/test-brittleness-cleanup
verify/7167-browser-connect-macos
fix/7167-browser-connect
feat/native-matching-allowance-setting
feat/browser-scenario-dry-run
test/managed-caller-parameters-20261024
codex/parser-fortythird-boundaries
fix/6926-pinvoke-platform-decorations-20261023
fix/6889-har-body-encoding-20261023
fix/6888-sqlite-schema-budget-20261023
fix/dependency-security-gates-6708
cursor/evidence-overwrite-rebase-b4ac
feat/4057-verify-native-exports
fix/windows-acl-observer-overhead-20261022
cursor/erlang-beam-restack-4476
cursor/pe-certificate-review-bf32
fix/6116-javascript-application-fs-errors
fix/6061-unmapped-runtime-script-unknown
feat/browser-scenario-summary
fix/pe-certificates
codex/verify-3407
cursor/rebase-5699
cursor/rebase-5352
cursor/rebase-5600
cursor/fix-cli-schema-omission-10a8
codex/audit-hopper-shutdown-reasons-20261021
fix/demangle-swift-omitted-record
fix/nib-boolean-value-types
cursor/cancellation-partial-observation-a5ac
fix/ib-object-limit-reasons
fix/electron-fuse-limit-advice
fix/kuna-doctor-dangling-cache
fix/fixed-budget-refusal-advice
fix/js-ipc-listener-dedup
fix/js-return-member-provenance
fix/dmg-integrity-retry-advice
fix/ida-doctor-readiness
fix/kuna-version-probe-output-drain
fix/legacy-swift-runtime-name-matching
fix/dylib-lazy-load-commands
fix/browser-scenario-startup-cancel
fix/swift-nested-punycode-classification
fix/compare-unselected-scopes
fix/objc-method-budget-coverage
fix/dmg-mounted-root-observations
audit/ci-tests-20261019-round2
release/6.7.0
fix/wabt-cleanup-retry-resolution
fix/electron-fuse-elf-pe-architecture
fix/native-plist-descriptor-ownership
fix/kuna-caller-cleanup-ownership
experiment/atomic-codemode-20261016
review/first-contributor-3776
fix/call-resolution-full-read-cycles
fix/member-mutation-selection-repeat
experiment/atomic-re-tools-20261015
perf/member-mutation-lazy-origins
perf/static-network-mutation-index
fix/hopper-startup-lifecycle
audit/3050-windows-proof-20261015
feat/windows-window-capture-2183
audit/3049-windows-proof-20261015
audit/3735-macos-fixtures-20261015
fix/batch-decompile-null-pseudocode
fix/kuna-inventory-honors-jobs
experiment/browser-codemode-tool-design-20261015
fix/hopper-clean-runtime-argv
codex/review-2049-27f1b367
review-fixes/pr-2787-routing
fix/3360-scoped-this-emitters
fix/3367-replaced-global-effects
fix/3838-compact-any-value-items
test/hopper-download-probe-20261015
codex/windows-runtime-creation-red-green-20261015
codex/windows-readonly-root-red-green-20261015
codex/windows-root-share-red-green-20261015
codex/exp-1685-win-mcp-startup
codex/bug-sweep-20261015
investigate/2190-windows-package-phases
investigate/3543-macos-cli-deadline
perf/3281-reverse-tools-feedback-quality
fix/3406-hopper-doctor-fixture
fix/3341-wrapper-require-test-context
fix/3301-owned-uninstall-fixtures
fix/3164-compiler-input-ownership
fix/pcap-cleanup-stdout-newline-20261014
perf/interface-builder-summary
codex/review-fixes-pr-1977
fix/ghidra-effective-jvm-platform
fix/docs-turkish-rust-link-20261013
fix/main-maintenance-ci-20261010
fix/recover-binary-session-process-effects
codex/review-fixes-pr-2457
codex/ci-required-cancellation-gate
fix/main-format-baseline-20261013
fix/setup-preserve-entry-fields
cursor/restore-main-checks-1ffc
fix/ghidra-bridge-hashmap-import
codex/shared-ci-jadx-json-default-20261013
codex/shared-ci-ghidra-test-groups-20261013
codex/shared-ci-java-fixture-format-20261013
codex/fix-intrinsic-invocation-boundaries
test/release-preflight-reusable-jobs
test/js-parameter-provenance-expectation
fix/linux-hopper-verification-current
test/2419-ghidra-elf-probe-size
followup/pr-1544-native-ida
codex/fold-pr-2230-contribution
docs/readme-responsible-use
fix/issue-2064
fix/issue-2050
fix/issue-2053
fix/issue-1968
fix/issue-1945
experiment/codemode-bridge-20261011
fix/tool-effects-negative-wording-1904-20261012
fix/1842-electron-interop-provenance
feat/recover-javascript-multi-input
refactor/website-i18n-prep
fix/nativeaot-pe-virtual-extent
fix/browser-verifier-ci-hang
fix/pe-resources-input-selection
docs/beginner-friendly-guides
docs/beginner-setup-guide
fix/javascript-analysis-worker-1563
fix/1649-ghidra-duplicate-names
fix/javascript-export-keys-integration-1369
test/maintenance-boundary-contracts-20261011
review/javascript-export-keys-1369
review/process-live-progress-1483
test/javascript-1495-growth-ratio
fix/ci-escape-timing
docs/normalized-terminal-geometry-1450
release/6.3.0
archive/release-6.3.0-pr1381
release/6.2.0
fix/electron-preload-dynamic-override
fix/javascript-self-referential-bundler-edges
release/6.1.0
cursor/grok-client-cherry-pick-0b56
feat/signature-posture
feat/dyld-shared-cache
feat/artifact-integrity-policy
feat/pkg-inventory
release/6.0.0
chore/sync-release-5.0.0
release/5.0.0
cursor/cloud-agent-node-787e
fix/javascript-xhr-open-endpoints
review/pr-711-realpath-fallback-wording
cleanup/replay-confinement
codex/test-suite-performance
codex/issue-foundations
codex/address-open-issues-2026-07-20
agent/javascript-vite-rollup-esbuild-adapters
agent/process-cleanup
agent/triage-integration
agent/unknown-commands-registry
feat/mcp-identity-metadata
morlvps/issue_cleanup
codex/installer-redesign
morl/roadmap-investigation-core
morl/roadmap-investigation-docs
release-please--branches--main--components--rea
rea-agents-6.8.0
rea-agents-6.7.0
rea-agents-6.6.0
experiment/atomic-codemode-wait-runtime-20261016
rea-agents-6.5.0
rea-agents-6.4.0
rea-agents-6.3.0
rea-agents-6.2.0
rea-agents-6.1.0
rea-agents-6.0.0
rea-agents-5.0.0
rea-agents-4.1.0
rea-agents-4.0.1
rea-agents-4.0.0
rea-agents-3.2.1
rea-agents-3.2.0
rea-agents-3.1.0
rea-agents-3.0.0
rea-agents-2.7.0
rea-agents-2.6.0
rea-agents-2.5.1
rea-agents-2.5.0
rea-agents-2.4.0
rea-agents-2.3.0
rea-agents-2.2.0
rea-agents-2.1.0
rea-agents-2.0.0
rea-agents-1.7.0
rea-agents-1.6.0
rea-agents-1.5.0
rea-agents-1.4.0
rea-agents-1.3.0
rea-agents-1.2.0
rea-agents-1.1.0
rea-agents-1.0.0
rea-agents-0.5.0
rea-agents-0.4.0
rea-agents-0.3.0
rea-0.2.1
rea-0.2.0
Labels
Clear labels
area: bridge
area: bridge
area: build
area: build
area: build
area: cli
area: domain
area: evidence
area: mcp
area: native
area: providers
area: runtime
area: server
area: setup
area: tests
bug
design
documentation
enhancement
enhancement
enhancement
experiment
help wanted
i18n
invalid
P0: critical
P1: high
P2: medium
P2: medium
P2: medium
P3: low
performance
provider-request
pull-request
Mirrored from GitHub Pull Request
question
roadmap
triage
No labels
area: bridge
area: bridge
area: build
area: build
area: build
area: cli
area: domain
area: evidence
area: mcp
area: native
area: providers
area: runtime
area: server
area: setup
area: tests
bug
design
documentation
enhancement
enhancement
enhancement
experiment
help wanted
i18n
invalid
P0: critical
P1: high
P2: medium
P2: medium
P2: medium
P3: low
performance
provider-request
pull-request
question
roadmap
triage
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
morluto/rea#1614
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hhabilaz on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/4081
Originally assigned to: @kaoru0822-kitauji on GitHub.
Before submitting
Area
MCP or agent integration
Observed behavior
After running
npx --yes rea-agents@latest setupon Windows and selecting Claude Desktop among the registered agents, setup completed successfully (13/13 planned changes applied, no errors in the CLI output). Claude Desktop was fully quit (not just the window closed) before approving the plan, per the setup tool's own instruction, and reopened afterward.Most REA tools are confirmed working in Claude Desktop after this — asking "do you have access to REA tools?" returns a full working toolkit (binary analysis, Android/ADB, Frida/GDB debugging, SQLite, plists, web/JS bundle analysis, etc.) with no errors.
However, Claude Desktop's UI shows a persistent error toast: "Claude can't use Compare Web Captures from REA because of a problem with that connector. Update or reinstall REA." This specifically affects the compare_web_captures tool and has not been resolved by re-running setup or by fully restarting Claude Desktop.
REA version: 6.5.0 (confirmed via
npx rea-agents --version).Reproduction
npx --yes rea-agents@latest setupon Windows.Reproduced on 2 separate full setup/restart cycles. Both times the error toast reappeared identically. Re-running setup and restarting Claude Desktop again did not resolve it.
Expected behavior
Expected compare_web_captures to register and behave consistently with how it works through other MCP clients (see Additional context below) — either connecting successfully or, on bad/empty input, returning a normal validation error — rather than a persistent "problem with that connector" failure that survives a full setup and restart cycle.
No documented contract for this specific error state was found in the README or docs/installation.md — this expectation is based on observed behavior in a different client, not cited documentation.
Impact and scope
Scope: isolated to one tool (compare_web_captures) within Claude Desktop on this machine. All other REA tools tested in the same Claude Desktop session (binary analysis, Android/ADB, Frida/GDB debugging, SQLite, plists, web/JS bundle analysis) work without error — this does not block REA's broader functionality.
Frequency: 100% reproducible across 2 separate setup/restart cycles, not intermittent.
Untested/unknown: whether this affects other Claude Desktop installs or machines, or is specific to this one. Severity beyond "one tool unusable in one client" not established.
REA version
6.5.0 (confirmed via
npx rea-agents --version)Runtime and platform
Node v24.20.0; Windows (PowerShell 7.6.7); Claude Desktop installed as MSIX package; Ghidra/Hopper not installed (not applicable — issue is unrelated to native binary analysis).
Target and artifact context
Not applicable — this report concerns MCP tool registration/connector behavior in Claude Desktop, not a specific analyzed binary or artifact. Cross-client test used an empty {} input and a valid empty HAR file, not a real capture target.
Interface
MCP
Earliest failure stage
Setup or provider admission
Relevant output or evidence
Command or MCP request actually run: Asked Claude Desktop "do you have access to REA tools?" after setup/restart. Separately, compare_web_captures was invoked with empty {} input via a different MCP client (not Claude Desktop).
Relevant result, error, or artifact: Claude Desktop UI error toast: "Claude can't use Compare Web Captures from REA because of a problem with that connector. Update or reinstall REA." The other MCP client returned a proper validation error (missing before/after captures) instead of a connector failure for the same tool.
For source-only findings, link the file/revision and relevant code: NOT_ENOUGH_INFO — no access to REA's source for the Claude Desktop connector registration path.
Missing evidence or remaining uncertainty: Exact internal error/stack trace not captured; REA_LOG_LEVEL=debug was not set during reproduction.
Typed outcome or recovery expected
Either successful tool registration, or a specific actionable error distinct from the generic "update or reinstall REA" message — both of those recovery steps were already attempted without resolving it.
Analysis or suspected cause
Hypothesis, not confirmed: likely a Claude Desktop-specific registration issue for this one tool during provider admission, since the same underlying tool (compare_web_captures) was invoked successfully through a different MCP client and returned a proper validation error rather than a connector failure.
Additional context
Cross-client comparison: via a separate MCP client (not Claude Desktop), compare_web_captures was invoked with empty {} input and returned a correct validation error (missing before/after captures) rather than a connector failure. A related tool, inspect_web_network_capture, succeeded there against a valid empty HAR file (total_records: 0, no error). This suggests the failure is isolated to Claude Desktop's connector/registration handling for this one tool, not a dead feature in REA overall.
@SoGeRiEn commented on GitHub (Oct 15, 2026):
Patched on
fix/reliability-pack-20261015at 12309d27. Claude Desktop now gets the compact input schema by default; explicitfullstays untouched. Real Windows Claude Desktop verification remains.@matbrgz commented on GitHub (Oct 16, 2026):
This behavior directly ties into the Claude Desktop MCP schema complexity cluster:
Array and object tool parameters rejected when REA runs as a local MCP server in Claude Desktop (Windows))compare_web_screenshots fails in Claude Desktop: $ref params passed as strings)inputSchema nesting depth exceeds 10 on 24 tools - max 19: compare_web_captures)In Claude Desktop on Windows,
compare_web_capturesfails connector registration because its inputSchema nesting depth (19 levels) and complex object definitions exceed the client's internal schema validator, showing the persistent "problem with that connector" toast.@IanBaswana commented on GitHub (Oct 17, 2026):
Also reproduced on macOS (Apple Silicon, Claude Desktop, REA 6.5.0 via
npx rea-agents setup --client claude_desktop), so this is not Windows-specific. Same toast: "Claude can't use Compare Web Captures from REA because of a problem with that connector."Measurements (from
tools/listsent directly tonpx rea-agents@6.5.0 mcp, 207 tools):compare_web_capturesinputSchemafull)compare_application_versions: 31,107 bytesREA_MCP_INPUT_SCHEMA_PROFILE=compactobjectcapture_process_scenario: 3,807 bytescompare_web_capturesis about 5x larger than any other tool's schema in the default profile, because it inlines the fullinspect_web_page/discover_webmcp_tools/capture_browser_scenarioresult schemas forbefore,after,before_scenarioandafter_scenario.Workaround: add
"REA_MCP_INPUT_SCHEMA_PROFILE": "compact"to theenvblock of thereaserver inclaude_desktop_config.json(quit Claude Desktop fully before editing). The compact profile keeps all 207 tools and, permcpInputSchemaProfile.js, the server still validates the full canonical input.Suggestion: setup could write the compact profile for Claude Desktop by default (as it may also help #3408 / #4058), or
compare_web_capturescould reference the capture results byevidence_idinstead of inlining their full schemas.@CassieFox23 commented on GitHub (Oct 19, 2026):
Edit: I checked both schemas on main
e8da7e1ed(6.7.0). Neither has a$ref. Details are here.matbrgz groups this issue with #3408 in #4330. That one is about array and object arguments that Claude Desktop rejects. Two open PRs say they fix #3408: #3486 and #3525. This issue links to neither.
#4973 was opened on Oct 18. It reports the same "problem with that connector" warning for these tools. It also shows "expected object, received string". It may be worth checking this issue against #3486 and #3525.
🤖 Generated with Claude Code (Sonnet 5.5, verified by Opus 5.5) 🦊
@hhabilaz commented on GitHub (Oct 20, 2026):
Confirmed: the compact-profile workaround resolved the connector warning on my Windows Claude Desktop installation using REA 6.5.0.
I added this to the existing rea server entry:
"env": {
"REA_MCP_INPUT_SCHEMA_PROFILE": "compact"
}
After fully quitting and reopening Claude Desktop and starting a new session:
I have not yet tested a successful comparison with valid captures. This confirms the workaround for my original registration issue, rather than verification of the patch branch or a newer release.
Thanks for the workaround!
@yule1048596-art commented on GitHub (Oct 23, 2026):
TL;DR: The toast is caused by schema size. Claude Desktop drops any local connector tool whose
inputSchema, serialized as compact JSON, is over 65,536 bytes. In REA 6.7.0 onlycompare_web_capturesis over that limit (165,694 bytes). Nesting depth and$refare not part of this check. Bringing that one schema under 64 KiB removes the toast without the compact profile.The limit
When Claude Desktop builds the tool list for a message, it drops some local connector tools. One drop reason is
schema_too_large: the tool'sinputSchema, serialized as compact JSON, is over 65,536 UTF-8 bytes. A tool dropped for that reason gets the generic toast "Claude can't use {tool} from {connector} because of a problem with that connector. Update or reinstall {connector}." The check runs per tool, and on this path the client does not look at nesting depth or$ref.I traced the toast to the client-side tool filter in the Claude Desktop web bundle (Claude Desktop 3.1623.4, macOS 27.0.1, 2026-10-23). Then I replayed the client's per-tool checks against REA 6.7.0's
tools/list(207 tools, defaultfullprofile):compare_web_capturescompare_web_capturesinput schemacompare_application_versions)schema_too_large)This also answers the open question in #4973.
compare_web_capturesnever had a$ref, so the$reffix could not help it. On this client build, 6.7.0 with the default profile still shows the toast.What the compact workaround costs
REA_MCP_INPUT_SCHEMA_PROFILE=compactdoes remove the toast, as confirmed above. But it affects every tool, not just this one, becausecompactAdvertisedInputSchemaalways strips annotations first. On 6.7.0 it removes 1,259 of 1,295 nested parameter descriptions, across 180 of 207 tools.compare_web_capturesis left with five plainobjectproperties. That drops thebefore/after→inspection/webmcplayout and thenormalization.rules[]shape that the model has to write itself. #4828 proposed making compact the Claude Desktop default, which would pass this cost on to every Claude Desktop user.A narrower fix (tested locally on 6.7.0)
I patched the installed bundle so the
fullprofile fits oversized schemas, and only those over 64 KiB:{ type, items?, description }. This is the same stub shape thatreduceToShallowPropertiesalready writes.Runtime validation is untouched, because only the advertised projection changes. For
compare_web_capturesthe result (46,877 bytes) keeps:before/after→inspection/webmcpand all of their fieldsnormalization.rules[]schema, including theartifactsenumexamplesThe other 206 schemas are byte-identical. The fitted schema passes the JSON Schema 2020-12 metaschema and still accepts the tool's own example input.
Sketch against main (
8d8d85ba2), not tested thereThe compact profile still applies on top of this through
presentAdvertisedInputSchema. The recorded catalog digest would change.A catalog-wide check in
tests/boundary/mcp/toolSchemaValidity.test.tsthat every advertised input schema is at most 65,536 bytes would catch the next one early. #4973 measuredinspect_analysis_viewat 49,804 bytes on main.Not run
compare_web_capturescomparison with real captures.🤖 Investigated and drafted with Claude Code (Opus 5.5); reviewed and posted by me.
@kaoru0822-kitauji commented on GitHub (Oct 25, 2026):
Reopening: the fix in #7119 is being reverted by #7135 because it broke main CI. Once other merges grew
inspect_analysis_view's complete input schema to 71,762 bytes plus 3,003 bytes of examples, the fitter fell back from instance level 3 to level 2. That summarized the inline Evidence source and view selectors, which existing contract tests require in full. A follow-up needs to shrink that schema's representation, not just pick a different cut.🤖 Written with Claude Code (Opus 5.5)
@morluto commented on GitHub (Oct 26, 2026):
Thank you for the detailed report and for confirming that the compact profile removes the connector warning on your installation. The same remaining
compare_web_captureswarning on the full profile is being tracked in #4973, including the later schema-size investigation and the reverted #7119 fix. I am closing this duplicate to keep the investigation together; the problem has not been established as fixed for the full profile. Please reopen if your installation exposes a distinct case that #4973 does not cover.