Skip to content

Conversation

@ochafik
Copy link
Collaborator

@ochafik ochafik commented Dec 16, 2025

Summary

Updates the Server Behavior example in the apps spec to use the registerAppTool helper instead of raw server.registerTool.

  • Shows proper import from @modelcontextprotocol/ext-apps/server
  • Uses RESOURCE_URI_META_KEY constant instead of literal string
  • Keeps server.registerTool for non-UI case (which doesn't need the helper)

🤖 Generated with Claude Code

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 16, 2025

Open in StackBlitz

npm i https://pkg.pr.new/modelcontextprotocol/ext-apps/@modelcontextprotocol/ext-apps@167

commit: a16858a

@ochafik ochafik marked this pull request as draft December 16, 2025 21:51
@ochafik ochafik mentioned this pull request Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants