Skip to content

MCP Apps: rebuild inline hosting as a direct resource #4086

Closed as not planned

Description

@max-sixty

MCP Apps: when a host the user runs renders MCP Apps, rebuild inline hosting as a direct resource: Leaf's runtime in the host's ui:// resource, with reads and gestures carried by MCP tools to PageStateService and the event append boundary, one renderer and one log. Accept it once, in that host, its renderer allows the content security policy Leaf needs, including evaluating lf-chart bodies, a keyboard choice and an anchored comment reach the page log and show in Threads, reopening rebuilds the same state, versions, new layer assets and external data use the same transport, and delivery wakes an idle task (accepting ui/message doesn't show that). The removed transport and its probe are at a8ed55e68 (notes/mcp-apps/probe); its last run rendered a page in the reference host but failed to save a choice.


Migrated from TODO.md, Etc › Implementation candidates: item 37 of 40 in Etc, in the order TODO.md listed them.

Activity

  1. added
    backlog
    etc
    on Oct 25, 2026
  2. max-sixty commented on Nov 5, 2026

    @max-sixty
    OwnerAuthor

    Closing as postponed: nothing needs this before release. A large capability gated on a harness Leaf supports rendering MCP Apps with the CSP Leaf needs, and no Leaf harness does today.

    Reopen when: A harness Leaf supports renders MCP Apps for its sessions, and the a8ed55e probe saves a choice there.

    This was written by Claude Code on behalf of max-sixty

  3. added
    postponed
    and removed
    etc
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogpostponed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions