Skip to content

Status too large for the cloud: clear error, server capabilities, MCP keeps the connection (SDK + MCP 2.13.15) - #78

Merged
wardviaene merged 1 commit into
mainfrom
status-short-form
Nov 14, 2026
Merged

wardviaene merged 1 commit into
mainfrom
status-short-form

Conversation

@wardviaene

Copy link
Copy Markdown
Member

Firmware 3.10.4's status could be larger than the cloud channel takes, so a cloud connect failed with FirmwareError: status: reply too large for the cloud channel (1838 bytes, limit 1791). Firmware fix: embeddedci-com/benchpod-firmware#143 (3.10.5).

SDK (embeddedci 2.13.15)

  • The error for that case names the fix: firmware 3.10.5 (benchpod flash-self or the web app's firmware update).
  • bp.capabilities falls back to the server's cap.* set when status is too large, and keeps it, instead of re-reading status on every access.

MCP (embeddedci-mcp 2.13.15)

  • connect/status no longer fail on that pod: the firmware fields are reported as unknown with a warning to update to 3.10.5.
  • With 3.10.5's short cloud status (short_form: true, no lan_tls), status fills firmware.lan_tls from the lan_tls command (the desktop Pod Settings reads lan_tls.https_only).

Tests

  • Unit: new refusal-error test, two MCP tool tests (too-large status keeps the connection; short form gets lan_tls). SDK 857 passed, MCP 200 passed.
  • Hardware (benchpod-30a9f1): on 3.10.4 over the cloud the new error shows; on the 3.10.5 build the SDK connects over the cloud (status short form 1317 B, capabilities complete) and MCP connect over the cloud returns firmware 3.10.5 with lan_tls filled.

🤖 Generated with Claude Code

…CP keeps the connection (SDK + MCP 2.13.15)

Firmware 3.10.4's status could be larger than the cloud channel takes, so a cloud connect failed
with "status: reply too large for the cloud channel". The SDK's error now names the fix
(firmware 3.10.5), and bp.capabilities falls back to the server's capability set and keeps it
rather than reading the status again on every access. The MCP status/connect report the
firmware fields as unknown with a warning instead of failing the connect.

Firmware 3.10.5 sends the short form over the cloud ("short_form": true), without lan_tls: the
MCP status fills firmware.lan_tls from the lan_tls command there (the desktop Pod Settings reads it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wardviaene
wardviaene merged commit 731bf5f into main Nov 14, 2026
20 checks passed
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