mcp-scraper 0.56.0 → 0.57.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/CHANGELOG.md +28 -0
- package/README.md +2 -2
- package/dist/bin/api-server.cjs +576 -156
- package/dist/bin/api-server.cjs.map +1 -1
- package/dist/bin/api-server.js +2 -2
- package/dist/bin/mcp-scraper-cli.cjs +1 -1
- package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
- package/dist/bin/mcp-scraper-cli.js +1 -1
- package/dist/bin/mcp-scraper-install.cjs +2 -2
- package/dist/bin/mcp-scraper-install.cjs.map +1 -1
- package/dist/bin/mcp-scraper-install.js +2 -2
- package/dist/bin/mcp-stdio-server.cjs +25 -2
- package/dist/bin/mcp-stdio-server.cjs.map +1 -1
- package/dist/bin/mcp-stdio-server.js +4 -4
- package/dist/{chunk-JEZW6N2X.js → chunk-2KL4MSZP.js} +26 -3
- package/dist/chunk-2KL4MSZP.js.map +1 -0
- package/dist/{chunk-NP66MZ5A.js → chunk-5XYBKE3X.js} +2 -2
- package/dist/{chunk-LUJYVNO7.js → chunk-HU4R6BP2.js} +2 -2
- package/dist/{chunk-LUJYVNO7.js.map → chunk-HU4R6BP2.js.map} +1 -1
- package/dist/{chunk-WO2SSENO.js → chunk-R6CO77BN.js} +3 -3
- package/dist/{chunk-WO2SSENO.js.map → chunk-R6CO77BN.js.map} +1 -1
- package/dist/chunk-VTBJVKBE.js +7 -0
- package/dist/chunk-VTBJVKBE.js.map +1 -0
- package/dist/{extract-bundle-6KYTD55T.js → extract-bundle-H7JEELY7.js} +3 -3
- package/dist/{server-SETYJPYO.js → server-DSCKFM7K.js} +459 -72
- package/dist/server-DSCKFM7K.js.map +1 -0
- package/dist/{site-extract-repository-YGNYFTNE.js → site-extract-repository-CFMSWAVL.js} +3 -3
- package/dist/{worker-DTVBN3RQ.js → worker-S2WXELUC.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-245IAJ7R.js +0 -7
- package/dist/chunk-245IAJ7R.js.map +0 -1
- package/dist/chunk-JEZW6N2X.js.map +0 -1
- package/dist/server-SETYJPYO.js.map +0 -1
- /package/dist/{chunk-NP66MZ5A.js.map → chunk-5XYBKE3X.js.map} +0 -0
- /package/dist/{extract-bundle-6KYTD55T.js.map → extract-bundle-H7JEELY7.js.map} +0 -0
- /package/dist/{site-extract-repository-YGNYFTNE.js.map → site-extract-repository-CFMSWAVL.js.map} +0 -0
- /package/dist/{worker-DTVBN3RQ.js.map → worker-S2WXELUC.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,34 @@ All notable changes to MCP Scraper are documented here. The format is based on [
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.57.1] - 2026-08-16
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Commons image hosting resolves the dedicated public store token and refuses to store anything unless the resolved store is Vercel Blob. `BLOB_READ_WRITE_TOKEN` is empty in production, so the previous release would have written a `file://` path into a public wiki entity instead of failing; hosting now fails loudly with `image_storage_unconfigured`.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- `scripts/backfill-commons-images.ts` hosts the still-reachable featured images and article media on Commons storage, rewrites the entity, and records a contribution-ledger entry per rewrite. Dry run by default; `--apply` to write. Run against production: 15 featured images and 20 media sets moved onto Commons hosting; 26 sources were already dead 404s and one SVG is rejected by policy.
|
|
16
|
+
|
|
17
|
+
## [0.57.0] - 2026-08-16
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Transparent Commons now hosts its own images. Entities stored whatever third-party URL an author supplied and the public wiki hotlinked it, so 26 of 41 live pages had a broken featured image once the source site rotated its uploads. `commons_submit_entity` downloads external images, validates them, stores them permanently, and rewrites the entity to the hosted copy, so a foreign image URL can no longer be persisted.
|
|
22
|
+
- Commons search no longer matches a term inside an unrelated word or ranks purely by recency. Searching `CIA` returned eight physical-therapy pages — matching inside `fascia`, `myofascial`, and `special` — while missing the article with CIA in its title. Terms now match on word boundaries and results are scored title > tags/keywords > description > governed claims > body before the recency tiebreak.
|
|
23
|
+
- See Also concepts resolve to pages whose slug was shortened by hand, not only to pages whose slug matches their title.
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- `commons_host_image` hosts an image from a public https URL or base64 bytes and returns the permanent Commons URL. JPEG, PNG, GIF, and WebP up to 10 MB; SVG is rejected because the wiki serves images to the public web. Identical bytes are stored once and reused. URL fetches enforce https, reject private, loopback, link-local, and carrier-grade NAT addresses, cap redirects, and verify the real bytes rather than the declared content type.
|
|
28
|
+
|
|
29
|
+
## [0.56.1] - 2026-08-16
|
|
30
|
+
|
|
31
|
+
### Fixed
|
|
32
|
+
|
|
33
|
+
- See Also concepts now link to pages written after the mention. A related link stored with `needsLink: true` is resolved against published entities by normalized title on every read, so `commons_get_entity`, `commons_search_entities`, and the public `/wiki/` projection return a real slug instead of an unresolved concept. 37 dangling mentions across 16 concepts linked immediately, and `commons_list_needs_links` now reports only concepts that genuinely have no page.
|
|
34
|
+
|
|
7
35
|
## [0.56.0] - 2026-08-16
|
|
8
36
|
|
|
9
37
|
### Fixed
|
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ Build the branded one-click bundle:
|
|
|
90
90
|
npm run build:mcpb
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
The generated bundle is written to `build/mcpb/mcp-scraper-<version>.mcpb` and copied to `public/downloads/` for the hosted download. The current public bundle is `https://mcpscraper.dev/downloads/mcp-scraper.mcpb` (`0.
|
|
93
|
+
The generated bundle is written to `build/mcpb/mcp-scraper-<version>.mcpb` and copied to `public/downloads/` for the hosted download. The current public bundle is `https://mcpscraper.dev/downloads/mcp-scraper.mcpb` (`0.57.1`, SHA-256 `ea84195321a47e7550348be6f61ed3e6a293a679c20a6cd39e77cd37870bd636`). Install it by opening or dragging it into Claude Desktop. Claude displays the `MCP Scraper` install card, icon, and API-key configuration field from the bundle manifest.
|
|
94
94
|
|
|
95
95
|
The MCPB install exposes every tool — web-intelligence plus all `browser_*` tools — through the one `mcp-scraper` server.
|
|
96
96
|
|
|
@@ -248,7 +248,7 @@ The `mcp-scraper` server (and the MCPB bundle, which runs it) exposes both secti
|
|
|
248
248
|
|
|
249
249
|
All MCP tools expose output schemas and return `structuredContent` with the IDs, URLs, CSV paths, transcripts, browser session handles, replay paths, artifacts, recipe fields, or blueprint fields needed by the next step. Browser Agent tools keep a JSON text block for older clients, but structured data is the primary contract. All tools carry MCP annotations; file-writing tools such as replay downloads and annotations state their filesystem side effects.
|
|
250
250
|
|
|
251
|
-
The canonical tool inventory is generated at `docs/mcp-tool-manifest.generated.json`. The unified server exposes
|
|
251
|
+
The canonical tool inventory is generated at `docs/mcp-tool-manifest.generated.json`. The unified server exposes 251 tools: 150 scraper, browser, workflow, billing, and connected-service tools plus 101 durable-memory tools. The scraper-side inventory includes governed Local Sourcebook tools, Transparent Commons entity, linkset, and publication tools, the searchable News Publisher and Editorial Reading Room template workflow, and 24 X-Ray tools for pixel administration, reporting, attribution journeys, campaign links, exports, and scheduled reports. Successful evidence-compiled Local Sourcebook revisions publish automatically to their canonical `localsourcebook.com` category profile and review URLs; administrator controls handle exceptional rejection or unpublishing. Release verification compares the exact local and hosted tool-name sets, not only the count.
|
|
252
252
|
|
|
253
253
|
For contract parity, stdio and MCPB memory calls invoke the matching public tool on the hosted MCP Scraper `/mcp` endpoint. The hosted aggregate runtime owns MCP Scraper-specific billing, scheduling, credential, and in-process cutover policy; its internal `/memory/mcp-call` bridge is a fallback to the standalone memory service, not the public stdio execution path. Direct `mcp-memory` OAuth and stdio clients continue to use `memory.mcpscraper.dev` and must be verified as a separate dependent release surface.
|
|
254
254
|
|