@hunt-labs/bytekit-mcp 0.3.19 → 0.3.20
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 +11 -0
- package/dist/index.js +4 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,17 @@ today, see [README.md](./README.md), which remains the authoritative usage guide
|
|
|
10
10
|
|
|
11
11
|
## [Unreleased]
|
|
12
12
|
|
|
13
|
+
## [0.3.20] - 2026-10-23
|
|
14
|
+
|
|
15
|
+
### Security
|
|
16
|
+
|
|
17
|
+
- Bumped `@modelcontextprotocol/sdk` from `1.31.0` to `1.32.1` and capped each tool call's
|
|
18
|
+
arguments at 1,000 array elements and object keys (GHSA-46jr-4wx8-v453). Before, one oversized
|
|
19
|
+
call over HTTP could exhaust the server's memory; a call over the cap now returns an error result
|
|
20
|
+
without reaching the ByteKit API. No tool takes anywhere near that many, so no valid call changes.
|
|
21
|
+
The SDK bump also fixes three advisories in SDK code ByteKit does not use (GHSA-22jm-h49p-29qw,
|
|
22
|
+
GHSA-rvq5-wwqv-78pq, GHSA-6prh-2h8m-c8cw). No tool, schema or transport change.
|
|
23
|
+
|
|
13
24
|
## [0.3.19] - 2026-10-15
|
|
14
25
|
|
|
15
26
|
### Changed
|
package/dist/index.js
CHANGED
|
@@ -42,10 +42,13 @@ export const serverInfo = {
|
|
|
42
42
|
version: packageVersion,
|
|
43
43
|
};
|
|
44
44
|
export function createServer(client) {
|
|
45
|
+
// GHSA-46jr-4wx8-v453: without a cap, one tool call's arguments (array elements plus
|
|
46
|
+
// object keys) can exhaust the hosted gateway's heap. No tool needs more than a few
|
|
47
|
+
// dozen, so 1,000 leaves wide headroom.
|
|
45
48
|
const server = new McpServer({
|
|
46
49
|
name: serverInfo.name,
|
|
47
50
|
version: serverInfo.version,
|
|
48
|
-
});
|
|
51
|
+
}, { maxToolInputElements: 1_000 });
|
|
49
52
|
// Register tools
|
|
50
53
|
scrapeUrlTool(server, client);
|
|
51
54
|
webSearchTool(server, client);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hunt-labs/bytekit-mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.20",
|
|
4
4
|
"description": "ByteKit MCP server — exposes ByteKit web-data tools (scrape, screenshot, search, docs) to AI agents over the Model Context Protocol, hosted or as a local stdio server.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"url": "https://bytekit.com/contact"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@modelcontextprotocol/sdk": "1.
|
|
57
|
+
"@modelcontextprotocol/sdk": "1.32.1",
|
|
58
58
|
"zod": "^3.23.6"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|