@browserless.io/mcp 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/build/src/tools/map.js +1 -1
- package/build/src/tools/smartscraper.js +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,9 +24,9 @@ No local install — see [Configuration](#configuration) for per-client snippets
|
|
|
24
24
|
|
|
25
25
|
| Tool | Description |
|
|
26
26
|
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
27
|
-
| `browserless_smartscraper` | Scrape
|
|
27
|
+
| `browserless_smartscraper` | Scrape a single webpage and return its content as markdown or HTML. Handles JavaScript-heavy pages and anti-bot measures automatically. For content across multiple pages, use `browserless_crawl`; to list a site's URLs, use `browserless_map`. |
|
|
28
28
|
| `browserless_search` | Search the web using Browserless and optionally scrape each result. Supports web, news, and image search with geo-targeting and time filters. |
|
|
29
|
-
| `browserless_map` | Discover and map all URLs on a website.
|
|
29
|
+
| `browserless_map` | Discover and map all URLs on a website. Scans via sitemaps and link extraction. Returns URLs with optional titles and descriptions. Useful for site audits and content discovery. |
|
|
30
30
|
| `browserless_crawl` | Crawl a website and scrape every discovered page. Supports depth control, path filtering, sitemap strategies, and configurable scrape options. Returns scraped content and metadata for each page. |
|
|
31
31
|
| `browserless_performance` | Run Lighthouse audits on any URL. Returns scores and metrics for accessibility, best practices, performance, PWA, and SEO. Optionally filter by category or supply performance budgets. |
|
|
32
32
|
| `browserless_function` | Execute custom Puppeteer JavaScript on the Browserless cloud. The function receives a `page` object and optional `context`; return `{ data, type }` to control the payload and Content-Type. |
|
package/build/src/tools/map.js
CHANGED
|
@@ -42,7 +42,7 @@ export function registerMapTool(server, config, analytics) {
|
|
|
42
42
|
defineTool(server, config, analytics, {
|
|
43
43
|
name: 'browserless_map',
|
|
44
44
|
description: 'Discover and map all URLs on a website using Browserless. ' +
|
|
45
|
-
'
|
|
45
|
+
'Scans a site via sitemaps and link extraction to find all pages. ' +
|
|
46
46
|
'Returns a list of URLs with optional titles and descriptions. ' +
|
|
47
47
|
'Use the search parameter to order results by relevance to a query. ' +
|
|
48
48
|
'Useful for site audits, content discovery, and building site maps.',
|
|
@@ -47,9 +47,10 @@ export function registerSmartScraperTool(server, config, analytics) {
|
|
|
47
47
|
const cache = new ResponseCache(config.cacheTtlMs);
|
|
48
48
|
defineTool(server, config, analytics, {
|
|
49
49
|
name: 'browserless_smartscraper',
|
|
50
|
-
description: 'Scrape
|
|
51
|
-
'
|
|
52
|
-
'
|
|
50
|
+
description: 'Scrape a SINGLE webpage and return its content as markdown or HTML. ' +
|
|
51
|
+
'Handles JavaScript-heavy pages and anti-bot measures automatically. ' +
|
|
52
|
+
'For content across MULTIPLE pages of a site, use browserless_crawl; ' +
|
|
53
|
+
"to list a site's URLs, use browserless_map.",
|
|
53
54
|
parameters: SmartScraperParamsSchema,
|
|
54
55
|
annotations: {
|
|
55
56
|
title: 'Browserless Smart Scraper',
|
package/package.json
CHANGED