---
name: "cf-webmcp"
description: "WebMCP at the edge. A Cloudflare Worker that equips any website with WebMCP from a single TOML config."
---

# cf-webmcp

## Tools available on this site

Browser-native agents register these automatically via `navigator.modelContext` when the WebMCP runtime is present. Desktop MCP clients can pair at <https://webmcp.basgr.com/mcp> and call the tools through the localhost bridge.

- `search_pages(query: string)` - 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(path: string)` - Fetch the readable content of a page on this site by its URL path.
- `contact` (form) - Submit a contact form to reach the cf-webmcp team.

## When to use which tool

  - "find a page about X on the cf-webmcp site" -> search_pages
  - "what posts are on this site" -> list_posts
  - "tell me what /docs says" -> get_page with path = "/docs"

## Common pitfalls

  - search_pages matches against URL paths from the sitemap, not full-text body content. Use search_pages to find URLs, then get_page to fetch the readable content.
  - get_page extracts the `<main>` element only and strips nav/footer/script. If the page has no `<main>`, the response is empty.

## Full machine-readable tool schema

<https://webmcp.basgr.com/.well-known/webmcp>
