MCP Shipyard
← Rules catalog

MCP app widget resource MIME type: text/html;profile=mcp-app, not skybridge

Serve widget templates as text/html;profile=mcp-app. The old text/html+skybridge value only warns; other or missing types fail.

majorapps.mime-typeChatGPT, Claude

Serve each widget template with mimeType: "text/html;profile=mcp-app". The rule apps.mime-type is a major finding for ChatGPT and Claude. A legacy text/html+skybridge value is reported as a warning; a different or missing type fails.

What you see

  • A scan reports apps.mime-type with the URI: mimeType is the legacy "text/html+skybridge"; docs now name "text/html;profile=mcp-app". or mimeType is "text/html", expected "text/html;profile=mcp-app".
  • It only runs when a widget template could be read; see apps.template-missing otherwise.

Why it happens

The older Apps SDK used text/html+skybridge. Copied sample code and older tutorials still use it, and plain text/html is the natural default.

The MCP Apps specification says mimeType "MUST be text/html;profile=mcp-app", with other types reserved for future extensions. OpenAI's UI guide says: "Expose the component as an MCP resource with the MCP Apps UI MIME type (text/html;profile=mcp-app)." How a host treats the legacy value is not verified here; the rule's own fix text says the current docs only name the profile type.

Check it yourself

curl -s -X POST https://mcp.acme.example/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"jsonrpc":"2.0","id":1,"method":"resources/read","params":{"uri":"ui://widget/orders.html"}}' \
 | jq -r '.result.contents[0].mimeType'

Also check resources/list, which may carry its own mimeType for the same URI. The scan uses the value from the read, and falls back to the list.

Fix

Register the resource with the profile type, in both the listing and the read result:

server.registerResource("orders-widget", "ui://widget/orders.html",
  { mimeType: "text/html;profile=mcp-app" },
  async () => ({ contents: [{ uri: "ui://widget/orders.html", mimeType: "text/html;profile=mcp-app", text: html }] }));

Keep the URI scheme ui:// (apps.template-uri-scheme). Do not change the URI just to change the type unless you intend to bust caches; OpenAI's guide treats the URI as a cache key.

Verify

The curl command prints text/html;profile=mcp-app, then re-scan.

Which clients care

ChatGPT and Claude, per the rule.

Source

OpenAI UI guide: https://developers.openai.com/plugins/build/chatgpt-ui

MCP Apps specification: https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/2026-01-26/apps.mdx

Run a free scan at https://mcpshipyard.com/scan to check every rule at once.

Check every rule at once

A free scan runs this check and the other 152 against your live URL.

Scan a server