MCP Apps: how interactive UI inside ChatGPT and Claude works
MCP Apps is the official MCP extension for interactive screens inside an AI chat. A tool points to a ui:// HTML resource, and the host runs it in a sandboxed iframe.
MCP gives an agent access to systems. A skill teaches it how to do a task. Skills over MCP lets a server ship both, as MCP resources.
Summarize with AI
Get a short summary from ChatGPT, Claude or Perplexity.
Add as a preferred source
Pick Aibuku on Google to see more of our posts in Top Stories.
Skills and MCP do different jobs. A skill is a folder with a SKILL.md file that teaches an agent how to do a task. MCP is the protocol that gives an agent access to live data and actions. “Skills over MCP” is an official MCP extension, SEP-2640, that lets an MCP server ship skills next to its tools. In most real setups you use both: the server for data and actions, the skill for the workflow around them.
The words get mixed up a lot, so this post first sorts out what “MCP skills” can mean. Then it goes through the SKILL.md format, how skills travel over MCP, the security rules, and a worked example that splits one feature into a server and a skill. If MCP itself is new to you, start with what MCP is.
SKILL.md file”, with metadata, instructions and optional scripts or files. Agent Skills overview. It has nothing to do with MCP on its own. An agent can load a skill from a local folder with no server at all.io.modelcontextprotocol/skills lets an MCP server publish Agent Skills as MCP resources, so a client can find and read them. MCP Skills extension. The format stays the same. Only the delivery changes.A skill is a directory. Only SKILL.md is required. Agent Skills specification:
skill-name/
├── SKILL.md # Required: metadata + instructions
├── scripts/ # Optional: executable code
├── references/ # Optional: documentation
├── assets/ # Optional: templates, resources
└── ... # Any additional files or directories
SKILL.md starts with YAML frontmatter, then a Markdown body. YAML is the plain key: value style used in many config files. The spec defines six fields:
| Field | Required | Constraints |
|---|---|---|
name | Yes | 1–64 characters. Lowercase a-z, 0-9 and hyphens. No hyphen at the start or end, no --. Must match the parent directory name. |
description | Yes | 1–1024 characters. Says what the skill does and when to use it. |
license | No | A license name, or the name of a bundled license file. |
compatibility | No | 1–500 characters. Environment needs: product, system packages, network access. |
metadata | No | A map from string keys to string values. |
allowed-tools | No | Space-separated list of pre-approved tools. Experimental: support varies by agent. |
Here is the spec’s own example with optional fields:
---
name: pdf-processing
description: Extract PDF text, fill forms, merge files. Use when handling PDFs.
license: Apache-2.0
metadata:
author: example-org
version: "1.0"
---
The body has no format rules. The spec suggests step-by-step instructions, examples of inputs and outputs, and edge cases. It asks you to keep SKILL.md under 500 lines and to move detail into other files, referenced by relative path, one level deep.
The three optional folders each have a job:
scripts/ holds code the agent can run. Which languages work depends on the agent; Python, Bash and JavaScript are common.references/ holds documents the agent reads when needed, such as REFERENCE.md or FORMS.md.assets/ holds static files: templates, images, lookup tables, schemas.A full, real example comes from OpenAI’s plugin docs. This skill wraps one MCP tool, roll_dice. OpenAI: Build skills:
---
name: tabletop-dice
description: Roll one or more dice for tabletop games and report each result and the total.
---
Use this skill when the user asks to roll dice.
1. Parse requests written as `NdS` as N dice with S sides. For example, `3d6`
means three six-sided dice.
2. Call `roll_dice` once for each requested die and pass S as `sides`.
3. Report each tool result in order.
4. When the user requests multiple dice, add the results and report the total.
Do not invent, replace, or reroll a result unless the user asks you to.
The tool does the rolling. The skill says how to read “3d6”, how often to call the tool, and what the answer must contain. To check a skill against the spec, use the reference validator: skills-ref validate ./my-skill.
Everything a model reads takes up room in its context window, the limited working memory of one conversation. Skills are built to use little of it. The spec calls this progressive disclosure, and it has three levels. Agent Skills specification:
name and description load at startup, for every skill.SKILL.md body loads when the skill is activated.scripts/, references/ or assets/ load only when the task needs them.A token is a small piece of text, often part of a word. Do the sums: fifty installed skills cost about 5,000 tokens of metadata up front. If all fifty bodies loaded at once, that could reach 250,000. The agent reads one body when one task needs it.
Only a skill’s name and description load up front; the rest waits
Fifty installed skills cost about 5,000 tokens of metadata. A body loads only for the task that needs it.
Anthropic’s comparison table puts the contrast with MCP in one row. A skill’s token behaviour is “Loads on-demand, preserving context”. MCP’s is “Definitions loaded upfront”. Claude blog: skills and MCP. A tool definition carries its full input schema from the start, whether or not the tool gets used.
The extension answers one question: how does an MCP server ship the skill that teaches an agent to use it? Without it, the SEP says, “A server and the skill that teaches an agent to use it are versioned, discovered, and installed separately.” SEP-2640.
Two things have different status here. The proposal is accepted: the overview page says “SEP-2640 is Final.” MCP Skills extension. The extension itself is not stable yet. Its repository says: “The extension is at the Beta stage of the extension lifecycle.” ext-skills README. Under the MCP extension lifecycle, a Beta extension can still change, with breaking changes expected to be rare and documented. MCP extensions overview.
Support is arriving fast. The extension’s own implementation list, updated in late November 2026, says it ships in the TypeScript SDK v2.4.0, the C# SDK v2.4.0, the Rust SDK (rmcp) v3.9.0, the Ruby SDK v1.9.0 and FastMCP v4.2.0. The Python SDK has it merged but not yet released, and the Go SDK is still in progress. ext-skills implementations. On the host side, Claude Code’s docs say: “MCP skills are in public beta and require Claude Code v2.1.331 or later.” Claude Code MCP docs. The SEP page is a historical record of the proposal, so its own notes on support are older than these.
Skills are files, and MCP resources already exist to expose files. So the extension reuses them: resources/read for content, plus URIs, caching and subscriptions for free. An earlier proposal, SEP-2076, made skills a new primitive. The working group chose resources instead, because a new primitive would flatten a skill into a single named blob and lose the folder of supporting files. Skills extension rationale.
The format is not redefined either. The same rationale says: “This SEP is a transport binding; the payload format is someone else's concern.” agentskills.io owns the format, MCP owns the delivery.
A server declares the extension, and the resources capability, in its server/discover result. MCP Skills extension:
{
"capabilities": {
"resources": {},
"extensions": {
"io.modelcontextprotocol/skills": {
"directoryRead": true
}
}
}
}
Declaring the extension commits the server to two methods, skills/list and skills/get. The one setting, directoryRead, defaults to false and signals the optional resources/directory/read. Clients call these methods only after they see the declaration. Since the 2026-07-28 version of MCP, every request also carries the standard _meta request metadata, such as io.modelcontextprotocol/protocolVersion. MCP server/discover.
Each file in a skill is its own resource. Servers should use this form. SEP-2640:
skill://<skill-path>/<file-path>
<skill-path> can be one segment (git-workflow) or several (acme/billing/refunds).name. So the name is readable from the URI alone. Earlier segments are a prefix the server chooses, for example by team.SKILL.md is always written out: skill://acme/billing/refunds/SKILL.md. A supporting file sits beside it: skill://acme/billing/refunds/examples/email.md.Other schemes are allowed, such as github://owner/repo/skills/refunds/SKILL.md. And a host must not decide that something is a skill just because its URI starts with skill://. Only a skills/list entry or a skills/get answer makes it one.
Two namespaces are set aside. SEP-2640:
_meta object. Those keys should use the prefix io.modelcontextprotocol.skills/.metadata map, keys starting with io.modelcontextprotocol/ are reserved for MCP extensions. None are defined yet, and hosts should ignore ones they don’t know.There are three ways in. The baseline: any skill URI can be read with resources/read, listed or not. On top of that, skills/list returns a catalog, and a server may point to skill URIs in its instructions text. skills/get turns a known URI into the skill’s full entry.
A skills/list result looks like this, shortened from the MCP Skills extension page:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"resultType": "complete",
"skills": [
{
"uri": "skill://code-review/SKILL.md",
"frontmatter": {
"name": "code-review",
"description": "Review code using the team's checklist."
},
"resources": [
{
"uri": "skill://code-review/SKILL.md",
"digest": "sha256:d2489d6c182e8df9c178563ff9f2eac7998a0c1bb1278c52a7fd5306e4259160",
"size": 149
}
// … one entry per file
]
}
],
"ttlMs": 300000,
"cacheScope": "public"
}
}
Each entry is complete in one pass:
frontmatter is the YAML copied as-is, every field. A host builds its list of skills from this without opening any SKILL.md.resources is the full file list, each file with a SHA-256 digest and its size in bytes. A digest is a fingerprint of the file: change one byte and it changes. Skills generated on the fly carry "resources": "dynamic" instead, and hosts may decline them.ttlMs and cacheScope say how long the list stays fresh and who may share a cached copy. They say nothing about whether the content is genuine.A listing may be empty or partial. A server may front thousands of skills or make them on demand. So hosts must not take an empty list as proof that a server has no skills. But a server must answer skills/get for every skill it serves. An unknown URI gets error -32602, Invalid params.
Reading uses plain resources/read, one file at a time. The overview is clear that reading is not activation: “Reading SKILL.md through resources/read does not itself activate a skill.” Only the host’s own loading path activates it, after it checks the bytes and asks for any approval needed. Relative links resolve against the skill’s root: references/checklist.md becomes skill://code-review/references/checklist.md.
The optional resources/directory/read lists one folder’s direct children, so an agent can follow an instruction like “pick a template from templates/”. Subfolders come back with mimeType: "inode/directory".
Two more rules shape the design. Hosts “MUST NOT retrieve files ahead of need, including on connection, listing, or approval.” This is progressive disclosure, kept across the network. And servers “SHOULD NOT exceed 512 files or 16 MiB per skill”. Hosts must accept skills up to that size. MCP Skills extension.
A host lists skills, then reads each file only when the task needs it
Hosts must not fetch files ahead of need. Each file is its own resource, read with plain resources/read.
A skill is text the model will follow, and sometimes code it will run. That makes it a target. Anthropic’s engineering post warns that malicious skills can “direct Claude to exfiltrate data and take unintended actions.” It advises: “We recommend installing skills only from trusted sources.” For anything less trusted, “thoroughly audit it before use.” Anthropic engineering: Agent Skills.
Skills over MCP turns this into hard rules for hosts. SEP-2640, Security Implications:
allowed-tools is ignored over MCP unless the user approved that grant for that skill. A remote server filling it in is “requesting elevated access on the host”.The archive format was dropped for the same reason. Unpacking a ZIP from a remote server opens path tricks and decompression bombs, so each file travels as its own resource. The SEP adds a second reason: “Two ways to serve one skill is a compatibility hazard.” SEP-2640. On the server side, OpenAI’s advice holds for skills too: “Assume prompt injection and malicious inputs will reach your server.” OpenAI plugin security.
Both vendors draw the same line. Anthropic: “If you're explaining how to do something, that's a skill. If you need Claude to access something, that's MCP.” Claude blog: skills and MCP. And, shorter: “MCP connects Claude to data; Skills teach Claude what to do with that data.” Claude blog: Skills explained.
OpenAI: “the MCP server provides data, authentication, authorization, and actions; the skill provides reusable instructions, examples, templates, and other resources.” It adds that a skill can work without any server “when the workflow needs only packaged instructions and resources.” OpenAI: Skills.
A skill teaches the procedure; an MCP server gives the access
Most real setups use both. The server for data and actions, the skill for the workflow around them.
| SkillTeaches how | MCP serverGives access | |
|---|---|---|
| What it is | A folder with a SKILL.md file, plus optional scripts and files | A program that offers tools, resources and prompts over MCP |
| What it gives the agent | Procedure: the order of steps, house style, a checklist | Live data, sign-in and per-user permissions, actions with effects |
| Where it runs | The model reads it; its scripts run in the agent’s own environment | On the server, which checks who asks and enforces limits |
| When it loads | Name and description up front; the rest on demand | Tool definitions, with full input schemas, up front |
| Trust | Instructions from someone else: read it before you install it; over MCP, its scripts need approval | It checks who asks: authentication and authorization sit on the server |
| You need… | Use | Why |
|---|---|---|
| Live data: stock, prices, free times | MCP tool | Data changes; the server reads it fresh. |
| An action with effects: book, pay, send | MCP tool | The server checks who asks and enforces limits. |
| Sign-in and per-user permissions | MCP server | OpenAI puts authentication and authorization on the server. |
| A fixed order of steps, or when to ask a question | Skill | That is procedure, not access. |
| House style, output format, a checklist | Skill | Text that loads only when relevant. |
| Same calculation every time, on files the agent has | Skill script | Runs in the agent’s own environment. Over MCP, only with approval. |
| One server used well in many assistants | Both | The server works everywhere; the skill teaches the workflow. |
| Ship the workflow with the server itself | Skills over MCP | One install, one version. Check host support first. |
| A listing in ChatGPT’s or Claude’s directory | Plugin | Both directories take skills inside a plugin. |
Take one feature: a customer tells an assistant “my gears keep slipping, can someone fix it Saturday?” A repair workshop wants the assistant to find a slot and send a booking request. The workshop and its tools are invented for this example.
The MCP server owns what only the workshop knows and controls. It exposes two tools. One is find_slots, shown here in the MCP tools list shape:
{
"name": "find_slots",
"description": "List open repair slots for one service on one day.",
"inputSchema": {
"type": "object",
"properties": {
"service": { "type": "string", "description": "Service code" },
"date": { "type": "string", "description": "Day, as YYYY-MM-DD" }
},
"required": ["service", "date"]
}
}
The second, request_booking, takes a slot, a name and an email. The server checks the slot is still free, rate-limits callers, and sends the request. None of that belongs in a prompt.
The skill owns the judgment around those tools:
---
name: bike-repair-booking
description: Book a bike repair at a workshop. Use when the user describes a bike problem and wants it fixed, or asks when a repair shop has time.
metadata:
author: example-repair-desk
version: "1.0"
---
# Book a bike repair
1. Ask what is wrong with the bike if the user has not said.
2. Match the problem to one service code in `references/services.md`.
If two codes fit, ask one short question to choose.
3. Call `find_slots` with that code and the user's preferred day.
4. Show at most three slots. Give the time, the price and how long it takes.
5. Call `request_booking` only after the user picks a slot and confirms
their name and email.
Never invent a price, a slot or a service. If `find_slots` returns
nothing, say so and offer the next day.
references/services.md maps plain words to service codes. “Chain skips, gears slip” maps to gear-tune. The agent reads that file only while booking, so it costs nothing in every other chat.
The server owns slots and bookings; the skill owns the questions around them
Prices and slots come only from find_slots, so the skill never goes stale. The service list loads only while booking.
Shipping it. There are two routes. In a ChatGPT or Codex plugin, the skill declares the server it needs in agents/openai.yaml. OpenAI: Build skills:
dependencies:
tools:
- type: "mcp"
value: "repair-desk"
description: "Find and book bike repair slots"
transport: "streamable_http"
url: "https://repair-desk.example/mcp"
Or the server serves the skill itself, through Skills over MCP. Its skills/list entry would read as below. The digest and size of SKILL.md are the real SHA-256 value and byte count of the file shown above, ending in a newline. The services.md entry stands for a reference file this post does not print:
{
"uri": "skill://bike-repair-booking/SKILL.md",
"frontmatter": {
"name": "bike-repair-booking",
"description": "Book a bike repair at a workshop. Use when the user describes a bike problem and wants it fixed, or asks when a repair shop has time.",
"metadata": { "author": "example-repair-desk", "version": "1.0" }
},
"resources": [
{
"uri": "skill://bike-repair-booking/SKILL.md",
"digest": "sha256:1ba8473cd8047b1d048d0af53c2990dcb1d59ebb344f36e3469a5988eb094c60",
"size": 795
},
{
"uri": "skill://bike-repair-booking/references/services.md",
"digest": "sha256:65723c65936889e2bc1f1a263d85b55475cd2315c3179278c637e5401f7bf122",
"size": 240
}
]
}
A host that supports the extension shows the name and description to the model. When the gears question comes in, it fetches SKILL.md, checks its size and digest, and loads it. The service list is fetched only when step 2 needs it. If the workshop edits either file, the digests change and the host asks the user to approve again.
Note what stays out of the skill. Prices and slots come only from find_slots, never from the instructions. A skill that held prices would go stale. A tool that held the workflow would fill every chat’s context with steps it rarely needs.
description well. It is the only part of a skill the model sees until it activates. Say what it does and when to use it.Related reading in this series: MCP Apps covers interactive UI returned by an MCP server, and WebMCP covers tools that live in a web page.
Aibuku runs its business directory as an MCP server at https://mcp.aibuku.com/directory/mcp, which you can add by address in Claude and ChatGPT.
MCP Apps is the official MCP extension for interactive screens inside an AI chat. A tool points to a ui:// HTML resource, and the host runs it in a sandboxed iframe.
WebMCP is a draft web standard that lets a page declare tools for a browser’s AI agent. Agents call them instead of clicking through the page. Chrome has it in an origin trial.
MCP is an open standard that connects AI apps to outside tools and data over JSON-RPC. Its 2026-07-28 version made it stateless. Here is how it works, end to end.
A customer asks AI: Who does the best bike repair in Amsterdam Oost?
An AI answer: The best bike repair in Amsterdam Oost is your business here.
Use them within 7 days. Card required. Your paid plan starts after that unless you cancel.