@crawlbrulee/mcp 0.12.0 → 0.13.0
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/dist/index.js +6 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ the official [mcp](https://modelcontextprotocol.io) server for the [crawlbrulee]
|
|
|
13
13
|
this readme covers the mcp server itself — its tools and how to wire it into a host. for how the api behaves — endpoints, parameters, and error semantics — please see our
|
|
14
14
|
[api docs](https://crawlbrulee.com/docs).
|
|
15
15
|
|
|
16
|
-
> **status:** v0.
|
|
16
|
+
> **status:** v0.13.0 (beta). tool surface is stabilizing — expect minor changes between 0.x releases.
|
|
17
17
|
|
|
18
18
|
**get a free api key** → [dashboard.crawlbrulee.com](https://dashboard.crawlbrulee.com)
|
|
19
19
|
|
|
@@ -91,7 +91,7 @@ html, raw html, links, images, screenshot, page metadata).
|
|
|
91
91
|
"response_meta": {
|
|
92
92
|
"usage": {
|
|
93
93
|
"credits": 1,
|
|
94
|
-
"engine": "
|
|
94
|
+
"engine": "http", // "http" | "browser" | "screenshot" | "cache"
|
|
95
95
|
"proxy": "basic", // resolved tier actually used: "basic" | "advanced" (never "auto")
|
|
96
96
|
"screenshot_slices": 0, // 1 when the screenshot-split add-on was billed, otherwise 0
|
|
97
97
|
},
|
package/dist/index.js
CHANGED
|
@@ -235,7 +235,7 @@ const DISCOVERY_CAP_REASONS = [
|
|
|
235
235
|
/** Map usage has no screenshot-slice add-on. */
|
|
236
236
|
const Schema_ApiMapUsageMeta = z.object({
|
|
237
237
|
credits: z.number().int().nonnegative().describe("Credits charged for this map request"),
|
|
238
|
-
engine: z.enum(["
|
|
238
|
+
engine: z.enum(["http", "cache"]).describe("The map billing engine: `http` for fresh discovery or `cache` for a cached result"),
|
|
239
239
|
proxy: z.enum(API_RESOLVED_PROXY_TIER_VALUES$1).describe("The proxy tier the request actually ran on (resolved value — never `auto`)")
|
|
240
240
|
});
|
|
241
241
|
const Schema_ApiMapLinkItem = z.object({ url: z.string().describe("The discovered URL") });
|
|
@@ -332,11 +332,11 @@ const API_RESOLVED_PROXY_TIER_VALUES = ["basic", "advanced"];
|
|
|
332
332
|
const Schema_ApiUsageMeta = z.object({
|
|
333
333
|
credits: z.number().int().nonnegative().describe("Credits actually charged for this request. Always equals the engine base × the proxy multiplier, plus screenshot_slices. A cache hit has engine \"cache\" (base 0), so it costs only the parts we still had to compute — a newly produced screenshot-slice variant — and is otherwise free."),
|
|
334
334
|
engine: z.enum([
|
|
335
|
-
"
|
|
335
|
+
"http",
|
|
336
336
|
"browser",
|
|
337
337
|
"screenshot",
|
|
338
338
|
"cache"
|
|
339
|
-
]).describe("The engine base the request was billed at — \"
|
|
339
|
+
]).describe("The engine base the request was billed at — \"http\" (1 credit), \"browser\" (3), \"screenshot\" (5), or \"cache\" (0, the result was served from cache) — before the proxy multiplier. Reflects what was delivered, never what was requested."),
|
|
340
340
|
proxy: z.enum(API_RESOLVED_PROXY_TIER_VALUES).describe("The proxy tier the request actually ran on (resolved value — never `auto`; `auto` is resolved server-side to `basic` or `advanced`)."),
|
|
341
341
|
screenshot_slices: z.number().int().nonnegative().describe("Whether this request was billed the screenshot-split add-on: 1 when the screenshot was split on this request (a flat +1 credit outside the proxy multiplier, regardless of how many slices the split produced), else 0 — including a cache hit that reused an already-existing slice variant.")
|
|
342
342
|
});
|
|
@@ -389,9 +389,8 @@ const DESCRIPTION$5 = [
|
|
|
389
389
|
"Use this for one-shot page extraction. For full-site discovery use the `map` tool first.",
|
|
390
390
|
"Screenshot URLs in the response are signed download links — the agent can fetch them when needed.",
|
|
391
391
|
"The response also carries `response_meta.usage` = { credits, engine, proxy (the resolved tier —",
|
|
392
|
-
"never `auto`), screenshot_slices }. `engine` is the billed engine (`
|
|
393
|
-
"`cache`); a cache hit is represented by `engine: \"cache\"
|
|
394
|
-
"so you can see what the request cost.",
|
|
392
|
+
"never `auto`), screenshot_slices }. `engine` is the billed engine (`http`, `browser`, `screenshot`,",
|
|
393
|
+
"`cache`); a cache hit is represented by `engine: \"cache\"`, so you can see what the request cost.",
|
|
395
394
|
"Extraction is capped per page: 30,000 links, 10,000 inline images and 10,000,000 characters of",
|
|
396
395
|
"HTML. A page past a cap is truncated rather than refused, and the response `warnings` array names",
|
|
397
396
|
"which one (`links_truncated`, `inline_images_truncated`, `raw_html_truncated`) — so treat that",
|
|
@@ -554,7 +553,7 @@ function registerWhoamiTool(server, getClient) {
|
|
|
554
553
|
//#endregion
|
|
555
554
|
//#region src/version.ts
|
|
556
555
|
const SERVER_NAME = "crawlbrulee";
|
|
557
|
-
const SERVER_VERSION = "0.
|
|
556
|
+
const SERVER_VERSION = "0.13.0";
|
|
558
557
|
|
|
559
558
|
//#endregion
|
|
560
559
|
//#region src/server.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlbrulee/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Official MCP server for the crawlbrulee API — scrape and map URLs from MCP-aware agents (Claude Code, Codex, Cursor).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"crawlbrulee",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"prepublishOnly": "pnpm verify"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@crawlbrulee/sdk": "^0.
|
|
58
|
+
"@crawlbrulee/sdk": "^0.16.0",
|
|
59
59
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
60
60
|
"zod": "^4.0.0"
|
|
61
61
|
},
|