Skip to content

Add WebMCP examples - #408

Draft
chrisdavidmills wants to merge 3 commits into
mdn:mainfrom
chrisdavidmills:webmcp-examples
Draft

chrisdavidmills wants to merge 3 commits into
mdn:mainfrom
chrisdavidmills:webmcp-examples

Conversation

@chrisdavidmills

Copy link
Copy Markdown
Contributor

This PR adds a couple of WebMCP examples to the repo. Both are based on a simple HTML form app that generates a character for a fictional roleplaying game:

  • One registers the tool declaratively, using the WebMCP HTML attributes.
  • One registers the tool imperatively, using the WebMCP API.

@chrisdavidmills
chrisdavidmills marked this pull request as draft November 28, 2026 13:35

This branch has not been deployed

No deployments
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.

1 participant