Skip to content

Comments

Add WebMCP feature#3779

Open
beaufortfrancois wants to merge 1 commit intoweb-platform-dx:mainfrom
beaufortfrancois:main
Open

Add WebMCP feature#3779
beaufortfrancois wants to merge 1 commit intoweb-platform-dx:mainfrom
beaufortfrancois:main

Conversation

@beaufortfrancois
Copy link

FIX #3777

@github-actions github-actions bot added the feature definition Creating or defining new features or groups of features. label Feb 17, 2026
@beaufortfrancois
Copy link
Author

Tests will pass once w3c/browser-specs#2365 is resolved.

Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for filing the issue and opening this PR. I have a suggestion for the description to follow our conventions, but otherwise this is close to done.

(We can override the spec URL check if we finish before the browser-specs update lands here.)

@@ -0,0 +1,3 @@
name: WebMCP
description: Exposes structured tools for AI agents on existing websites.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am suggesting describing this in terms of entrypoints: what named thing does a developer invoke to bring about what consequence? I've ended up here:

Suggested change
description: Exposes structured tools for AI agents on existing websites.
description: The `navigator.modelContext` API registers functions to be called by tools external to the page, such as browser extensions or in-browser generative AI models.

That said, I feel like this is a little speculative, since the spec is quite incomplete and the other links given in the issue don't really explain what the API does (as opposed to tools that might call upon its registry).

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually more than that. WebMCP provides JavaScript and annotates HTML form elements so that agentic browsers know exactly how to interact with page features to support a user's experience.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, interesting! Do you know what the likely method for annotations will take? Is it an API or HTML attributes or something else?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HTML form attributes like toolname and tooldescription. See webmachinelearning/webmcp#76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature definition Creating or defining new features or groups of features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebMCP

2 participants