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:
- Search for "Model Context Tool Inspector" in the Chrome Web Store, or follow the link from Chrome's WebMCP documentation
- Install the extension
- 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:
- Navigate to your site (or
http://localhost:3000/demo.htmlfor the demo) - Open the extension
- Select a tool from the dropdown
- Fill in the input arguments as JSON, e.g.:
{ "productId": "shoe-01", "quantity": 1 } - 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:
- Add your Gemini API key in the extension settings (get one free from Google AI Studio)
- Type a natural language prompt, e.g. "Search for running shoes"
- 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:
- Clone the repository and copy
.env.exampleto.env - Set
MODEL(e.g.anthropic:claude-sonnet-4-5,openai:gpt-4o,google:gemini-3.6-flashorollama:llama3.2) and that provider's API key - Run
npm install, thennpm run server, andnpm run buildin a second terminal - In
chrome://extensions, turn on Developer mode, click Load unpacked and pick thedist/folder - 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.