Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the MIME type for the MCP Apps adapter from text/html+mcp to text/html;profile=mcp to align with the updated ext-apps specification.
Key Changes
- Updated MIME type constant from
text/html+mcptotext/html;profile=mcp - Updated all test expectations to match the new MIME type
- Updated documentation to reflect the new MIME type format
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| sdks/typescript/server/src/utils.ts | Updated return value and comment in getAdapterMimeType() function to use new MIME type |
| sdks/typescript/server/src/types.ts | Updated MimeType type definition to include new MIME type variant |
| sdks/typescript/server/src/adapters/mcp-apps/README.md | Updated documentation to reference new MIME type |
| sdks/typescript/server/src/tests/adapters/adapter-integration.test.ts | Updated test descriptions and assertions to expect new MIME type |
| docs/src/guide/supported-hosts.md | Updated adapter documentation to show new MIME type |
| docs/src/guide/mcp-apps.md | Updated MIME type reference in guide |
The changes are comprehensive, consistent, and correctly implement the MIME type update across all relevant code, tests, and documentation. All test assertions have been properly updated to match the new MIME type format, ensuring the change will be validated by the test suite.
…er/v5.16.3) (2025-12-18) ### Bug Fixes * **client:** use type-only imports for @modelcontextprotocol/sdk types ([#157](#157)) ([d84cb3e](d84cb3e)) * trigger TS release ([e28d1f6](e28d1f6)) * update adapter to latest MCP Apps spec ([#163](#163)) ([e342034](e342034)) * update MCP Apps adapter mimetype ([#162](#162)) ([c91e533](c91e533)) * update ui/message to pass an array ([#167](#167)) ([80cf222](80cf222))
|
🎉 This PR is included in version 5.16.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…/v5.17.1...client/v5.18.0-alpha.1) (2025-12-18) ### Bug Fixes * **client:** use type-only imports for @modelcontextprotocol/sdk types ([#157](#157)) ([d84cb3e](d84cb3e)) * revert externalUrl adapter for compatibility ([#159](#159)) ([3c5289a](3c5289a)) * trigger TS release ([e28d1f6](e28d1f6)) * update adapter to latest MCP Apps spec ([#163](#163)) ([e342034](e342034)) * update MCP Apps adapter mimetype ([#162](#162)) ([c91e533](c91e533)) * update ui/message to pass an array ([#167](#167)) ([80cf222](80cf222)) ### Features * **client:** expose MCP request handlers and AppBridge ref ([3cf3c37](3cf3c37)) * **client:** make Client optional with onReadResource alternative ([fece80e](fece80e)) * use ext-apps branch with setter-based MCP forwarding handlers ([a312e52](a312e52))
|
🎉 This PR is included in version 5.18.0-alpha.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…nt/v5.17.2) (2025-12-20) ### Bug Fixes * **client:** use type-only imports for @modelcontextprotocol/sdk types ([#157](#157)) ([d84cb3e](d84cb3e)) * revert externalUrl adapter for compatibility ([#159](#159)) ([3c5289a](3c5289a)) * trigger TS release ([e28d1f6](e28d1f6)) * update adapter to latest MCP Apps spec ([#163](#163)) ([e342034](e342034)) * update MCP Apps adapter mimetype ([#162](#162)) ([c91e533](c91e533)) * update ui/message to pass an array ([#167](#167)) ([80cf222](80cf222))
|
🎉 This PR is included in version 5.17.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…ver/v5.16.2...server/v5.16.3) (2025-12-18) ### Bug Fixes * **client:** use type-only imports for @modelcontextprotocol/sdk types ([#157](MCP-UI-Org/mcp-ui#157)) ([4ece399](MCP-UI-Org/mcp-ui@4ece399)) * trigger TS release ([fc8a053](MCP-UI-Org/mcp-ui@fc8a053)) * update adapter to latest MCP Apps spec ([#163](MCP-UI-Org/mcp-ui#163)) ([819cf59](MCP-UI-Org/mcp-ui@819cf59)) * update MCP Apps adapter mimetype ([#162](MCP-UI-Org/mcp-ui#162)) ([e99b306](MCP-UI-Org/mcp-ui@e99b306)) * update ui/message to pass an array ([#167](MCP-UI-Org/mcp-ui#167)) ([ba8afa7](MCP-UI-Org/mcp-ui@ba8afa7))
…ent/v5.17.1...client/v5.17.2) (2025-12-20) ### Bug Fixes * **client:** use type-only imports for @modelcontextprotocol/sdk types ([#157](MCP-UI-Org/mcp-ui#157)) ([4ece399](MCP-UI-Org/mcp-ui@4ece399)) * revert externalUrl adapter for compatibility ([#159](MCP-UI-Org/mcp-ui#159)) ([7a855e2](MCP-UI-Org/mcp-ui@7a855e2)) * trigger TS release ([fc8a053](MCP-UI-Org/mcp-ui@fc8a053)) * update adapter to latest MCP Apps spec ([#163](MCP-UI-Org/mcp-ui#163)) ([819cf59](MCP-UI-Org/mcp-ui@819cf59)) * update MCP Apps adapter mimetype ([#162](MCP-UI-Org/mcp-ui#162)) ([e99b306](MCP-UI-Org/mcp-ui@e99b306)) * update ui/message to pass an array ([#167](MCP-UI-Org/mcp-ui#167)) ([ba8afa7](MCP-UI-Org/mcp-ui@ba8afa7))
The mimetype has changed from
text/html+mcptotext/html;profile=mcp.See modelcontextprotocol/ext-apps#59