AigentablyAigentably
What is WebMCP?PricingBlogChangelogDocsLog inGet Started

Getting Started

  • Introduction
  • Quick Start
  • Create Your First Tool

How-to Guides

  • Generate Tools with AI
  • Build from Templates
  • Write Tools by Hand
  • Test a Tool on Your Site
  • When Tools Don't Register
  • Understand Path Patterns
  • Read Your Analytics
  • A/B Test a Description
  • Connect Claude
  • Lighthouse Agentic Browsing Score

WebMCP Technology

  • What is WebMCP?
  • Browser Compatibility
  • Connect an LLM Client

Developer Reference

  • executeJs Reference
  • Input Schema Format
  • Path Pattern Syntax
  • Config API

Connect an LLM Client to Your Site

Once your tools are live on Aigentably, AI agents that support WebMCP can call them directly. No API key sharing, no custom plugin required. This guide covers how to test and use your tools with Chrome's native WebMCP support.

How it works

Aigentably registers your tools via document.modelContext in the browser. When an AI agent navigates to your page, it discovers these tools and can call them on behalf of the user, without scraping or guessing.

WebMCP is running as a public origin trial in Chrome, currently through Chrome 162. Sites enrolled in the trial get native support with no flag required. All other browsers are covered automatically by the Aigentably polyfill, so your tools still work. Agents just need a way to access them.

Requires Chrome 149 or higher for native support. Check your version at chrome://settings/help.

Install the Model Context Tool Inspector

Google provides an official Chrome extension for inspecting and calling WebMCP tools:

  1. Search for "Model Context Tool Inspector" in the Chrome Web Store, or follow the link from Chrome's WebMCP documentation
  2. Install the extension
  3. Navigate to any page with Aigentably tools registered

The extension shows a badge when tools are available. Click it to see all registered tools with their name, description, and input schema. You can also call tools manually by filling in parameters and executing without an AI agent, or test with natural language by entering a prompt and letting the built-in Gemini agent pick the right tool.

Test your tools manually

The fastest way to verify your setup:

  1. Navigate to your site (or http://localhost:3000/demo.html for the demo)
  2. Open the extension
  3. Select a tool from the dropdown
  4. Fill in the input arguments as JSON, e.g.:
    { "productId": "shoe-01", "quantity": 1 }
  5. Click Execute Tool. The result appears immediately.

This lets you confirm your executeJs is working correctly before involving any AI agent.

Test with natural language

The extension has a built-in Gemini agent for simulating real interactions:

  1. Add your Gemini API key in the extension settings (get one free from Google AI Studio)
  2. Type a natural language prompt, e.g. "Search for running shoes"
  3. The agent picks the right tool, generates the correct arguments, and calls it

This is the best way to verify your tool descriptions and schemas are clear enough for an agent to use correctly.

Test with Google's example agent (webmcp-extension)

For a closer look at how a real agent treats your tools, the Chrome team publishes webmcp-extension, an open-source agent that runs in Chrome's side panel. You chat with it, and it calls your site's tools the way an agent would: it asks for permission where your tools' hints say it should, and treats untrusted output with care.

It needs Chrome 155 or newer with chrome://flags/#enable-webmcp-testing turned on, and Node.js 22.18+ to build it:

  1. Clone the repository and copy .env.example to .env
  2. Set MODEL (e.g. anthropic:claude-sonnet-4-5, openai:gpt-4o, google:gemini-3.6-flash or ollama:llama3.2) and that provider's API key
  3. Run npm install, then npm run server, and npm run build in a second terminal
  4. In chrome://extensions, turn on Developer mode, click Load unpacked and pick the dist/ folder
  5. Open your site and open the side panel

No API key at hand? Switch to Settings → Model → On-device model. It runs Chrome's built-in model, needs no server and no key, and additionally requires chrome://flags/#prompt-api-tool-use.

The extension acts on each tool's hints. Tools marked read-only run without asking; every other tool asks first; tools marked consequential (a purchase, a sent form) always ask. Aigentably sets these hints for you. If a tool asks when it shouldn't, or doesn't ask when it should, change its hints in the tool editor.

Tool results longer than 8,000 characters are cut off in this extension, so a tool that returns a whole catalog in one response will show up truncated.

Native agent support

Native WebMCP support in AI agents beyond Chrome's built-in testing extension is still emerging. As the standard matures, agents like Claude, ChatGPT, and Cursor are expected to adopt it. Your tools registered through Aigentably will work automatically when new agents add support.

Follow the WebMCP spec on GitHub to track adoption progress.