# MCP tools

The tools frankensurf-mcp gives your agent, and their arguments.

`frankensurf-mcp` speaks MCP over stdio. To connect it, see
[Add to your agent](/docs/agents/).

| Tool | Arguments | Returns |
| --- | --- | --- |
| `read` | `url`, `provider`, `render`, `include_images`, `freshness`, `identity`, `allow_handoff`, `profile`, `try_harder_than`, `expect_terms`, `card_images`, `links`, `markdown`, `allow_archive`, `items`, `main_content`, `lightning`, `allow_real_browser`, `acquisition_policy` | The page and its receipt. `lightning` starts the read and two other tools at once ([Lightning mode](/docs/read/lightning/)); `allow_real_browser` lets your Chrome or Edge try a walled page ([Your real browser](/docs/blocked/real-browser/)). `main_content` returns the article without menus ([Main content](/docs/read/main-content/)). Asks for markdown by default. `try_harder_than` takes an earlier read's `trace_id` and skips every tool it used. `expect_terms` are words results should mention; a results page that mentions none is flagged `off_query`. `card_images` adds `cards` (link, title, thumbnail); `links` adds every link on the page (url, anchor text); `markdown` adds the page as markdown. `module` names a [site module](/docs/read/site-modules/) (`none` turns them off); `module_override` runs an unsaved one. |
| `read_template` | `module`, `template`, `params`, `expect_terms`, `card_images`, `acquisition_policy` | A read of a URL built from a saved module's template, shaped by that module: `items`, `next_url`, `receipt.module`. |
| `site_modules` | `action` (`list`, `get`, `put`, `enable`, `disable`, `delete`), `module_id`, `module` | Save and manage [site modules](/docs/read/site-modules/). |
| `watch_sites` | `sites`, `since`, `read_new`, `max_new_per_site`, `acquisition_policy` | New pages on many sites from their feeds and sitemaps, polled with conditional requests; `read_new` reads them too. See [Watch](/docs/watch/). |
| `batch_template` | `module`, `template`, `params_list`, `acquisition_policy` | One saved template (say, a search) for many parameter sets as one paced batch: each result's `params`, `items`, `next_url` and receipt status, without page text. |
| `discover_site_module` | `url`, `save`, `module_id`, `query` | Up to three validated module drafts from a listing page's JSON-LD, script JSON, fetched JSON or repeated HTML cards, each with its item count and sample rows. `save` saves the best. |
| `repair_site_module` | `trace_id`, `module` | Propose the next version of a module that failed on a read. Validated against the kept page and a fresh read with the old version's assertions; only the owner promotes it. |
| `map_site` | `url`, `search`, `limit`, `include_subdomains` | A site's URLs from its sitemaps and links, without reading them ([Map and crawl](/docs/crawl/)). |
| `crawl` | `url`, `limit`, `max_depth`, `include_paths`, `exclude_paths`, `entire_domain`, `acquisition_policy` | Read a section of a site as markdown, breadth first, paced per site. |
| `trace` | `trace_id` | The full record of an earlier read: tools tried, failures, timings, completeness steps. No page content. |
| `extract` | `url`, `adapter`, `include_images`, `identity`, `provider`, `freshness`, `acquisition_policy` | The page through an adapter: `html` (default), `json` or `rss`. |
| `batch` | `urls`, `provider`, `adapter`, `identity`, `include_images`, `freshness` | One result per URL. |
| `search` | `query`, `source`, `limit`, `site`, `exclude_domains`, `recency`, `region`, `vertical`, `mode`, `identity`, `provider`, `acquisition_policy` | Attributed results. Options are applied natively and filtered after; `vertical` picks news, reference, discussions, qa, code, papers or books (inferred from the query when omitted); `mode="merge"` fuses every eligible source. See [Search](/docs/search/). |
| `paginate` | `url`, `adapter`, `continuation_adapter`, `acquisition_policy` | Every page with an aggregate receipt. |
| `images` | `urls`, `identity`, `max_images`, `provider` | Checked images. |
| `identity_status` | `identity` | Health of your identities. |
| `import_evidence` | `content`, `url`, `observed_at`, `content_type`, `image_urls` | A stored capture. |
| `import_image_evidence` | `path`, `url`, `observed_at` | A stored image capture. |
| `do` | `intent`, `identity`, `action_classes`, … | A typed browser action. See [Act](/docs/act/). |
| `repair` | `trace_id`, `repair_policy` | A diagnosis of a failed extract. |

`acquisition_policy` takes any [setting](/docs/reference/settings/), for example
`{"allow_paid_fallbacks": true, "max_cost_usd": 0.05}`. JSON `null`, `false` and
`0` count as set.

MCP results leave out the raw page body. Pass
`acquisition_policy: {"prefer_markdown": false}` to `read` when you need the
HTML structure instead of markdown.

  Identities and keys are set up from the command line, never through MCP.
  `watch` is available from Python and the CLI.
