@modelcontextprotocol/ext-apps logo

@modelcontextprotocol/ext-apps

OrganizationPopular
modelcontextprotocol

Official repo for spec & SDK of MCP Apps protocol - standard for UIs embedded AI chatbots, served by MCP servers

Publishermodelcontextprotocol
Repositoryext-apps
LanguageTypeScript
Forks
386
Stars
2.9K
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    @modelcontextprotocol/ext-apps exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    2.9K stars and 386 forks from the linked repository.

Table of Contents

Build with Agent Skills

The fastest way to build an MCP App is to let your AI coding agent do it. This repo ships four Agent Skills — install them once, then just ask:

SkillWhat it doesTry it
create-mcp-appScaffolds a new MCP App with an interactive UI from scratch"Create an MCP App"
migrate-oai-appConverts an existing OpenAI App to use MCP Apps"Migrate from OpenAI Apps SDK"
add-app-to-serverAdds interactive UI to an existing MCP server's tools"Add UI to my MCP server"
convert-web-appTurns an existing web app into a hybrid web + MCP App"Add MCP App support to my web app"

Install the Skills

Claude Code — install via the plugin marketplace:

/plugin marketplace add modelcontextprotocol/ext-apps
/plugin install mcp-apps@modelcontextprotocol-ext-apps

Other agents — any AI coding agent that supports Agent Skills can use these skills. See the agent skills guide for manual installation instructions.

Once installed, verify by asking your agent "What skills do you have?" — you should see create-mcp-app, migrate-oai-app, add-app-to-server, and convert-web-app in the list. Then just ask it to create or migrate an app and it will guide you through the rest.

Supported Clients

[!NOTE] MCP Apps is an extension to the core MCP specification. Host support varies — see the clients page for the full list.

Why MCP Apps?

MCP tools return text and structured data. That works for many cases, but not when you need an interactive UI, like a chart, form, design canvas or video player.

MCP Apps provide a standardized way to deliver interactive UIs from MCP servers. Your UI renders inline in the conversation, in context, in any compliant host.

How It Works

MCP Apps extend the Model Context Protocol by letting tools declare UI resources:

  1. Tool definition — Your tool declares a ui:// resource containing its HTML interface
  2. Tool call — The LLM calls the tool on your server
  3. Host renders — The host fetches the resource and displays it in a sandboxed iframe
  4. Bidirectional communication — The host passes tool data to the UI via notifications, and the UI can call other tools through the host

Getting Started

Requires Node.js 20+. The base MCP SDK packages are ^2.0.0 peers of ext-apps (@modelcontextprotocol/core is a required peer that client already depends on, so npm installs it for you).

For a View or host:

bash
npm install -S @modelcontextprotocol/ext-apps \
  @modelcontextprotocol/client@^2.0.0 \
  zod@^4.2.0

For an MCP server, add the server package (and, for HTTP transports, the Node and Express adapters):

bash
npm install -S @modelcontextprotocol/ext-apps \
  @modelcontextprotocol/client@^2.0.0 \
  @modelcontextprotocol/server@^2.0.0 \
  @modelcontextprotocol/node@^2.0.0 \
  @modelcontextprotocol/express@^2.0.0 \
  zod@^4.2.0

The wire protocol is unchanged between ext-apps 1.x and 2.x: a 2.x View works in a 1.x host and a 2.x host renders 1.x Views. See the migration guide when upgrading from 1.x.

New here? Start with the Quickstart Guide to build your first MCP App.

Using the SDK

The SDK serves three roles: app developers building interactive Views, host developers embedding those Views, and MCP server authors registering tools with UI metadata.

PackagePurposeDocs
@modelcontextprotocol/ext-appsBuild interactive Views (App class, PostMessageTransport)API Docs →
@modelcontextprotocol/ext-apps/reactReact hooks for Views (useApp, useHostStyles, etc.)API Docs →
@modelcontextprotocol/ext-apps/app-bridgeEmbed and communicate with Views in your chat clientAPI Docs →
@modelcontextprotocol/ext-apps/serverRegister tools and resources on your MCP serverAPI Docs →

There's no supported host implementation in this repo (beyond the examples/basic-host example).

The MCP-UI client SDK offers a fully-featured MCP Apps framework used by a few hosts. Clients may choose to use it or roll their own implementation.

Examples

The examples/ directory contains demo apps showcasing real-world use cases.

Starter Templates

BasicThe same app built with different frameworks — pick your favorite!React · Vue · Svelte · Preact · Solid · Vanilla JS

Running the Examples

With basic-host

To run all examples locally using basic-host (the reference host implementation included in this repo):

bash
git clone https://github.com/modelcontextprotocol/ext-apps.git
cd ext-apps
npm install
npm start

Then open http://localhost:8080/.

With MCP Clients

Every Node.js example is published as @modelcontextprotocol/server-<name>. To add one to an MCP client that supports stdio (Claude Desktop, VS Code, etc.), use this pattern:

json
{
  "mcpServers": {
    "<name>": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-<name>", "--stdio"]
    }
  }
}

For example, to add the map server: @modelcontextprotocol/server-map. The Python examples (qr-server, say-server) use uv run instead — see their READMEs for details.

Local Development

To test local modifications with an MCP client, clone the repo, install, then point your client at a local build:

json
{
  "mcpServers": {
    "<name>": {
      "command": "bash",
      "args": [
        "-c",
        "cd ~/code/ext-apps/examples/<name>-server && npm run build >&2 && node dist/index.js --stdio"
      ]
    }
  }
}

Specification

VersionStatusLink
2026-01-26Stablespecification/2026-01-26/apps.mdx
draftDevelopmentspecification/draft/apps.mdx

Resources

Contributing

Contributions are welcome! Please read CONTRIBUTING.md for guidelines on how to get started, submit pull requests, and report issues.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "modelcontextprotocol-ext-apps": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/ext-apps"
      ]
    }
  }
}

Use @modelcontextprotocol/ext-apps MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once @modelcontextprotocol/ext-apps is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add @modelcontextprotocol/ext-apps as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the @modelcontextprotocol/ext-apps MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "modelcontextprotocol-ext-apps": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/ext-apps"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the @modelcontextprotocol/ext-apps MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the @modelcontextprotocol/ext-apps MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use @modelcontextprotocol/ext-apps to help me with this task?
@modelcontextprotocol/ext-apps
Sure. I read it.
Here is what I found using @modelcontextprotocol/ext-apps.

Frequently asked questions

What is the @modelcontextprotocol/ext-apps MCP server used for?

@modelcontextprotocol/ext-apps is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use @modelcontextprotocol/ext-apps MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use @modelcontextprotocol/ext-apps with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use @modelcontextprotocol/ext-apps MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With @modelcontextprotocol/ext-apps connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect @modelcontextprotocol/ext-apps MCP to TypingMind?

@modelcontextprotocol/ext-apps runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does @modelcontextprotocol/ext-apps MCP provide in TypingMind?

@modelcontextprotocol/ext-apps exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use @modelcontextprotocol/ext-apps MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If @modelcontextprotocol/ext-apps requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇