MCP Apps Enable Agents to Render Website HTML Directly in Responses

5 Min Read
  • Software agents produced working MCP apps from both a one-line instruction and a detailed prompt, with each tested build succeeding on the first attempt.
  • The one-line runs produced the same basic architecture but differed in tools, interface behavior, accent color and code volume.
  • The detailed prompt produced consistent named features, including the main tool, arguments, button labels and brand color.

Across three isolated builds, software agents created an MCP server and interactive news widget for Incrypted using either a single-line instruction or a detailed prompt. The tests showed that a short instruction could reliably determine the app’s architecture, while explicit requirements were needed to keep product decisions consistent between runs.

After the initial one-line build, the project was rebuilt twice from scratch by different agents working in empty folders without access to the first project. One received the same single line, while the other received a detailed prompt specifying data, behavior and verification requirements.

Single-line builds shared an architecture

The repeated one-line build succeeded on its first attempt in five minutes. The agent independently found the site’s standard WordPress feeds and identified Russian, Ukrainian and English versions.

The result differed from the first build in several product details. The original had two tools, including one hidden from the model, while the repeat had one tool named show_incrypted_news. The first build’s cards included a three-point editorial summary. Its “Ask Claude” button refreshed the model context before sending a message, while the repeated build’s button only sent a message.

The first agent extracted a red accent from the site, while the second substituted yellow because it could not read the brand shade. The first project contained about 810 lines of code, compared with about 360 lines in the repeat.

Both runs nevertheless used the same data source, separated text intended for the model from objects intended for the widget, compiled the page into a single file and selected the current SDK branch. The differences reflected decisions that the one-line instruction had left unspecified rather than build errors.

Detailed requirements produced consistent features

The detailed prompt called for an MCP server with an interactive widget showing articles from the public Russian feed at https://incrypted.com/feed/, the Ukrainian feed at https://incrypted.com/ua/feed/ and the English feed at https://incrypted.com/en/feed/. It required the server, rather than the widget, to fetch the feeds.

The prompt specified an incrypted_news tool with lang and limit arguments. It directed the agent to put a short text list for the model in content and full article objects for the widget in structuredContent. It also required a second tool for the widget’s buttons that would remain hidden from the model.

The requested widget used cards showing category, time and title, with each card expanding to display an editorial summary. Other requirements included language tabs, a refresh button, a “Break it down with Claude” button that updated model context before sending a chat message, and a “Read on the site” button that opened the article through the host.

The prompt specified light and dark host themes, the brand accent #EB5643, TypeScript and the official @modelcontextprotocol/ext-apps SDK. It also required support for stdio and HTTP transports and instructed the agent to check current documentation because package names changed in the 2.x branch. Earlier guides used the single @modelcontextprotocol/sdk package, which was subsequently split into server, client, node and express packages.

The detailed build succeeded on its first attempt without installation, import or type errors. It took six and a half minutes, installed the same package versions and produced 13 files totaling 960 lines. The widget page was 244 KB.

All explicitly specified elements—including the main tool name, its arguments, button labels and accent color—matched the first build. Differences remained only in areas the prompt did not define: the hidden tool’s name, the feed-parsing method and the HTTP server setup.

Source: Incrypted

MCP Apps Enable Agents to Render Website HTML Directly in Responses

Across three isolated builds, software agents created working MCP servers and interactive Incrypted news widgets on their first attempts, with detailed prompts producing more consistent product features than one-line instructions.

5 Min Read
Musk Says Bitcoin’s Long-Term Prospects Are Positive, Sees No Cryptographic Threat

Elon Musk said bitcoin had a positive long-term outlook, citing engineered scarcity, and cryptographic vulnerabilities posed no immediate threat; Grok said the P-256 issue did not affect bitcoin’s secp256k1 curve.

2 Min Read
Mark Cuban Calls Cryptocurrencies Biggest Disappointment Among Promising Technologies

Mark Cuban said bitcoin and most other cryptocurrencies had lost their original direction and failed to deliver widely adopted products, while tokenized real-world assets could continue to grow.

3 Min Read
Bill Gates Calls for Slower AI Development, Limits on Tech Companies’ Influence

Bill Gates called for stronger government oversight of AI, urged the U.S. Congress to accelerate legislation and said slowing development could help address cybersecurity, biological-security and labor-market risks.

4 Min Read
Bybit Marks Eighth Anniversary With 1 Million USDT Prize Pool

Bybit announced an eighth-anniversary campaign with a total prize pool of 1 million USDT, running from Dec. 3, 2026, through Jan. 6, 2027, after pre-registration from Dec. 1-3.

4 Min Read