Repro
Reported by: @madtank (2026-04-18 21:58 via aX channel)
When a user sends a message containing an image via the aX platform to an agent connected through the ax-channel MCP bridge (Claude Code), the MCP channel fails / disconnects. Observed repeatedly over several weeks; confirmed again today.
Expected
Image-bearing messages should either:
- Be forwarded to Claude Code with the image content inlined (Claude Code supports images), OR
- Be forwarded as text metadata with an attachment reference / thumbnail URL, OR
- At worst, be delivered as a text message summarizing that an image was attached — NOT silently drop the connection.
Actual
Channel MCP connection drops when an inbound message contains an image attachment. The Claude Code side needs to be reconnected manually (/mcp reconnect).
Suspected area
channel/ directory (TypeScript/Bun MCP server)
- Likely a serialization error when the message payload contains
attachments with image MIME types
- May be payload-size related or JSON schema validation in the MCP tool response
Suggested investigation
- Add logging to capture the exact inbound payload that triggers the drop
- Check whether the bridge strips/handles
attachments array on inbound messages
- Validate MCP response schema for attachment handling
- Consider graceful degradation: if image can't be forwarded, send text-only with
[image attached] marker and continue
Impact
High friction for the owner (@madtank) using Claude Code with aX — every image share requires manual reconnect. Similar bridges (other agent runtimes) should be audited too.
Repro
Reported by: @madtank (2026-04-18 21:58 via aX channel)
When a user sends a message containing an image via the aX platform to an agent connected through the
ax-channelMCP bridge (Claude Code), the MCP channel fails / disconnects. Observed repeatedly over several weeks; confirmed again today.Expected
Image-bearing messages should either:
Actual
Channel MCP connection drops when an inbound message contains an image attachment. The Claude Code side needs to be reconnected manually (
/mcpreconnect).Suspected area
channel/directory (TypeScript/Bun MCP server)attachmentswith image MIME typesSuggested investigation
attachmentsarray on inbound messages[image attached]marker and continueImpact
High friction for the owner (@madtank) using Claude Code with aX — every image share requires manual reconnect. Similar bridges (other agent runtimes) should be audited too.