@crawlbrulee/mcp 1.3.3 → 1.4.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.
Files changed (3) hide show
  1. package/README.md +30 -15
  2. package/dist/index.js +35 -17
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -95,32 +95,47 @@ html, raw html, links, images, screenshot, page metadata).
95
95
 
96
96
  `zero_data_retention` (boolean, default `false`) keeps the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. it adds 1 credit and must be enabled for your organization. `scrape_async` takes it too. see [zero data retention](https://crawlbrulee.com/docs/zero-data-retention).
97
97
 
98
- **named values with `extract.elements`.** to pull a few values from a page — prices, titles, links — give each one a name and a CSS selector, instead of reading the whole markdown. they come back in `elements` under the same names. `all: true` returns every match as a list, and `fields` reads named values inside each match. it costs no extra credits. `scrape_async` takes it too.
98
+ **named values with `extract.elements`.** to pull a few values from a page — prices, titles, links — give each one a name and a CSS selector, instead of reading the whole markdown. they come back in `elements` under the same names. `all: true` returns every match as a list, and `fields` reads named values inside each match (`:scope` reads the match itself). it costs no extra credits. `scrape_async` takes it too.
99
99
 
100
100
  ```jsonc
101
101
  {
102
- "url": "https://books.toscrape.com/",
102
+ "url": "https://shop.example.com/books/",
103
103
  "extract": {
104
104
  "elements": {
105
105
  "heading": "h1",
106
106
  "books": {
107
- "selector": "article.product_pod",
107
+ "selector": "article.book",
108
108
  "all": true,
109
109
  "fields": {
110
110
  "title": { "selector": "h3 a", "output": "attribute", "attribute": "title" },
111
- "price": ".price_color",
111
+ "price": ".price",
112
112
  },
113
113
  },
114
114
  },
115
115
  },
116
116
  }
117
117
  // → "elements": {
118
- // "heading": "All products",
119
- // "books": [{ "title": "A Light in the Attic", "price": "£51.77" }, ...]
118
+ // "heading": "Books",
119
+ // "books": [{ "title": "The Night Garden", "price": "€18.90" }, ...]
120
120
  // }
121
121
  ```
122
122
 
123
- a name with no match is `null` (or `[]` with `all: true`). limits and selector rules: see [elements](https://crawlbrulee.com/docs/scrape/elements).
123
+ a name with no match is `null` (or `[]` with `all: true`). limits and selector rules: see [targeted extraction](https://crawlbrulee.com/docs/scrape/targeted-extraction).
124
+
125
+ **your own headers and cookies with `headers` and `cookies`.** send your own HTTP headers and cookies to the site, for example an `Authorization` header or a fixed `User-Agent` that a site has on its allowlist. headers go only to the origin of `url` (or its https version, for an http url) and cookies only to its host, never to another site on a redirect. up to 10 headers and 20 cookies. a request with headers or cookies never reads from or writes to the cache, and costs the same as a normal fresh scrape. `scrape_async` takes them too.
126
+
127
+ ```jsonc
128
+ {
129
+ "url": "https://app.example.com/orders",
130
+ "headers": { "Authorization": "Bearer ...", "X-Tenant-Id": "acme" },
131
+ "cookies": [{ "name": "session_id", "value": "a1b2c3" }],
132
+ }
133
+ ```
134
+
135
+ > [!WARNING]
136
+ > header and cookie values pass through your chat with the AI, so the AI host may keep them in its history. use short-lived tokens or a test account, and never a password you can't change.
137
+
138
+ your own `User-Agent` can lower the success rate, and the response then carries the `custom_user_agent` warning. never put secrets in the `User-Agent`. the limits and which headers can't be set: see [headers and cookies](https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies).
124
139
 
125
140
  **output** — full scrape result. page metadata (title, OG tags, etc.) is returned under `metadata`. extracted `images` are returned as absolute urls — query strings are preserved, and relative `src`s are resolved against the page url. screenshots are returned as signed download urls the agent can fetch separately. in rare cases a screenshot can't be captured: when you requested other outputs too, the `screenshot` field is simply left out while the rest is still returned — but a screenshot-only call that can't deliver errors instead (`unsupported_screenshot_output`, HTTP 422, when the content type can't be screenshotted) and isn't billed. the result also carries `page_status_code` and a top-level `response_meta.usage` block:
126
141
 
@@ -150,15 +165,15 @@ a name with no match is `null` (or `[]` with `all: true`). limits and selector r
150
165
 
151
166
  alongside `response_meta.usage`, the result surfaces any non-fatal `warnings` — stable string codes an agent can switch on. an outsized page is truncated rather than refused, and the code names which part was cut:
152
167
 
153
- | code | what it means for the payload |
154
- | ------------------------- | ----------------------------------------------------------------------------------------------------- |
155
- | `screenshot_truncated` | the page was taller than the scrolling-capture height cap; the screenshot covers the top of the page. |
156
- | `links_truncated` | the page had more than 30,000 links; the `links` array is cut at the cap and is incomplete. |
157
- | `inline_images_truncated` | the page had more than 10,000 inline images; the `images` array is cut at the cap and is incomplete. |
158
- | `raw_html_truncated` | the page body exceeded 10,000,000 characters; `raw_html` is cut at a tag boundary, never mid-tag. |
159
- | `elements_truncated` | an `elements` value hit a limit; see [elements](https://crawlbrulee.com/docs/scrape/elements). |
168
+ | code | what it means for the payload |
169
+ | ------------------------- | -------------------------------------------------------------------------------------------------------------------- |
170
+ | `screenshot_truncated` | the page was taller than the scrolling-capture height cap; the screenshot covers the top of the page. |
171
+ | `links_truncated` | the page had more than 30,000 links; the `links` array is cut at the cap and is incomplete. |
172
+ | `inline_images_truncated` | the page had more than 10,000 inline images; the `images` array is cut at the cap and is incomplete. |
173
+ | `raw_html_truncated` | the page body exceeded 10,000,000 characters; `raw_html` is cut at a tag boundary, never mid-tag. |
174
+ | `elements_truncated` | an `elements` value hit a limit; see [targeted extraction](https://crawlbrulee.com/docs/scrape/targeted-extraction). |
160
175
 
161
- one more code is not about size: `screenshot_unavailable` means a screenshot was asked for, but the page came back from the http engine without one. the rest of the result is still there.
176
+ two more codes are not about size. `screenshot_unavailable` means a screenshot was asked for, but the page came back from the http engine without one; the rest of the result is still there. `custom_user_agent` means the request set its own `User-Agent` header; this can lower the success rate.
162
177
 
163
178
  and if you requested an extract that doesn't apply to the content type (e.g. `metadata` of a JSON file), the field name comes back in an `unsupported_fields` list — with the rest of the payload still returned.
164
179
 
package/dist/index.js CHANGED
@@ -121,9 +121,8 @@ function getScrapeScreenshotBeforeActionTotals(actions) {
121
121
  //#endregion
122
122
  //#region src/schemas/ScrapeCleanupSchemas.ts
123
123
  /**
124
- * Mirrors `packages/core/src/model/common/ScrapeCleanup*` in the server repo.
125
- * Kept in step by hand — this package deliberately does not import from the
126
- * monorepo. If the server's shape changes, change it here too.
124
+ * Mirrors the crawlbrulee api's own schema, kept in step by hand: when the
125
+ * api's shape changes, change it here too.
127
126
  */
128
127
  const DEFAULT_SCRAPE_CLEANUP = { ads_and_popups: true };
129
128
  const MAX_SCRAPE_EXCLUDE_SELECTORS = 100;
@@ -133,12 +132,26 @@ const Schema_ApiScrapeCleanup = z.object({
133
132
  exclude_selectors: z.array(z.string().max(500)).max(100).optional().describe("CSS selectors whose elements are removed before anything is captured. Affects the extracted content and the screenshot, never raw_html. Use it for a banner or widget that ads_and_popups does not recognise. Sending any selector here makes the request skip the cache.")
134
133
  }).strict().describe("What is removed from the page before any output is built. Applies to markdown, cleaned_html, links and images on every engine, and to the screenshot. Never applies to raw_html, which is always the page before we removed anything.");
135
134
 
135
+ //#endregion
136
+ //#region src/schemas/ScrapeCustomHeadersSchemas.ts
137
+ const MAX_SCRAPE_COOKIES = 20;
138
+ const MAX_SCRAPE_COOKIE_BYTES = 4096;
139
+ const MAX_SCRAPE_CUSTOM_HEADERS_AND_COOKIES_BYTES = 16384;
140
+ const HEADERS_AND_COOKIES_DOCS_URL = "https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies";
141
+ const HEADERS_AND_COOKIES_CHAT_NOTE = "Header and cookie values pass through the chat with the AI, so the AI host may keep them in its history. Use short-lived tokens or a test account, and never a password you can't change.";
142
+ const HEADERS_AND_COOKIES_TOOL_TEXT = `To send your own headers or cookies to the site, set \`headers\` (for example \`Authorization\`, or a fixed \`User-Agent\`) or \`cookies\`. They go only to the site in \`url\`, and such a request never uses the cache. ${HEADERS_AND_COOKIES_CHAT_NOTE} Tell the user this before they share one. See ${HEADERS_AND_COOKIES_DOCS_URL}.`;
143
+ const Schema_ScrapeCustomHeaders = z.record(z.string(), z.string());
144
+ const Schema_ScrapeCookie = z.object({
145
+ name: z.string().min(1),
146
+ value: z.string()
147
+ }).strict();
148
+ const Schema_ScrapeCookies = z.array(Schema_ScrapeCookie).max(20);
149
+
136
150
  //#endregion
137
151
  //#region src/schemas/ScrapeElementsSchemas.ts
138
152
  /**
139
- * Mirrors `packages/core/src/model/common/ScrapeElements*` in the server repo.
140
- * Kept in step by hand — this package deliberately does not import from the
141
- * monorepo. If the server's shape changes, change it here too.
153
+ * Mirrors the crawlbrulee api's own schema, kept in step by hand: when the
154
+ * api's shape changes, change it here too.
142
155
  *
143
156
  * `extract.elements`: named values read from the page by CSS selector. `fields`
144
157
  * nests, at most ELEMENT_FIELDS_DEPTH deep. The schemas are built level by level
@@ -148,7 +161,7 @@ const Schema_ApiScrapeCleanup = z.object({
148
161
  * Only the public per-string limits are checked here. The total selector count, the
149
162
  * CSS syntax and the name length are left to the api, which answers a clear 400.
150
163
  */
151
- const ELEMENTS_DOCS_URL = "https://crawlbrulee.com/docs/scrape/elements";
164
+ const ELEMENTS_DOCS_URL = "https://crawlbrulee.com/docs/scrape/targeted-extraction";
152
165
  /** How deep `fields` may nest. The innermost level has no `fields`. */
153
166
  const ELEMENT_FIELDS_DEPTH = 3;
154
167
  const MAX_ELEMENT_SELECTOR_LENGTH = 500;
@@ -194,7 +207,7 @@ function buildElementsMap(fieldsDepth, top = false) {
194
207
  output: describeTop(z.enum(ELEMENT_OUTPUT_VALUES).optional(), top, "What to return for a match: `text` (default), `html` (the outer HTML) or `attribute`"),
195
208
  attribute: describeTop(z.string().min(1).max(100).optional(), top, "The attribute to read when `output` is `attribute`. `href` and `src` come back as full urls"),
196
209
  all: describeTop(z.boolean().default(false), top, "Return every match as a list instead of the first. Defaults to false"),
197
- ...fieldsDepth > 0 ? { fields: describeTop(buildElementsMap(fieldsDepth - 1).optional(), top, "Used instead of `output`: turns each match into an object of named values, each read inside that match only. Same shape as `elements`; nests up to 3 levels") } : {}
210
+ ...fieldsDepth > 0 ? { fields: describeTop(buildElementsMap(fieldsDepth - 1).optional(), top, "Used instead of `output`: turns each match into an object of named values, each read inside that match; the selector `:scope` reads the match itself. Same shape as `elements`; nests up to 3 levels") } : {}
198
211
  }).strict().superRefine(refineSpec);
199
212
  return z.record(z.string(), z.union([Schema_ElementSelector, spec]));
200
213
  }
@@ -269,10 +282,10 @@ const Schema_ApiScrapeExtract = z.object({
269
282
  links: z.boolean().default(false).describe("Extract links found on the page, up to 30,000 per page. Beyond that the array is truncated and the response carries a `links_truncated` warning."),
270
283
  images: z.boolean().default(false).describe("Extract inline images found on the page, up to 10,000 per page. Beyond that the array is truncated and the response carries an `inline_images_truncated` warning."),
271
284
  screenshot: Schema_ApiScrapeFormatScreenshot.optional().describe("Capture a screenshot of the page"),
272
- elements: Schema_ScrapeElements.optional().describe(`Named values to read from the page by CSS selector, returned in the top-level \`elements\` field under the same names. Each value is either a selector string (the text of the first match) or an object with \`selector\`, \`output\`, \`attribute\` and \`all\`. \`fields\` (instead of \`output\`) turns each match into an object of named values read inside that match only, so a list of product cards can return a title, price and url per card. A name with no match is null, or [] with \`all: true\`. Read after cleanup; \`<script>\` and \`<style>\` tags are not part of it. An invalid selector is a 400. No extra credits, also when the page comes from cache. Limits and selector rules: ${ELEMENTS_DOCS_URL}.`)
285
+ elements: Schema_ScrapeElements.optional().describe(`Named values to read from the page by CSS selector, returned in the top-level \`elements\` field under the same names. Each value is either a selector string (the text of the first match) or an object with \`selector\`, \`output\`, \`attribute\` and \`all\`. \`fields\` (instead of \`output\`) turns each match into an object of named values read inside that match (the selector \`:scope\` reads the match itself, for example the matched element's own href), so a list of products can return a title, price and url per product. A name with no match is null, or [] with \`all: true\`. Read after cleanup; \`<script>\` and \`<style>\` tags are not part of it. An invalid selector is a 400. No extra credits, also when the page comes from cache. Limits and selector rules: ${ELEMENTS_DOCS_URL}.`)
273
286
  }).strict().describe("Which content formats to extract from the scraped page");
274
287
  const Schema_ApiScrapeLocation = z.object({
275
- locale: z.string().min(2).max(35).optional().describe("BCP-47 locale (2-35 chars, e.g. 'en-US', 'de-DE', 'pt-BR') driving Accept-Language and navigator.language"),
288
+ locale: z.string().min(2).max(35).optional().describe("BCP-47 locale (2-35 chars, e.g. 'en-US', 'de-DE', 'pt-BR'): the language to ask the site for"),
276
289
  country: z.string().regex(/^([a-zA-Z]{2}|europe)$/i, "country must be a 2-letter ISO 3166-1 alpha-2 code, 'eu', or 'europe'").optional().describe("ISO 3166-1 alpha-2 (e.g. 'us', 'de', 'br'; case-insensitive) driving the emulated browser timezone and proxy exit country. Also accepts 'eu' (random EU member state) or 'europe' (random European state incl. UK and non-EU).")
277
290
  }).strict().describe("Optional locale + country emulation for the scrape");
278
291
  const Schema_ApiScrapeRequest = z.object({
@@ -283,7 +296,9 @@ const Schema_ApiScrapeRequest = z.object({
283
296
  cleanup: Schema_ApiScrapeCleanup.prefault({ ...DEFAULT_SCRAPE_CLEANUP }),
284
297
  proxy: Schema_ApiProxyType.describe("Proxy tier to use for fetching"),
285
298
  location: Schema_ApiScrapeLocation.optional(),
286
- zero_data_retention: z.boolean().optional().describe("Keeps the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. Adds 1 credit. Must be enabled for your organization. See https://crawlbrulee.com/docs/zero-data-retention.")
299
+ zero_data_retention: z.boolean().optional().describe("Keeps the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. Adds 1 credit. Must be enabled for your organization. See https://crawlbrulee.com/docs/zero-data-retention."),
300
+ headers: Schema_ScrapeCustomHeaders.optional().describe(`Your own HTTP headers to send to the site with the request, for example \`Authorization\`, an api key, or a fixed \`User-Agent\` that the site has on an allowlist. Sent only to the origin of \`url\` (same scheme, host and port), or to its https version when \`url\` is http, and not on a redirect to another origin. Up to ${10} headers; headers and cookies together up to ${MAX_SCRAPE_CUSTOM_HEADERS_AND_COOKIES_BYTES} bytes. Values are printable ASCII, with no space or tab at either end. Headers a browser doesn't let a web page set can't be set here either (a 400 names the header). Use \`cookies\` for cookies and \`location.locale\` for the language. Never put secrets in the \`User-Agent\`. Your own \`User-Agent\` can lower the success rate, and the response carries the \`custom_user_agent\` warning. A \`Referer\` must be the full http or https url of a public page, with no username or password; it is sent the way a browser sends it after a click on that page. A request with headers or cookies never reads from or writes to the cache. On a plain http url they travel unencrypted. ${HEADERS_AND_COOKIES_CHAT_NOTE} See ${HEADERS_AND_COOKIES_DOCS_URL}.`),
301
+ cookies: Schema_ScrapeCookies.optional().describe(`Your own cookies to send to the site with the request. Each is a \`name\` and a \`value\`, sent only to the host of \`url\`. Cookies the site sets while redirecting are not kept. Up to ${20} cookies, each up to ${MAX_SCRAPE_COOKIE_BYTES} bytes (name and value), counted toward the limit on \`headers\`. A value may not hold ";" or start or end with a space. A \`__Secure-\`, \`__Host-\` or \`__Http-\` cookie needs an https url. A request with headers or cookies never reads from or writes to the cache. ${HEADERS_AND_COOKIES_CHAT_NOTE} See ${HEADERS_AND_COOKIES_DOCS_URL}.`)
287
302
  }).strict();
288
303
 
289
304
  //#endregion
@@ -424,7 +439,7 @@ const Schema_ApiScrapeSuccessResponse = z.looseObject({
424
439
  links: z.array(Schema_ApiPageLink).optional().describe("Links found on the page"),
425
440
  screenshot: Schema_ApiScreenshotResponse.optional().describe("Screenshot of the page, if requested"),
426
441
  metadata: Schema_ApiScrapeMeta.optional().describe("Extracted page metadata (title, OG tags, etc.)"),
427
- warnings: z.array(z.string()).optional().describe("Non-error notices about the scrape. Truncation codes — `screenshot_truncated` (long page exceeded the scrolling-screenshot height cap), `links_truncated` / `inline_images_truncated` (page had more links/images than the per-page extraction caps), `raw_html_truncated` (rendered HTML exceeded the per-page size budget) — mean the field is present but capped. `elements_truncated` means at least one `elements` value hit a limit: a list was cut at 1,000 matches, the request reached 10,000 matches in total, or a value did not fit the ~1 MB of values allowed per request (that value is then null, never cut short). Unavailability codes — `links_unavailable` / `inline_images_unavailable` / `metadata_unavailable` — mean that optional field could not be extracted and was omitted (null/empty) while the rest of the scrape succeeded, so an empty field carrying one of these does NOT mean the page had none. `screenshot_unavailable` means a screenshot was asked for, but the page came back from the http engine without one. Stable string codes — clients can switch on them. Warnings are stored with the result: async result fetches and cache hits carry them too, filtered to the fields the request asked for. `metadata_truncated` is retired and no longer sent: metadata has no size limit of its own now, though the code can still appear on results stored before that change."),
442
+ warnings: z.array(z.string()).optional().describe("Non-error notices about the scrape. Truncation codes — `screenshot_truncated` (long page exceeded the scrolling-screenshot height cap), `links_truncated` / `inline_images_truncated` (page had more links/images than the per-page extraction caps), `raw_html_truncated` (rendered HTML exceeded the per-page size budget) — mean the field is present but capped. `elements_truncated` means at least one `elements` value hit a limit: a list was cut at 1,000 matches, the request reached 10,000 matches in total, or a value did not fit the ~1 MB of values allowed per request (that value is then null, never cut short). Unavailability codes — `links_unavailable` / `inline_images_unavailable` / `metadata_unavailable` — mean that optional field could not be extracted and was omitted (null/empty) while the rest of the scrape succeeded, so an empty field carrying one of these does NOT mean the page had none. `screenshot_unavailable` means a screenshot was asked for, but the page came back from the http engine without one. `custom_user_agent` means the request set its own `User-Agent` header; this can lower the success rate. Stable string codes — clients can switch on them. Warnings are stored with the result: async result fetches and cache hits carry them too, filtered to the fields the request asked for. `metadata_truncated` is retired and no longer sent: metadata has no size limit of its own now, though the code can still appear on results stored before that change."),
428
443
  response_meta: Schema_ApiResponseMeta.describe("Request-level metadata. `response_meta.usage` reports what the request cost (total_credit_cost and its parts), the billed engine and the resolved proxy tier.")
429
444
  });
430
445
 
@@ -518,7 +533,7 @@ const DESCRIPTION$5 = [
518
533
  "Use this for one-shot page extraction. For full-site discovery use the `map` tool first.",
519
534
  "To pull named values such as prices, titles or links, set `extract.elements` (name → CSS selector)",
520
535
  "instead of reading the whole markdown: they come back in `elements`, for no extra credits.",
521
- "Rules: https://crawlbrulee.com/docs/scrape/elements.",
536
+ "Rules: https://crawlbrulee.com/docs/scrape/targeted-extraction.",
522
537
  "Check `page_status_code` before you trust the content: it is the HTTP status the site answered",
523
538
  "with for the final page. A page the site served is a successful result whatever its status, so a",
524
539
  "404 or 503 page comes back with its content, not as an error. A 404 means the markdown is the",
@@ -546,7 +561,9 @@ const DESCRIPTION$5 = [
546
561
  "while the rest of the scrape succeeded, so do NOT conclude the page had no links/images/metadata",
547
562
  "— re-run the scrape instead. An empty field with no such warning does mean the page had none.",
548
563
  "`screenshot_unavailable` means a screenshot was asked for, but the page came back from the http",
549
- "engine without one."
564
+ "engine without one. `custom_user_agent` means the request set its own `User-Agent` header; this",
565
+ "can lower the success rate.",
566
+ HEADERS_AND_COOKIES_TOOL_TEXT
550
567
  ].join(" ");
551
568
  function registerScrapeTool(server, getClient) {
552
569
  server.registerTool("scrape", {
@@ -592,12 +609,13 @@ const DESCRIPTION$4 = [
592
609
  "fetch prefer the synchronous `scrape` tool, which blocks and returns the page directly.",
593
610
  "Poll the job with `scrape_status` and fetch the page with `scrape_result` once done.",
594
611
  "Takes `extract.elements` like `scrape` (named values by CSS selector, no extra credits); the",
595
- "result carries them in `elements`. Rules: https://crawlbrulee.com/docs/scrape/elements.",
612
+ "result carries them in `elements`. Rules: https://crawlbrulee.com/docs/scrape/targeted-extraction.",
596
613
  "Optionally attach a per-job completion `webhook`: we deliver a single",
597
614
  "signed `scrape.complete` POST to your endpoint when the job finishes (HTTPS required",
598
615
  "in production), and echoes your opaque `webhook.metadata` back in the delivery",
599
616
  "(under `data.metadata`, alongside `data.page_status_code` (on success) and `data.response_meta.usage`).",
600
- "Set `zero_data_retention: true` to keep the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. It adds 1 credit and must be enabled for the organization (else a `zero_data_retention_not_enabled` error, not billed). See https://crawlbrulee.com/docs/zero-data-retention."
617
+ "Set `zero_data_retention: true` to keep the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. It adds 1 credit and must be enabled for the organization (else a `zero_data_retention_not_enabled` error, not billed). See https://crawlbrulee.com/docs/zero-data-retention.",
618
+ HEADERS_AND_COOKIES_TOOL_TEXT
601
619
  ].join(" ");
602
620
  function registerScrapeAsyncTool(server, getClient) {
603
621
  server.registerTool("scrape_async", {
@@ -712,7 +730,7 @@ function registerWhoamiTool(server, getClient) {
712
730
  //#endregion
713
731
  //#region src/version.ts
714
732
  const SERVER_NAME = "crawlbrulee";
715
- const SERVER_VERSION = "1.3.3";
733
+ const SERVER_VERSION = "1.4.0";
716
734
 
717
735
  //#endregion
718
736
  //#region src/server.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlbrulee/mcp",
3
- "version": "1.3.3",
3
+ "version": "1.4.0",
4
4
  "mcpName": "io.github.crawlbrulee/mcp",
5
5
  "description": "official mcp server for crawlbrulee — EU-native web scraping for AI agents & developers. native scrape and map tools for your agent.",
6
6
  "keywords": [
@@ -63,7 +63,7 @@
63
63
  "prepublishOnly": "pnpm verify"
64
64
  },
65
65
  "dependencies": {
66
- "@crawlbrulee/sdk": "^1.3.0",
66
+ "@crawlbrulee/sdk": "^1.4.0",
67
67
  "@modelcontextprotocol/sdk": "^1.32.1",
68
68
  "zod": "^4.0.0"
69
69
  },