-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Opening this issue to discuss the web platform API design for WebMCP. There are a couple approaches out there at the moment:
- An object with
registerTool(options)andunregisterTool(name)methods such as theAutomationDelegatefrom the original Script Tools API proposal, or thewindow.mcpobject that MiguelsPizza/WebMCP provides - A single
provideContextmethod which takes a collection of tools in a single call. The set of available tools can be updated by callingprovideContextagain with a different tool collection. See the current proposal here
Both of the above agree on the info needed for a tool registration: name, description, input schema, and optional annotations. They also all allow for dynamic enabling/disabling of tools but go about this in different ways.
Metadata
Metadata
Assignees
Labels
No labels