Skip to content

Support WebMCP to expose site tools to AI agents via the browser #10035

Description

@jazzsequence

Problem

No WebMCP tools detected on page load. AI agents operating in the browser cannot discover or invoke site actions.

Goal

Expose key site actions to browser-based AI agents via the WebMCP API.

Fix

Implement the WebMCP API by calling navigator.modelContext.provideContext() with tool definitions. Each tool requires:

  • name
  • description
  • inputSchema (JSON Schema)
  • execute callback function

References

Metadata

Metadata

Assignees

Labels

Site: JavaScriptPull requests that update Javascript codeSite: Site StructureIssue or PR with the docs app stack and/or live site

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions