Hi,
I've been experimenting with WebMCP and ran into an issue with the Declarative API that I can't resolve. Forms annotated with toolname and tooldescription attributes are not discovered or listed by the Inspector extension.
The Imperative API works correctly. Tools registered via window.navigator.modelContext.provideContext() and registerTool() are visible in the Inspector extension and can be invoked as expected.
I've tried with some custom code written by me but also with the code from the french-bistro demo.
Environment- Chrome 146 (confirmed via chrome://version)
- Flag enabled: chrome://flags/#enable-webmcp-testing → Enabled, Chrome fully relaunched
- Model Context Tool Inspector extension installed
- Page served over HTTP via both http-server (Node) and Vite dev server
Thank you in advanced :)