From 4ac30ffc4acc0e4696998988a2765f12bb4a02e8 Mon Sep 17 00:00:00 2001 From: MrScraper <261125219+ai-mrscraper@users.noreply.github.com> Date: Tue, 24 Nov 2026 10:26:54 +0700 Subject: [PATCH 1/2] Update the skills for MCP server 0.6.0 (0.6.0) MrScraper MCP server 0.6.0 gives every client the same tools with exactly the inputs on the API documentation pages (Pray's parameter spec of 2026-11-24). - mrscraper-fetch lists each page tool's inputs with the documented descriptions and says which are sent only when set (left out, MrScraper's default applies) and which defaults are always sent: maxAge 0, getScreenshot screenshot full, scrapeJson html true and screenshot false. New: maxAge, scrapeHtml screenshot, getScreenshot viewport sizes, scrapeJson waitForSelector/warmStart/blockResources; timeout 1 to 330. Inputs the docs don't list are gone, as are scrapeMarkdown html and getScreenshot html/markdown/blockResources. - Retry guidance: browserRendering for JavaScript pages, waitForSelector, timeout, warmStart, geoCode for country-specific pages, maxRetries to bound retries, maxAge for a cached copy. - Page results are always saved to the dashboard Result tab; saveResult is not an input. - mrscraper-serp: country and numResults are sent only when set. - mrscraper (router): MCP 0.6.0 tool descriptions, response shapes, stale tool lists. - README tool descriptions and version pin example, CHANGELOG 0.6.0, package version 0.6.0. --- CHANGELOG.md | 27 ++++++++ README.md | 8 +-- package-lock.json | 4 +- package.json | 2 +- skills/mrscraper-fetch/SKILL.md | 118 +++++++++++++++++++------------- skills/mrscraper-serp/SKILL.md | 18 +++-- skills/mrscraper/SKILL.md | 26 ++++--- 7 files changed, 132 insertions(+), 71 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0165b4d..948cfce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,33 @@ All notable changes to the MrScraper OpenCode plugin are documented here. The project follows [Semantic Versioning](https://semver.org/). +## 0.6.0 - 2026-11-24 + +- Updated the skills for MrScraper MCP server 0.6.0, whose tools take exactly + the inputs on MrScraper's API documentation pages. The `mrscraper-fetch` + skill lists each page tool's inputs with the documented descriptions. An + input left out is not sent, so MrScraper's own default applies; left out, + `browserRendering` lets MrScraper switch to a browser when a request is + blocked. The `mrscraper-serp` skill says the same for `country` and + `numResults`. +- New inputs: `maxAge` on the four page tools reuses a cached result (0, a + fresh scrape, is sent when it is left out); `screenshot` on `scrapeHtml` + adds a screenshot; `getScreenshot` also takes a viewport size such as + `1280x800`; and `scrapeJson` takes `waitForSelector`, `warmStart`, and + `blockResources` and returns the page HTML unless `html` is false. `timeout` + goes up to 330 seconds. +- `scrapeMarkdown` returns only Markdown and `getScreenshot` only the + screenshot: their `html` and `markdown` inputs are gone, and + `getScreenshot` no longer takes `blockResources`. Every other input that + the API documentation doesn't list is gone too. `saveResult` is no longer + an input: the four page tools always save their result to the MrScraper + dashboard. +- The retry guidance uses `browserRendering`, `waitForSelector`, `timeout`, + `warmStart`, `geoCode`, `maxRetries`, and `maxAge`. +- The README shows the MCP 0.6.0 tool descriptions. +- Skills are identical to the MrScraper Claude 0.5.0, Cursor 0.6.0, Grok + 0.5.0, and Antigravity 0.5.0 plugins. + ## 0.5.0 - 2026-11-20 - Updated the skills, README, and publishing checklist for MrScraper MCP diff --git a/README.md b/README.md index 22f9965..8766e5a 100644 --- a/README.md +++ b/README.md @@ -152,9 +152,9 @@ OpenCode 2 reaches MCP tools through Code Mode by default. | Tool | Description | | --- | --- | | `status` | Return the raw account status API response without summarizing, redacting body fields, or adding calculated fields. | -| `scrapeHtml` | Retrieve the raw HTML of a page. Browser rendering is optional. | -| `scrapeMarkdown` | Retrieve a page as Markdown. Including HTML also enables browser rendering and returns both outputs as JSON. | -| `getScreenshot` | Capture a base64 screenshot of the full page or top viewport. Browser rendering is always enabled. | +| `scrapeHtml` | Retrieve the raw HTML of a page. Browser rendering and a screenshot are optional. | +| `scrapeMarkdown` | Retrieve a page as Markdown. Browser rendering is optional. | +| `getScreenshot` | Capture a base64 PNG screenshot of the full page, the top viewport, or a custom viewport size. Browser rendering is always enabled. | | `scrapeBrand` | Extract a website's colors, typography, logos, and social links as JSON. | | `scrapeJson` | Extract structured JSON from a page using a natural-language prompt. Append Json Schema: and a JSON schema to shape the output. | | `webSearch` | Search the web and return ranked results with titles, URLs, descriptions, and sources. | @@ -198,7 +198,7 @@ To control updates, pin a version and change it when you upgrade: ```json { - "plugin": ["@mrscraper/opencode@0.5.0"] + "plugin": ["@mrscraper/opencode@0.6.0"] } ``` diff --git a/package-lock.json b/package-lock.json index a192271..940126e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mrscraper/opencode", - "version": "0.5.0", + "version": "0.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mrscraper/opencode", - "version": "0.5.0", + "version": "0.6.0", "license": "MIT", "devDependencies": { "@opencode-ai/plugin": "1.19.0", diff --git a/package.json b/package.json index c586a00..e557e2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mrscraper/opencode", - "version": "0.5.0", + "version": "0.6.0", "description": "MrScraper for OpenCode: the hosted MrScraper MCP server plus fetch-first skills for web scraping, structured data extraction, and web search.", "type": "module", "main": "index.ts", diff --git a/skills/mrscraper-fetch/SKILL.md b/skills/mrscraper-fetch/SKILL.md index 6717113..cdd21e4 100644 --- a/skills/mrscraper-fetch/SKILL.md +++ b/skills/mrscraper-fetch/SKILL.md @@ -1,7 +1,7 @@ --- name: mrscraper-fetch description: | - Retrieve a known public URL with MrScraper MCP as HTML, Markdown, a screenshot, brand data, or structured JSON. Use for reading, summarizing, archiving, or extracting a page; supports browser rendering, page and proxy countries, selector waits, and retry limits. Use mrscraper-serp when no URL is known. + Retrieve a known public URL with MrScraper MCP as HTML, Markdown, a screenshot, brand data, or structured JSON. Use for reading, summarizing, archiving, or extracting a page; supports browser rendering, page countries, selector waits, cached results, and retry limits. Use mrscraper-serp when no URL is known. --- # Retrieve Page Content with MrScraper MCP @@ -37,10 +37,10 @@ and apply the same extractor to every saved response. | Tool | Description | data in the response | | --- | --- | --- | -| scrapeHtml | Retrieve the raw HTML of a page. Browser rendering is optional. | HTML text. | -| scrapeMarkdown | Retrieve a page as Markdown. Including HTML also enables browser rendering and returns both outputs as JSON. | Markdown text; with html set to true, an object with html and markdown. | -| getScreenshot | Capture a base64 screenshot of the full page or top viewport. Browser rendering is always enabled. | An object with screenshot and the requested html and markdown. | -| scrapeJson | Extract structured JSON from a page using a natural-language prompt. Append Json Schema: and a JSON schema to shape the output. | The extracted data in data.data, with run metadata. | +| scrapeHtml | Retrieve the raw HTML of a page. Browser rendering and a screenshot are optional. | HTML text; with screenshot set, an object with html and screenshot. | +| scrapeMarkdown | Retrieve a page as Markdown. Browser rendering is optional. | Markdown text. | +| getScreenshot | Capture a base64 PNG screenshot of the full page, the top viewport, or a custom viewport size. Browser rendering is always enabled. | An object with screenshot. | +| scrapeJson | Extract structured JSON from a page using a natural-language prompt. Append Json Schema: and a JSON schema to shape the output. | The extracted data in data.data, the page HTML in data.html unless html is false, and data.screenshot when screenshot is true. | | scrapeBrand | Extract a website's colors, typography, logos, and social links as JSON. | The brand in data.data.brand. | The client may namespace the tool names; select the tool from the MrScraper MCP @@ -57,27 +57,26 @@ scrapeHtml rendered in a browser, waiting for an element: { "url": "https://example.com", "browserRendering": true, - "waitForSelector": "body" + "waitForSelector": "#results" } -scrapeMarkdown with the page HTML as well: +scrapeHtml with a screenshot of the first viewport as well: { "url": "https://example.com", - "html": true + "screenshot": "top" } -getScreenshot of the top viewport, with Markdown instead of HTML: +getScreenshot of a 1280 by 800 pixel viewport; without screenshot, it captures +the full page: { "url": "https://example.com", - "screenshot": "top", - "html": false, - "markdown": true + "screenshot": "1280x800" } -A screenshot is base64 image data that can be large. Request it only when the -user needs an image, and save it to a file rather than reading it into the +A screenshot is a base64 PNG that can be large. Request it only when the user +needs an image, and save it to a file rather than reading it into the conversation. scrapeJson with a prompt; append Json Schema: and a JSON schema to shape the @@ -90,7 +89,9 @@ output: The prompt describes the data to extract from the loaded page; it does not navigate, click, or sign in. Without a prompt, scrapeJson extracts all data as -completely as possible. Long prompts are sent in a request body automatically. +completely as possible. The response also carries the page HTML; set html to +false when only the extracted data is needed. Long prompts are sent in a +request body automatically. scrapeBrand takes only the URL: @@ -103,35 +104,49 @@ has no usable brand data. ## Step 3 — Choose Page-Loading Options -scrapeHtml, scrapeMarkdown, getScreenshot, and scrapeJson share the page -inputs. scrapeBrand accepts only url. +Each tool accepts only these inputs, and url is the only required one: -| MCP input | Tools | Default | Description | +| Tool | Inputs | +| --- | --- | +| scrapeHtml | url, browserRendering, timeout, warmStart, blockResources, waitForSelector, geoCode, maxAge, maxRetries, screenshot | +| scrapeMarkdown | url, browserRendering, timeout, geoCode, warmStart, blockResources, waitForSelector, maxAge, maxRetries | +| getScreenshot | url, screenshot, timeout, geoCode, waitForSelector, maxAge, maxRetries | +| scrapeJson | url, prompt, html, screenshot, browserRendering, waitForSelector, warmStart, blockResources, timeout, geoCode, maxAge, maxRetries | +| scrapeBrand | url | + +Set only the inputs the outcome needs. An input marked Not sent reaches +MrScraper only when you set it; left out, MrScraper's own default applies, as +its description says. A value in the Left out column is sent when you leave +that input out. + +| MCP input | Tools | Left out | Description | | --- | --- | --- | --- | -| url | All | Required | Absolute HTTP or HTTPS URL of the page to process. | -| timeout | HTML, Markdown, screenshot, JSON | 300 | Page load timeout in seconds, from 1 to 300. The HTTP request allows 30 additional seconds. | -| geoCode | HTML, Markdown, screenshot, JSON | "us" | Two-letter country code to load the page from, sent in lowercase. | -| proxyCountry | HTML, Markdown, screenshot, JSON | "us" | Two-letter country code of the proxy server, sent in lowercase. | -| super | HTML, Markdown, screenshot, JSON | false | Whether to route the request through real devices. | -| waitUntil | HTML, Markdown, screenshot, JSON | "domcontentloaded" | Navigation completion event to wait for: domcontentloaded, load, networkidle0, or networkidle2. | -| proxy | HTML, Markdown, screenshot, JSON | Omitted | Custom proxy URL used to load the page. | -| maxRetries | HTML, Markdown, screenshot, JSON | Omitted | Maximum number of retries, as a nonnegative integer. Omit this parameter for no limit. | -| saveResult | HTML, Markdown, screenshot, JSON | false | Whether to save the result to the dashboard Result tab. | -| blockResources | HTML, Markdown, screenshot | false | Whether to block images, fonts, and stylesheets while loading the page. | -| waitForSelector | HTML, Markdown, screenshot | Omitted | Wait for the page to contain the specified CSS selector before returning the result. | -| returnCookie | HTML, Markdown, screenshot | false | Whether to include browser session cookies in the response. | -| browserRendering | HTML, Markdown, JSON | false | Whether to render the page in a browser before returning the result. | -| warmStart | HTML, Markdown | false | Whether to enable warm start for more reliable scraping, at the cost of additional latency. | -| html | Markdown, JSON | false | Whether to include the page HTML in the response. | -| html | Screenshot | true | Whether to include the page HTML in the response. | -| markdown | Screenshot | false | Whether to include the page Markdown in the response. | -| screenshot | Screenshot | "full" | Screenshot area to capture: full for the entire page or top for the top viewport. | -| screenshot | JSON | false | Whether to include a base64 screenshot in the response. | -| prompt | JSON | "Extract all data as complete as possible." | Instructions describing the data to extract. Append Json Schema: and a JSON schema to shape the output. | +| url | All | Required | URL of the page to scrape. Must include the protocol (https://). | +| browserRendering | HTML, Markdown, JSON | Not sent | Controls whether the page is loaded in a browser. Leave it out to load the page without a browser first and switch to a browser automatically if the request is blocked. Set true to always load the page in a browser, which JavaScript-heavy sites, SPAs, and pages that load content dynamically need. Set false to never use a browser. | +| timeout | HTML, Markdown, screenshot, JSON | Not sent | Maximum seconds to wait for the scrape before the request times out, from 1 to 330. Increase for slow or complex pages. Defaults to 300. | +| warmStart | HTML, Markdown, JSON | Not sent | Opens the site's home page first to warm the session before loading the target URL. Useful for sites that expect a normal browsing session before deeper pages. | +| blockResources | HTML, Markdown, JSON | Not sent | Blocks images, fonts, and stylesheets from loading. Speeds up scraping and reduces bandwidth usage. | +| waitForSelector | HTML, Markdown, screenshot, JSON | Not sent | Waits until a specific CSS selector or text appears on the page before returning it, such as #results. Up to 500 characters. Useful for content that loads asynchronously after the initial page load. | +| geoCode | HTML, Markdown, screenshot, JSON | Not sent | Two-letter country code to load the page from, such as us or gb. Defaults to the United States. | +| maxAge | HTML, Markdown, screenshot, JSON | 0 | Serves a cached result of the same request when it is newer than this age, in milliseconds, such as 86400000 for 1 day. Up to 604800000 (7 days). 0, the default, always scrapes fresh. A cached result costs the same tokens as the original scrape. | +| maxRetries | HTML, Markdown, screenshot, JSON | Not sent | Maximum number of retries for the request. Omit for no limit. | +| screenshot | HTML | Not sent | Also captures a screenshot of the rendered page as a base64-encoded PNG: full captures the entire scroll height, top captures the first viewport, and x sets the viewport size in pixels with an optional - percent, such as 1280x800 or 1920x1080-75. Width and height range from 100 to 3840, zoom from 25 to 300. Setting it forces browser rendering. Leave it out for no screenshot. | +| screenshot | Screenshot | "full" | Screenshot area: full captures the entire scroll height (the default), top captures the first viewport, and x sets the viewport size in pixels with an optional - percent, such as 1280x800 or 1920x1080-75. Width and height range from 100 to 3840, zoom from 25 to 300. The image is a base64-encoded PNG. | +| screenshot | JSON | false | Captures a screenshot of the rendered page as a base64-encoded image. Useful for verifying what the scraper actually saw. Off by default. | +| html | JSON | true | Returns the raw HTML of the scraped page in the response. On by default; set false to leave it out. | +| prompt | JSON | Not sent | Description of the data shape you want back, for example fields like title, price, and rating. The prompt only parses the scraped content; it cannot instruct the scraper itself. To shape the output with a JSON schema, append it to the prompt as a Json Schema: section. Defaults to "Extract all data as complete as possible." | In the Tools column, HTML is scrapeHtml, Markdown is scrapeMarkdown, screenshot is getScreenshot, and JSON is scrapeJson. +Leaving browserRendering out is not the same as setting it to false. Country +codes are sent in lowercase. getScreenshot always loads the page in a browser. +A page tool waits for the response up to 30 seconds longer than timeout, or 330 +seconds when timeout is left out. + +scrapeHtml, scrapeMarkdown, getScreenshot, and scrapeJson always save the +result to the MrScraper dashboard Result tab; no input turns this off. + Authentication is handled by the MCP client's OAuth 2.1 connection and is never a tool input. @@ -142,16 +157,27 @@ headers["x-status-code"] (the target page's status) before using data. If the response fails, is blocked, incomplete, or missing dynamic content: 1. Inspect status_code, error, headers["x-status-code"], and the content. -2. Change one input at a time: set browserRendering, wait for a later - waitUntil event, or add waitForSelector for content that loads late. -3. Set geoCode or proxyCountry only when evidence shows that the page differs - by country. Set super or warmStart when routing or a cold start may be the - problem. +2. Change one input at a time: set browserRendering to true for + JavaScript-heavy pages, add waitForSelector for content that loads late, or + raise timeout for slow pages. +3. Set warmStart when the site expects a normal browsing session before deeper + pages. Set geoCode only when evidence shows that the page differs by + country. 4. Stop after a usable response unless the user requests a comparison. -Do not repeat an identical request. Treat waitForSelector as a CSS selector, -not a duration. Omitting maxRetries means no retry limit; set a small number -when the user wants to bound retries. +Do not retry with an identical request. Treat waitForSelector as a CSS +selector or text, not a duration. Omitting maxRetries means no retry limit; +set a small number when the user wants to bound retries. + +When a recent copy is good enough, set maxAge to reuse a cached result of the +same request instead of scraping the page again, here up to one day old: + + { + "url": "https://example.com", + "maxAge": 86400000 + } + +A cached result costs the same tokens as the original scrape. ## Step 5 — Deliver the Result diff --git a/skills/mrscraper-serp/SKILL.md b/skills/mrscraper-serp/SKILL.md index 8a2aad9..6cd5191 100644 --- a/skills/mrscraper-serp/SKILL.md +++ b/skills/mrscraper-serp/SKILL.md @@ -24,15 +24,15 @@ location, or date: ## Step 2 — Set the Country and Result Count Set country to a two-letter country code when results must come from one -country. It defaults to us: +country. Left out, the search runs from the United States: { "query": "running shoes", "country": "id" } -The search returns 10 results by default. Ask for more, up to 100, only when -the user needs broader coverage: +The search returns 10 results unless numResults asks for more, up to 100. Set +numResults only when the user needs broader coverage: { "query": "site:example.com documentation", @@ -42,11 +42,15 @@ the user needs broader coverage: ### Parameters -| MCP input | Default | Description | +| MCP input | Left out | Description | | --- | --- | --- | -| query | Required | Search query text, trimmed before sending, containing 1 to 1000 characters. | -| country | "us" | Two-letter country code to search from, sent in lowercase. | -| numResults | 10 | Number of search results to request, as an integer from 10 to 100. Fewer results may be returned. | +| query | Required | The search query, from 1 to 1000 characters. | +| country | Not sent | Two-letter country code to run the search from. Defaults to the United States. | +| numResults | Not sent | How many results to return, from 10 to 100. The search may return fewer. Defaults to 10. | + +query is trimmed before sending, and country is sent in lowercase. An input +marked Not sent reaches MrScraper only when you set it; left out, MrScraper's +own default applies. A search waits up to 120 seconds. Authentication is handled by the MCP client's OAuth 2.1 connection and is never a tool input. diff --git a/skills/mrscraper/SKILL.md b/skills/mrscraper/SKILL.md index 85ea926..43fbb3d 100644 --- a/skills/mrscraper/SKILL.md +++ b/skills/mrscraper/SKILL.md @@ -15,9 +15,9 @@ MrScraper MCP has six scraping and search tools, plus account status: | Tool | Description | | --- | --- | | status | Return the raw account status API response without summarizing, redacting body fields, or adding calculated fields. | -| scrapeHtml | Retrieve the raw HTML of a page. Browser rendering is optional. | -| scrapeMarkdown | Retrieve a page as Markdown. Including HTML also enables browser rendering and returns both outputs as JSON. | -| getScreenshot | Capture a base64 screenshot of the full page or top viewport. Browser rendering is always enabled. | +| scrapeHtml | Retrieve the raw HTML of a page. Browser rendering and a screenshot are optional. | +| scrapeMarkdown | Retrieve a page as Markdown. Browser rendering is optional. | +| getScreenshot | Capture a base64 PNG screenshot of the full page, the top viewport, or a custom viewport size. Browser rendering is always enabled. | | scrapeBrand | Extract a website's colors, typography, logos, and social links as JSON. | | scrapeJson | Extract structured JSON from a page using a natural-language prompt. Append Json Schema: and a JSON schema to shape the output. | | webSearch | Search the web and return ranked results with titles, URLs, descriptions, and sources. | @@ -78,7 +78,7 @@ MrScraper. If it fails, report the error and do not claim setup is complete. | User outcome | MCP tool or skill | | --- | --- | | Read, summarize, or preserve a known public page | [mrscraper-fetch](../mrscraper-fetch/SKILL.md) with scrapeMarkdown, or scrapeHtml when the page structure matters | -| Capture what a page looks like | [mrscraper-fetch](../mrscraper-fetch/SKILL.md) with getScreenshot | +| Capture what a page looks like | [mrscraper-fetch](../mrscraper-fetch/SKILL.md) with getScreenshot, or scrapeHtml with a screenshot when the HTML is needed too | | Extract specific fields from a page as JSON | [mrscraper-fetch](../mrscraper-fetch/SKILL.md) with scrapeJson, or local extraction from retrieved content | | Get a website's colors, typography, logos, and social links | [mrscraper-fetch](../mrscraper-fetch/SKILL.md) with scrapeBrand | | Discover relevant pages from a web search query | [mrscraper-serp](../mrscraper-serp/SKILL.md) with webSearch, then retrieve selected pages | @@ -124,8 +124,9 @@ formatted JSON text block: "headers": {} } -data holds the API response body: HTML or Markdown text from scrapeHtml and -scrapeMarkdown, and JSON from the other tools. Prefer structuredContent when +data holds the API response body: HTML text from scrapeHtml, or an object with +html and screenshot when a screenshot is requested; Markdown text from +scrapeMarkdown; and JSON from the other tools. Prefer structuredContent when available. An HTTP or network failure adds error and sets the MCP result's isError flag; a network failure has status_code null. Invalid inputs are rejected before any request is sent. Check those signals before trusting data. @@ -133,16 +134,17 @@ Credential-bearing response headers are removed. MrScraper tools do not accept output paths. When the user requests an artifact, wait for a successful tool result, select the requested value, and save it with -the environment's local file-writing capability. A screenshot is base64 image -data in data.screenshot; decode it before saving an image. +the environment's local file-writing capability. A screenshot is a base64 PNG +in data.screenshot; decode it before saving an image. Save substantial intermediate artifacts under the current project's .mrscraper directory unless the user specifies another location. This project artifact directory is unrelated to MCP connection credentials. Keep artifacts out of version control unless the user asks to commit them. -saveResult defaults to false. Set it to true only when the user wants a -scraping result kept in the MrScraper dashboard Result tab. +scrapeHtml, scrapeMarkdown, getScreenshot, and scrapeJson always save their +result to the MrScraper dashboard Result tab; no input turns this off. +scrapeBrand, webSearch, and status save nothing. ## Step 5 — Review Account Usage @@ -190,7 +192,9 @@ account usage, not the progress of a request. - Input-contract error: inspect the tool schema and omit inputs that do not apply. scraperAPI was replaced by scrapeHtml, scrapeMarkdown, and getScreenshot; brand and JSON extraction are scrapeBrand and scrapeJson; and - webSearch takes query, country, and numResults. + webSearch takes query, country, and numResults. mrscraper-fetch lists the + inputs of each page tool. A client that offers other inputs has cached an + earlier tool list; start a new session or reconnect. - Page incomplete or missing dynamic content: load mrscraper-fetch and revise page-loading inputs deliberately. - Search results weak: load mrscraper-serp and refine the query, country, or From 6500492ad4a86ba38da556a1fce698d2499bd5ac Mon Sep 17 00:00:00 2001 From: MrScraper <261125219+ai-mrscraper@users.noreply.github.com> Date: Tue, 24 Nov 2026 11:32:53 +0700 Subject: [PATCH 2/2] mrscraper skill: describe stale tool lists in current terms - Setup and troubleshooting tell the agent to reconnect when the client lists other tools or inputs, without naming tools from earlier server versions. --- skills/mrscraper/SKILL.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/skills/mrscraper/SKILL.md b/skills/mrscraper/SKILL.md index 43fbb3d..2a3bf9b 100644 --- a/skills/mrscraper/SKILL.md +++ b/skills/mrscraper/SKILL.md @@ -41,9 +41,8 @@ the managed Streamable HTTP endpoint: A self-managed deployment may expose the same tools over Streamable HTTP or stdio. Connection setup belongs to the MCP client. After setup or reconnection, list the available tools and confirm all seven names before claiming the -integration is ready. A client that still lists scraperAPI has cached the -previous tool list; start a new session or reconnect so it loads the current -tools. +integration is ready. If the client lists other tools, start a new session or +reconnect so it loads the current tools. ## Step 2 — Authenticate @@ -190,11 +189,9 @@ account usage, not the progress of a request. - 403 insufficient_scope: reauthorize so the client requests scrape:read for scraping and search, or account:read for status. - Input-contract error: inspect the tool schema and omit inputs that do not - apply. scraperAPI was replaced by scrapeHtml, scrapeMarkdown, and - getScreenshot; brand and JSON extraction are scrapeBrand and scrapeJson; and - webSearch takes query, country, and numResults. mrscraper-fetch lists the - inputs of each page tool. A client that offers other inputs has cached an - earlier tool list; start a new session or reconnect. + apply. mrscraper-fetch lists the inputs of each page tool, and webSearch + takes query, country, and numResults. If the client's schemas show other + inputs, start a new session or reconnect so it loads the current tools. - Page incomplete or missing dynamic content: load mrscraper-fetch and revise page-loading inputs deliberately. - Search results weak: load mrscraper-serp and refine the query, country, or