Experimental Test Environment
AnyWayData WebMCP
This page exposes the AnyWayData generation workflows directly through document.modelContext so
browser-integrated agents can discover and call in-browser tools. It is an ongoing WebMCP experiment rather
than a documented product surface.
Preparing in-browser WebMCP tool registration...
When To Use This
- You want an AI platform to work with AnyWayData inside the browser, not through a separate stdio MCP server.
- You want the active page to expose tools directly from the current browser session.
- You are experimenting with browser-native WebMCP support and accept that the ecosystem is still early.
How To Use It
- Open this page in a browser or agent runtime that supports WebMCP through
document.modelContext.
- The page registers the AnyWayData tools directly in-browser as soon as it loads.
- Ask your browser-integrated agent to discover and invoke the tools available on this page.
- Use the AnyWayData tools for generation, amend, and option-schema discovery workflows.
Reference material:
webmachinelearning/webmcp,
the
Chrome WebMCP documentation.
How It Works
webmcp.html registers AnyWayData tools on page load through document.modelContext.registerTool(...).
- A browser-integrated AI runtime discovers those tools from the active page.
- Tool execution runs in the browser against the current page session.
- This experiment is separate from the stdio MCP server flow.
Platform Setup Notes
- Do not configure this page as a stdio MCP server or through an
mcpServers host config block.
- If your AI platform asks for a page or origin to inspect, use this page in the same browser session.
- Chrome currently treats WebMCP as experimental and documents local testing support through
chrome://flags/#enable-webmcp-testing.
- Chrome also documents origin-trial support and the Model Context Tool Inspector extension for manual inspection.
Run This Experiment
Local development: run pnpm install then pnpm run dev:web, and open
http://127.0.0.1:4173/webmcp.html.
Docker preview: build with docker build -f apps/web/Dockerfile -t anywaydata-web ., run
docker run --rm -p 8080:80 anywaydata-web, then open http://localhost:8080/webmcp.html.
In deployed test environments this page can be exposed as /webmcp without being linked from the
main app navigation.