← Reddit

Claude has been building interactive prototypes inside my documents, not next to them

Reddit · m_gavrilov · May 5, 2026
For the last few weeks I've been using a doc tool that ships with an MCP server. Boring sentence. The non-boring part: one of the block types is raw HTML that renders in place. Which means when I ask Claude to "show me" something, it stops describing and

Detailed Analysis

A developer sharing on Reddit has documented a workflow in which Claude, via an MCP (Model Context Protocol) server, builds interactive HTML prototypes directly inside a document environment rather than producing static text descriptions or code snippets that must be copied elsewhere. The setup depends on a document tool that supports raw HTML blocks as a native content type — allowing Claude to call tools like `create_html_block` and `update_html_block` to insert and modify live, rendered interfaces in place. In the examples provided, Claude converted a static comparison table into a filterable UI for choosing between bike frames, transformed a list of training sessions into a hoverable weekly calendar, and generated a sortable, searchable table from CSV data — all within approximately 60–80 lines of vanilla HTML and JavaScript, with no external libraries.

The significance of this workflow lies in how the MCP layer changes the nature of Claude's role. Rather than functioning as a text generator that produces outputs for the user to act upon, Claude operates as an agent with direct write access to the document surface, reading content and then constructing functional artifacts in the same environment where the user's notes and data already live. This eliminates a persistent friction in AI-assisted work: the gap between generation and integration. When a model produces code or a visualization in a separate chat window, the user must evaluate, copy, paste, and maintain that artifact independently. Here, the artifact and the context that motivated it are co-located, which the author argues meaningfully changes how they think about prompting — shifting from requests for explanation toward requests for construction.

Several practical principles emerge from the author's experience that illuminate broader patterns in effective agent-assisted workflows. Specificity of constraints — limiting line count, prohibiting external libraries, requiring inline styles — produces more immediately usable outputs than aesthetic directives. Iterative refinement via `update_html_block` proves more efficient than regeneration, a dynamic that maps onto the broader trend of treating AI outputs as editable first drafts rather than final deliverables. Perhaps most importantly, the author identifies that prompts describing an *interaction* ("let me toggle X to see Y") outperform prompts describing an *output* ("make a chart"), suggesting that the most effective use of this pattern requires users to think in terms of behavior, not appearance.

This pattern connects to a wider evolution in how MCP is reshaping the boundary between AI assistants and the tools people actually work in. The distinction the author draws — Claude calling tools versus Claude suggesting content in a sidebar — reflects a fundamental architectural difference between copilot-style integrations and true agentic operation. In copilot models, the human remains the integrator; in agentic models, the model is granted write access and acts. The document-as-workspace framing the author describes is an early, grounded instantiation of what agentic AI looks like in daily knowledge work: not a chatbot attached to a tool, but a collaborator operating inside the same surface. The author's closing observation — that this feels like "a category that doesn't have a name yet" — accurately captures that the tooling and vocabulary for this mode of human-AI collaboration are still forming, even as practitioners are already building fluent workflows within it.

Read original article →