AR
feat: Support MCP UI rendering in chat
archestra-ai/archestra#2558

Summary

Adds MCP UI support to the Archestra Chat UI, enabling rich content rendering for MCP tool responses.

Changes

New files:

  • McpUiRenderer component (mcp-ui-renderer.tsx) — renders MCP content types: text, image, and resource (with sandboxed HTML iframe support)
  • sandbox_proxy.html — secure iframe proxy for HTML resource rendering
  • mcp-ui-renderer.test.tsx — 16 tests covering parsing, rendering, edge cases, and graceful degradation

Modified files:

  • chat-mcp-client.ts — forwards MCP UI content arrays to the frontend
  • ool.tsx — integrates McpUiRenderer into tool response display
  • chat-messages.tsx — integrates McpUiRenderer into chat message rendering

Testing

  • 16/16 tests passing (vitest)
  • Biome lint: clean (0 issues)
  • TypeScript: compiles without errors

Closes #1301

/claim #1301

Claim

Total prize pool $900
Total paid $0
Status Pending
Submitted February 02, 2026
Last updated February 02, 2026

Contributors

ER

Ernest Manu Ofosu

@ernestofosu05

100%

Sponsors

AR

Archestra

@archestra-ai

$900