Skip to content

Add MCP Apps to NativeAOT coverage#1711

Open
lntutor wants to merge 1 commit into
modelcontextprotocol:mainfrom
lntutor:test/apps-native-aot-1659
Open

Add MCP Apps to NativeAOT coverage#1711
lntutor wants to merge 1 commit into
modelcontextprotocol:mainfrom
lntutor:test/apps-native-aot-1659

Conversation

@lntutor

@lntutor lntutor commented Jul 19, 2026

Copy link
Copy Markdown

Summary

  • reference and root ModelContextProtocol.Extensions.Apps in the NativeAOT test application
  • register an [McpAppUi] tool through WithTools<T>().WithMcpApps() so the extension cannot be trimmed as unused
  • verify _meta.ui survives a client/server ListToolsAsync() round trip before invoking the tool

Testing

  • LIBRARY_PATH=/opt/homebrew/opt/openssl@3/lib:/opt/homebrew/opt/brotli/lib make test-aot CONFIGURATION=Release
  • published NativeAOT executable completed with Success!

Fixes #1659

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.

Add NativeAOT publish coverage for ModelContextProtocol.Extensions.Apps

1 participant