← Back to Blog

WebMCP — Making Websites Agent-Friendly

By Current Labs · March 1, 2026 · Tags: WebMCP, AI-agents, web-standards

Starting with Chrome 146, websites can expose structured tools to AI agents through the navigator.modelContext API — a standard known as WebMCP (Web Model Context Protocol). We implemented it on currentlabs.dev, and here's what we learned.

What Is WebMCP?

WebMCP lets websites declare tools that AI agents can discover and call. Think of it as an API for AI, but embedded directly in the browser page instead of requiring a separate backend endpoint.

A tool declaration looks like this:

navigator.modelContext.addTool({
  name: 'get_products',
  description: 'Get info about Current Labs products',
  inputSchema: {
    type: 'object',
    properties: {
      product: {
        type: 'string',
        enum: ['current', 'figma-plugin'],
      },
    },
  },
  execute: async (input) => {
    // Return structured data
    return { products: [...] }
  },
})

When an AI agent visits the page, it can discover available tools via navigator.modelContext and call them just like any other tool in its toolkit.

What We Exposed

On currentlabs.dev, we registered three tools:

  1. sign_up_early_adopter — Lets an agent sign up an email for launch notifications. The execute function writes directly to our Firebase backend.

  2. get_products — Returns structured data about our products (Current platform, Figma plugin) including features, pricing, status, and URLs.

  3. get_company_info — Returns company details, mission, social links, and contact information.

Discovery

For tools to be useful, agents need to find them. WebMCP supports two discovery mechanisms:

  1. Runtime discovery via navigator.modelContext — available when the agent is actively browsing the page.

  2. Static discovery via /.well-known/model-context.json — a manifest file that agents can fetch without loading the page. This is similar to how robots.txt works for crawlers.

We also added tool documentation to our llms.txt file, which serves as a human-and-AI-readable overview of the site.

Why This Matters

The web is evolving from a place where humans browse to a place where both humans and AI agents operate. WebMCP is one of the first standards that takes this seriously.

For site owners, it means you can provide AI agents with structured, reliable ways to interact with your content — instead of relying on brittle scraping or screen reading.

For AI agents, it means websites become services with well-defined interfaces, not just blobs of HTML to parse.

Implementation Tips

If you're thinking about adding WebMCP to your site:

We're excited about where WebMCP is heading, and we'll continue to expand the tools available on currentlabs.dev. If you're building with WebMCP too, reach out — we'd love to compare notes.