Olivier Chafik
1fc5e3439e
Merge pull request #18 from modelcontextprotocol/fix/resources-requests
...
Add ReadResourceRequestSchema forwarding for resources capability
2025-11-25 00:53:45 +00:00
Olivier Chafik
807c9a1df5
Merge pull request #17 from modelcontextprotocol/fix/optional-params-initialized-notification
...
Make params optional in McpUiInitializedNotificationSchema
2025-11-25 00:53:16 +00:00
Anton Pidkuiko MacBook
a5e47b2e13
Add ReadResourceRequestSchema forwarding for resources capability
...
The resources capability was forwarding ListResourcesRequestSchema and
ListResourceTemplatesRequestSchema, but missing ReadResourceRequestSchema.
This meant clients could list resources but not actually read them.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 22:58:31 +00:00
Anton Pidkuiko MacBook
8b0c34cda9
Make params optional in McpUiInitializedNotificationSchema
...
Notifications sent without params (e.g., `{ method: "ui/notifications/initialized" }`)
were being rejected by the schema validation because params was required.
This makes params optional so notifications without explicit params are accepted.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-24 22:48:24 +00:00
Olivier Chafik
123b74090c
Merge pull request #15 from modelcontextprotocol/ochafik/simple-host-example
...
Add simple host example
2025-11-24 17:27:38 +00:00
Olivier Chafik
c800b34635
format
2025-11-24 17:27:06 +00:00
Olivier Chafik
fb6e772942
Update README.md
2025-11-24 17:15:21 +00:00
Olivier Chafik
f2fd0e596e
Update README.md
2025-11-24 17:12:19 +00:00
Olivier Chafik
b77f68dac7
Update README.md
2025-11-24 16:59:45 +00:00
Olivier Chafik
e4e7edf284
reshuffle, use -vanilla consistently
2025-11-24 16:59:41 +00:00
Olivier Chafik
24dd9691de
fix mcp sdk refs
2025-11-24 16:53:55 +00:00
Olivier Chafik
eab25b6821
serve.py -> server.ts
2025-11-24 16:52:05 +00:00
Olivier Chafik
3c438c29c4
Update example-host.ts
2025-11-24 16:26:57 +00:00
Olivier Chafik
1a4c0180eb
nit: rm unused type
2025-11-24 16:21:22 +00:00
Olivier Chafik
54a48a4a13
rename: AppRenderer
2025-11-24 16:20:45 +00:00
Olivier Chafik
d32e43aaf5
tweaks
2025-11-24 16:14:17 +00:00
Olivier Chafik
bc6458d3fb
tweaks
2025-11-24 16:12:55 +00:00
Olivier Chafik
14740aacea
fix build
2025-11-24 16:07:10 +00:00
Olivier Chafik
b738294458
fix build
2025-11-24 16:03:24 +00:00
Olivier Chafik
85816d80ce
Merge branch 'main' into ochafik/simple-host-example
2025-11-24 16:01:24 +00:00
Olivier Chafik
1f3bc52142
add simple-host example
2025-11-24 16:01:10 +00:00
Olivier Chafik
39d84a9260
Merge pull request #13 from modelcontextprotocol/ochafik/easier-notification-handlers
...
sdk: add notification handlers (App.ontoolinput, .ontoolresult, AppBridge.onsizechange...)
2025-11-24 15:45:29 +00:00
Olivier Chafik
ac3863092a
setup notification handlers in App & AppBridge
2025-11-24 14:59:58 +00:00
Olivier Chafik
535dae6a73
Merge pull request #11 from gulbaki/patch-1
...
Fix broken link in README
2025-11-24 14:37:30 +00:00
Olivier Chafik
5804a41d5c
Merge branch 'main' into patch-1
2025-11-24 14:36:59 +00:00
Olivier Chafik
0f31e0a5db
Merge pull request #9 from modelcontextprotocol/ochafik/update-packages
...
update simple-examples (add "raw" no-sdk example)
2025-11-24 14:34:10 +00:00
Olivier Chafik
aa80fcffb3
Update README.md
2025-11-24 14:33:40 +00:00
baki gul
0170c89f3e
Fix broken link in README
...
Fix broken link in README
2025-11-23 21:57:39 +03:00
ochafik
b6da14cefd
update examples
2025-11-23 03:58:51 +00:00
Olivier Chafik
3ef1d3b227
Merge pull request #3 from modelcontextprotocol/sep-hostcontext-comment-fields
...
Move HostContext field descriptions to JSDoc comments
2025-11-23 03:32:08 +00:00
Olivier Chafik
2605e41317
Merge pull request #8 from yannj-fr/main
...
fix minor typos
2025-11-23 03:28:48 +00:00
ochafik
adc73e4fa6
simplify ui build
2025-11-23 03:27:46 +00:00
ochafik
00023ba3e9
npm run prettier:fix
2025-11-23 03:15:06 +00:00
ochafik
ec306a8698
add a raw (no sdk) UI
2025-11-23 03:14:19 +00:00
ochafik
5aa7f93a79
reference parent package in simple server
2025-11-23 02:38:55 +00:00
ochafik
4298ea8f43
fix types order in main package.json
2025-11-23 02:38:10 +00:00
ochafik
d0a7c9b86a
fix package lock of example, bump mcp sdk version
2025-11-23 02:36:24 +00:00
yannj-fr
635f3247a5
fix minor typos
2025-11-22 13:08:37 +01:00
Olivier Chafik
a728372f29
Update mcp-ui PR ( #7 )
2025-11-21 17:35:54 -05:00
ochafik
a564b1f4bf
Update build.bun.ts
2025-11-21 22:05:34 +00:00
ochafik
c59732c4db
built app-bridge w/ mcp sdk as external
2025-11-21 22:00:47 +00:00
ochafik
873075e690
ditch McpUiHostInfoSchema in favour of ImplementationSchema
2025-11-21 21:54:03 +00:00
ochafik
8189a674e2
Update app-bridge.ts
2025-11-21 21:51:00 +00:00
ochafik
0754e1671b
Merge branch 'main' of https://github.com/modelcontextprotocol/ext-apps
2025-11-21 21:43:28 +00:00
ochafik
4f5cbf58e4
Create package-lock.json
2025-11-21 21:43:25 +00:00
Olivier Chafik
f53643bac7
Update README.md
2025-11-21 21:41:42 +00:00
Anton Pidkuiko
0c56400fc7
Merge pull request #6 from modelcontextprotocol/fix/mime-type-suffix-format
...
fix: use text/html+mcp mimeType format
2025-11-21 21:40:27 +00:00
Anton Pidkuiko MacBook
c65006acb4
fix: use text/html+mcp mimeType format
...
Change from text/vnd.mcp.ui+html to text/html+mcp.
Rationale:
- It's an unregistered subtype, allowed for private use
- The +suffix form indicates MCP-specific semantics (postMessage protocol)
- Content is still valid HTML and can be rendered as-such
- Following RFC 6838, +mcp could be registered as an official suffix
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 21:38:19 +00:00
Liad Yosef
f96c526e7f
docs: update UI resource format and metadata fields ( #4 )
...
* Update UI resource format and metadata fields
Create a unified object of UIResourceMetadata, as agreed in the SEP doc:
```
interface UiResourceMeta {
csp?: {
connectDomains?: string[],
resourceDomains?: string[],
},
domain?: string,
prefersBorder?: boolean,
}
```
* fix: json style
* fix: style
2025-11-21 23:13:40 +02:00
Jonathan Hefner
4e08951da6
Move HostContext field descriptions to JSDoc comments
...
Converted the HostContext interface documentation from a separate "Field
Descriptions" section to JSDoc-style comments above each field. This
improves consistency with other interfaces in the specification and
keeps documentation closer to the code.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-21 14:49:25 -06:00