Skip to content

(docs): MCP Apps documentation#2105

Merged
localden merged 70 commits into
mainfrom
localden/mcpapps
Jan 26, 2026
Merged

(docs): MCP Apps documentation#2105
localden merged 70 commits into
mainfrom
localden/mcpapps

Conversation

@localden

@localden localden commented Jan 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Note

This document is heavily inspired by @jonathanhefner's work on the quickstart in the MCP Apps documentation.

Adds documentation for MCP Apps, an extension that enables MCP servers to deliver interactive UI applications directly within conversational clients like Claude.

Preview: https://mcp-staging-localden-mcpapps.mintlify.app/docs/extensions/apps

What's included

Getting started

  • Two onboarding paths: AI coding agent workflow (with create-mcp-app skill) and manual setup
  • Cross-platform support with macOS/Linux and Windows/PowerShell examples
  • Skills directory reference for Claude Code, VS Code/GitHub Copilot, Gemini CLI, Cline, and Goose

Technical content

  • How MCP Apps work: The tool + UI resource pattern, with sequence diagram showing the LLM → server → app flow
  • Building an MCP App: Complete server and UI implementation using @modelcontextprotocol/ext-apps
  • The App API: connect(), callServerTool(), ontoolresult, sendMessage(), sendLog(), sendOpenLink()
  • Security model: iframe sandboxing and postMessage-based communication
  • Framework support: Emphasizes MCP Apps use standard web primitives (HTML, JS, postMessage); SDK is optional

Testing

  • Testing with Claude via cloudflared tunneling and custom connectors
  • Testing with the basic-host development tool

Content written by @localden. PR summary generated with Claude Code.

@localden localden requested a review from a team as a code owner January 17, 2026 21:34
@localden localden changed the title MCP Apps documentation (docs): MCP Apps documentation Jan 17, 2026
@localden localden marked this pull request as draft January 17, 2026 21:35
@localden localden added the documentation Improvements or additions to documentation label Jan 17, 2026
🏠 Remote-Dev: homespace
🏠 Remote-Dev: homespace
🏠 Remote-Dev: homespace
🏠 Remote-Dev: homespace
- Add Windows/PowerShell examples alongside macOS/Linux commands
- Add table of AI coding agents with skills support (Claude Code, VS Code,
  GitHub Copilot, Gemini CLI, Cline, Goose)
- Add Mermaid sequence diagram showing MCP Apps flow
- Add MDN links for technical terms (iframe, postMessage, DOM)
- Expand LLM acronym on first use
- Move prerequisites to top of Getting Started section
- Link Node.js and TypeScript SDK to their respective pages
- Replace em-dashes with appropriate punctuation
- Change ''assistant'' to ''agent'' throughout
- Remove SEP discussion links
- Consolidate duplicate Claude Code/VS Code tabs

:house: Remote-Dev: homespace

Claude-Generated-By: Claude Code (claude-vscode/claude-opus-4-5=100%)
Claude-Steers: 25
Claude-Permission-Prompts: 6
Claude-Escapes: 0
🏠 Remote-Dev: homespace
🏠 Remote-Dev: homespace
🏠 Remote-Dev: homespace
🏠 Remote-Dev: homespace
🏠 Remote-Dev: homespace
🏠 Remote-Dev: homespace
@localden localden requested review from idosal, liady and ochafik January 26, 2026 01:10
🏠 Remote-Dev: homespace
Comment thread docs/docs/extensions/apps.mdx Outdated
Comment thread docs/docs/extensions/apps.mdx Outdated
🏠 Remote-Dev: homespace
Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
🏠 Remote-Dev: homespace
just read about it. MCP Apps let servers return interactive HTML interfaces (data
visualizations, forms, dashboards) that render directly in the chat.

## Why not just build a web app?

@idosal idosal Jan 26, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great points. One other implication that's deducible but easy to miss -
The MCP app's communication with the host isn't restricted to accessing its own server. The app can effectively delegate actions to whatever tools/MCP servers the user already has connected (subject to host permissions/consent).
For example, the app can drive the model to schedule a meeting, and the model can route that through the user’s existing calendar/email connectors. That way, apps don't need to develop direct integrations with all email providers themselves.

Comment thread docs/docs/extensions/apps.mdx Outdated
Comment thread docs/docs/extensions/apps.mdx Outdated
localden and others added 2 commits January 26, 2026 08:54
Co-authored-by: Liad Yosef <liady@users.noreply.github.com>
Co-authored-by: Ido Salomon <idosalomon@gmail.com>
@localden localden enabled auto-merge January 26, 2026 17:07
@localden localden merged commit 0145dae into main Jan 26, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants