Connect your agent to cf-webmcp.
This page is how AI agents connect to this site via WebMCP. Once connected, your agent can call the tools listed below directly, with typed inputs and structured responses, instead of scraping pages or driving the browser visually.
Connected
This page detected WebMCP support in your browser (document.modelContext, or the deprecated navigator.modelContext alias that Chrome 146 to 149 expose). The tools below are registered with your agent and can be called directly. No pairing needed.
Pairing required
Your browser does not expose WebMCP natively. A desktop MCP client can still call this page's tools through the WebMCP bridge, a small program on your computer, and the widget on this page.
- Start the bridge in a terminal and leave the terminal open while you use this site's tools:
Press Ctrl+C in that terminal to stop it. The first time you run the bridge on a computer, stop it with Ctrl+C as soon as it has started and run the same command again: the first run creates the bridge's settings innpx -y @jason.today/webmcp@0.1.13 --foreground~/.webmcpbut does not use them yet. - Add the bridge to your MCP client, then restart the client (quit it fully and open it again). The bridge must already be running when the client starts.
- Claude Desktop: in
claude_desktop_config.json(macOS:~/Library/Application Support/Claude/, Windows:%APPDATA%\Claude\), add thewebmcpentry insidemcpServers; if the file does not exist, create it with this content:{ "mcpServers": { "webmcp": { "command": "npx", "args": [ "-y", "@jason.today/webmcp@0.1.13", "--mcp" ] } } } - Cursor: the same
webmcpentry insidemcpServersin~/.cursor/mcp.json. - Claude Code:
claude mcp add --scope user webmcp -- npx -y @jason.today/webmcp@0.1.13 --mcp - Other MCP clients: add a local server that runs
npx -y @jason.today/webmcp@0.1.13 --mcp, where the client's documentation says.
- Claude Desktop: in
- Ask your MCP client for a WebMCP pairing token, or run
npx -y @jason.today/webmcp@0.1.13 --newin a second terminal. - Click the blue square in the bottom right corner of this page, paste the token and press Connect. Keep this tab open. The widget disconnects after 30 minutes without mouse or keyboard activity on this page; to reconnect, get a new token and repeat this step.
If your client shows no tools from this site, check that the terminal from step 1 is still open, then restart the MCP client. After restarting your computer, repeat step 1 before you open the client. If step 1 says the server is already running, the bridge is running in the background; restart the MCP client.
Not connected
Your browser does not expose WebMCP, and the fallback widget for desktop MCP clients is disabled on this site. You cannot pair from here right now.
Chrome ships WebMCP to users through an origin trial (from Chrome 149) on sites that send a trial token. To test without a token, turn on chrome://flags/#enable-webmcp-testing and relaunch. Cloudflare's Kitesurf agent browser also supports WebMCP. See browser support for the current state. If you are the site owner, set fallback_widget = true in webmcp.toml, pin and upload the widget (npm run update-widget, then npm run upload-widget) and redeploy to enable the desktop pairing flow.
Tools available
search_pages- Search the cf-webmcp site by keyword. Returns matching pages with their URLs.list_posts- List recent posts from the cf-webmcp feed.get_page- Fetch the readable content of a page on this site by its URL path.
About WebMCP
WebMCP is a way for websites to expose structured tools that AI agents can call. There are two runtimes behind the same name, and they reach different agents.
- The W3C draft (
webmachinelearning/webmcp): a browser API atdocument.modelContext(older builds expose the deprecatednavigator.modelContextalias). Used by browser-native agents (Chrome, Cloudflare Kitesurf, Cloudflare Browser Run lab sessions). No pairing needed; tools register automatically when the page loads. Chrome ships WebMCP to users through an origin trial (from Chrome 149) on sites that send a trial token; without one, WebMCP is behindchrome://flags/#enable-webmcp-testing. This site sends a trial token, so Chrome 149 and later have WebMCP here without the flag. See browser support for current availability. - The jasonjmcghee library (
jasonjmcghee/WebMCP): a localhost websocket bridge for desktop MCP clients (Claude Desktop, Cursor, Claude Code, Windsurf). Requires the bridge program running on your computer and a pairing token.
This site uses cf-webmcp to expose both surfaces from a single config.
Configuration hash: 635e2730
Diagnostic: what this page detected
- checking...