chore: bump ext-apps to 1.1.0 (#485)

* chore: bump ext-apps to 1.1.0

Features:
- registerAppResource now returns the registered resource (#370)
- Accept UIResourceMeta in both resources/list and resources/read (#410)
- callServerTool throws helpful error when called with a string (#449)
- Add double-connect guard to prevent protocol message handling errors (#450)

Bug fixes:
- Only ignore messages that lack jsonrpc 2.0 in message-transport (#448)
- Align basic-host dark mode styles (#438)

Spec:
- Change Host <> Sandbox communication protocol to SHOULD (#435)
- Clarify UIResourceMeta in both list and read responses (#410)

* fix(debug-server): add missing npm package config (main, bin, types, exports)

Align debug-server package.json with all other server examples:
- main: dist/server.js (was server.ts)
- types: dist/server.d.ts
- bin: mcp-server-debug -> dist/index.js
- exports with types
- files: only dist (remove source server.ts)
This commit is contained in:
Olivier Chafik 2026-02-22 01:18:47 +00:00 • committed by GitHub
commit 5bbf277882
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
{
"name": "@modelcontextprotocol/server-debug",
"version": "1.0.1",
"version": "1.1.0",
"type": "module",
"description": "Debug MCP App Server for testing all SDK capabilities",
"repository": {
@ -9,11 +9,20 @@
"directory": "examples/debug-server"
},
"license": "MIT",
"main": "server.ts",
"main": "dist/server.js",
"types": "dist/server.d.ts",
"bin": {
"mcp-server-debug": "dist/index.js"
},
"files": [
"server.ts",
"dist"
],
"exports": {
".": {
"types": "./dist/server.d.ts",
"default": "./dist/server.js"
}
},
"scripts": {
"build": "tsc --noEmit && cross-env INPUT=mcp-app.html vite build && tsc -p tsconfig.server.json && bun build server.ts --outdir dist --target node && bun build main.ts --outfile dist/index.js --target node --external \"./server.js\" --banner \"#!/usr/bin/env node\"",
"watch": "cross-env INPUT=mcp-app.html vite build --watch",