mcp-apps

mcp-apps is a skill for Claude Code from Tyler-R-Kendrick/agent-skills. It costs 90 tokens per session (1,017 once invoked), scanned A, original, MIT.

A way for Model Context Protocol servers to provide interactive web interfaces, such as dashboards, inside an AI assistant conversation. The interface runs in a restricted embedded frame and can exchange messages with the assistant host.

In plain words
What is it for?
Use it to build interactive dashboards and other rich conversation interfaces served by MCP tools, including the user interface, embedded-frame rendering, and two-way communication.
Why use it?
Plain text tool results can be difficult to explore or control. This lets users view information and interact with server-provided controls directly in the conversation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-skills plugin — 57 skills shipped together

Good fit Use it to build interactive dashboards and other rich conversation interfaces served by MCP tools, including the user interface, embedded-frame rendering, and two-way communication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tyler-r-kendrick/agent-skills/mcp-apps
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Tyler-R-Kendrick/agent-skills --skill mcp-apps
Clone the repo
git clone --depth 1 https://github.com/Tyler-R-Kendrick/agent-skills

Made for: Claude Code.

Or install agent-skills, the plugin that ships this one along with the rest of its 57 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-apps

README.md
[![agentmods](https://agentmods.dev/badge/skills/tyler-r-kendrick/agent-skills/mcp-apps/github.svg)](https://agentmods.dev/skills/tyler-r-kendrick/agent-skills/mcp-apps)
Your own site
<a href="https://agentmods.dev/skills/tyler-r-kendrick/agent-skills/mcp-apps"><img src="https://agentmods.dev/badge/skills/tyler-r-kendrick/agent-skills/mcp-apps/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-apps

Your own site · 80×15
<a href="https://agentmods.dev/skills/tyler-r-kendrick/agent-skills/mcp-apps"><img src="https://agentmods.dev/badge/skills/tyler-r-kendrick/agent-skills/mcp-apps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,017 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.01017
Opus 5.5 $0.00036 $0.00407
Sonnet 5.5 $0.00018 $0.00203
Haiku 4.5 $0.00009 $0.00102

Measured 2mo ago against content hash 6e682a06bad0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-apps scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ai/mcp-apps/SKILL.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Apps

Overview

MCP Apps is an extension to the Model Context Protocol that lets MCP servers return rich, interactive user interfaces instead of plain text. When a tool declares a UI resource, the host renders it in a sandboxed iframe, and users interact with it directly in the conversation. Supported by Claude, VS Code, Goose, and Postman.

How It Works

MCP Server                    Host (Claude, VS Code)
  │                               │
  │◄── tool call ─────────────────│
  │── tool result + ui resource ─►│
  │                               │── render iframe ──► User
  │◄── JSON-RPC messages ────────│◄── user interaction
  1. A tool declares a ui field referencing a ui:// resource
  2. The host calls the tool and receives the result with a UI reference
  3. The host fetches the UI content and renders it in a sandboxed iframe
  4. The UI communicates with the host via JSON-RPC over postMessage

Declaring UI in a Tool

{
  "name": "render_dashboard",
  "description": "Display an interactive dashboard",
  "inputSchema": {
    "type": "object",
    "properties": {
      "data": { "type": "object" }
    }
  },
  "ui": {
    "uri": "ui://dashboard",
    "title": "Dashboard"
  }
}

UI Resource

The server registers a UI resource that returns HTML:

@mcp.resource("ui://dashboard")
def dashboard() -> str:
    return """
    <!DOCTYPE html>
    <html>
    <body>
      <h1>Dashboard</h1>
      <div id="chart"></div>
      <script>
        // Communicate with the host via JSON-RPC
        window.addEventListener('message', (event) => {
          const { method, params } = event.data;
          if (method === 'initialize') {
            renderChart(params.data);
          }
        });
      </script>
    </body>
    </html>
    """

URI Scheme

MCP Apps use the ui:// URI scheme:

  • ui://dashboard — predeclared UI template
  • Only text/html content is supported in the initial specification
  • External URLs, remote DOM, and native widgets are deferred to future versions

Read the full file on GitHub · 123 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 123 lines · 90 tokens per session scan A 6e682a06bad0

Subscribe to this mod's changes

mcp-apps is a skill published in the GitHub repository Tyler-R-Kendrick/agent-skills (13 stars, last pushed 5mo ago), licensed MIT. It adds 90 tokens to every session and 1,017 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

mcp-apps compared with skills from other repositories

mcp-apps next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp-appsTyler-R-Kendrick/agent-skillsSkill135mo agoMITA90Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code