From df9acab7f4ea1f71d2c5e21ad91b6dd4d979dcc5 Mon Sep 17 00:00:00 2001 From: MrScraper <261125219+ai-mrscraper@users.noreply.github.com> Date: Thu, 22 Oct 2026 09:07:47 +0700 Subject: [PATCH] Release 0.3.1: scopes in the mrscraper skill --- CHANGELOG.md | 9 +++++++++ package-lock.json | 4 ++-- package.json | 2 +- skills/mrscraper/SKILL.md | 6 +++--- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61b6e47..880f26b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to the MrScraper OpenCode plugin are documented here. The project follows [Semantic Versioning](https://semver.org/). +## 0.3.1 - 2026-10-22 + +- Updated the `mrscraper` skill for the hosted server's three scopes: + `scraperAPI` needs `scrape:write`, `webSearch` needs `scrape:read`, and + `status` needs `account:read`. If `scraperAPI` returns 403 + `insufficient_scope`, run `opencode mcp auth mrscraper` again so OpenCode + requests `scrape:write`. Skills are identical to the MrScraper Claude plugin + 0.2.2. + ## 0.3.0 - 2026-10-14 - Updated the skills for the hosted MCP server's new tools: `scraperAPI` diff --git a/package-lock.json b/package-lock.json index 2343985..752617b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mrscraper/opencode", - "version": "0.2.0", + "version": "0.3.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mrscraper/opencode", - "version": "0.2.0", + "version": "0.3.1", "license": "MIT", "devDependencies": { "@opencode-ai/plugin": "1.19.0", diff --git a/package.json b/package.json index ec0bd5c..76a316c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mrscraper/opencode", - "version": "0.3.0", + "version": "0.3.1", "description": "MrScraper for OpenCode: the hosted MrScraper MCP server plus fetch-first skills for web scraping, structured data extraction, and Google search.", "type": "module", "main": "index.ts", diff --git a/skills/mrscraper/SKILL.md b/skills/mrscraper/SKILL.md index fad4bbf..5a8f233 100644 --- a/skills/mrscraper/SKILL.md +++ b/skills/mrscraper/SKILL.md @@ -47,9 +47,9 @@ Never place credentials in tool arguments, print them, write them into project artifacts, or manually reproduce the OAuth exchange. Do not configure an API-key or bearer-token fallback from these skills. -The connection uses two scopes: scrape:read for scraperAPI and webSearch, and -account:read for status. A tool called without its scope returns 403 -insufficient_scope; reauthorize the connection so the client requests it. +The connection uses three scopes: scrape:write for scraperAPI, scrape:read for +webSearch, and account:read for status. A tool called without its scope returns +403 insufficient_scope; reauthorize the connection so the client requests it. Verify end-to-end access with status, which reads the account without retrieving a page: