Skip to content

Repository files navigation

WebMCP Labs

The WebMCP Labs repo contains experimental projects and samples for WebMCP, a specification developed by the Web Machine Learning Community Group.

WebMCP is a browser web API which lets you expose your web app's functionality as tools which can be run by an AI browsing agent.

In WebMCP, tools are registered either via JavaScript functions or HTML <form> elements. Tools are described by using natural language and structured schemas, designed for AI agent ingestion.

Experimental projects

Project Description
WebMCP Explorer WebMCP Explorer is a browser extension that lets you interact with web pages through WebMCP, with an autonomous agent loop and multi-provider LLM support.

Samples

Live demo Description
Event Search Interactive playground showing declarative WebMCP HTML attributes on a <form>.
Idea Board Sticky board playground showing WebMCP tool registration using the JavaScript WebMCP API, with tools that dynamically appear and disappear based on the state of the board.
Contoso Pizza Pizza-ordering site with WebMCP tools that let an agent browse the menu, create and update an order, and check out.

Test WebMCP in Edge

To test WebMCP, use an up to date version of Microsoft Edge Canary or Dev. See Become a Microsoft Edge Insider.

To enable WebMCP in Edge:

  1. Open a new window or tab.
  2. Go to about://flags/#enable-webmcp-testing.
  3. In the WebMCP for testing section, select Enabled.
  4. Restart the browser.

Then, see WebMCP Explorer to test any of our samples or your own WebMCP-enabled site.

Contributing

See CONTRIBUTING.md for CLA and general guidelines. Each project has its own setup instructions in its README.

License

MIT

About

Experimental WebMCP tools.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages